diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/basalt_dust.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/basalt_dust.json new file mode 100644 index 000000000..0c8126c35 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/basalt_dust.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/dust/basalt_dust" + ] + }, + "criteria": { + "has_coal_small_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:coal_small_dust"] + } + ] + } + }, + "has_obsidian_small_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:obsidian_small_dust"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/dust/basalt_dust" + } + } + }, + "requirements": [ + [ + "has_coal_small_dust", + "has_obsidian_small_dust", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/gunpowder.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/gunpowder.json new file mode 100644 index 000000000..70637dc73 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/gunpowder.json @@ -0,0 +1,54 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/dust/gunpowder" + ] + }, + "criteria": { + "has_charcoal_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:charcoal_dust"] + } + ] + } + }, + "has_sulfur_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:sulfur_dust"] + } + ] + } + }, + "has_saltpeter_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:saltpeter_dust"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/dust/gunpowder" + } + } + }, + "requirements": [ + [ + "has_charcoal_dust", + "has_sulfur_dust", + "has_saltpeter_dust", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/marble_dust.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/marble_dust.json new file mode 100644 index 000000000..273f8c81b --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/dust/marble_dust.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/dust/marble_dust" + ] + }, + "criteria": { + "has_diorite_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:diorite_dust"] + } + ] + } + }, + "has_obsidian_small_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:obsidian_small_dust"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/dust/marble_dust" + } + } + }, + "requirements": [ + [ + "has_diorite_dust", + "has_obsidian_small_dust", + "has_the_recipe" + ] + ] +} \ No newline at end of file