diff --git a/src/main/resources/data/techreborn/advancements/recipes/assembling_machine/elytra.json b/src/main/resources/data/techreborn/advancements/recipes/assembling_machine/elytra.json new file mode 100644 index 000000000..62be68138 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/assembling_machine/elytra.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:assembling_machine/elytra" + ] + }, + "criteria": { + "has_end_rod": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:end_rod"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:assembling_machine/elytra" + } + } + }, + "requirements": [ + [ + "has_end_rod", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/assembling_machine/elytra.json b/src/main/resources/data/techreborn/recipes/assembling_machine/elytra.json new file mode 100644 index 000000000..0731a32ac --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/assembling_machine/elytra.json @@ -0,0 +1,20 @@ +{ + "type": "techreborn:assembling_machine", + "power": 20, + "time": 500, + "ingredients": [ + { + "item": "minecraft:phantom_membrane", + "count": 16 + }, + { + "item": "minecraft:end_rod", + "count": 3 + } + ], + "results": [ + { + "item": "minecraft:elytra" + } + ] +} \ No newline at end of file