From ef8a3bc6fd2c9abdf6625d8aabc44382c6456cb4 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 20 Nov 2024 19:48:59 +0100 Subject: Add crafting recipe --- .../recipes/transportation/coloured_chest.json | 32 ++++++++++++++++++++++ .../funny-teleporters/recipe/coloured_chest.json | 19 +++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 src/main/generated/data/funny-teleporters/advancement/recipes/transportation/coloured_chest.json create mode 100644 src/main/generated/data/funny-teleporters/recipe/coloured_chest.json (limited to 'src/main/generated/data') diff --git a/src/main/generated/data/funny-teleporters/advancement/recipes/transportation/coloured_chest.json b/src/main/generated/data/funny-teleporters/advancement/recipes/transportation/coloured_chest.json new file mode 100644 index 0000000..ad3385a --- /dev/null +++ b/src/main/generated/data/funny-teleporters/advancement/recipes/transportation/coloured_chest.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_ender_chest": { + "conditions": { + "items": [ + { + "items": "minecraft:ender_chest" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "funny-teleporters:coloured_chest" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_ender_chest" + ] + ], + "rewards": { + "recipes": [ + "funny-teleporters:coloured_chest" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/funny-teleporters/recipe/coloured_chest.json b/src/main/generated/data/funny-teleporters/recipe/coloured_chest.json new file mode 100644 index 0000000..a12c67e --- /dev/null +++ b/src/main/generated/data/funny-teleporters/recipe/coloured_chest.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "minecraft:ender_chest" + }, + { + "item": "minecraft:redstone_block" + }, + { + "item": "minecraft:hopper" + } + ], + "result": { + "count": 1, + "id": "funny-teleporters:coloured_chest" + } +} \ No newline at end of file -- cgit