From f592eb05d0cc1af0d5447c5e6a2ddcdd9d8f82a9 Mon Sep 17 00:00:00 2001 From: lilypuree <000abczyx@snu.ac.kr> Date: Mon, 29 Jan 2024 18:27:45 +0900 Subject: [PATCH] Added chain recipe back --- CHANGELOG.md | 3 ++ .../recipes/building_blocks/chain.json | 35 +++++++++++++++++++ .../data/decorative_blocks/recipes/chain.json | 20 +++++++++++ gradle.properties | 2 +- 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 Common/src/main/resources/data/decorative_blocks/advancements/recipes/building_blocks/chain.json create mode 100644 Common/src/main/resources/data/decorative_blocks/recipes/chain.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 6876ff3..231b64c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Minecraft 1.20.1 Changelog +### 4.1.2 +- Added chain recipe back + ### 4.1.1 - Cherry blocks properly tagged - Bonfires causes soul fire to entities when soul fire'd mod is installed diff --git a/Common/src/main/resources/data/decorative_blocks/advancements/recipes/building_blocks/chain.json b/Common/src/main/resources/data/decorative_blocks/advancements/recipes/building_blocks/chain.json new file mode 100644 index 0000000..cec303d --- /dev/null +++ b/Common/src/main/resources/data/decorative_blocks/advancements/recipes/building_blocks/chain.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_ingot": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "decorative_blocks:chain" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_ingot", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "decorative_blocks:chain" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/Common/src/main/resources/data/decorative_blocks/recipes/chain.json b/Common/src/main/resources/data/decorative_blocks/recipes/chain.json new file mode 100644 index 0000000..a92a041 --- /dev/null +++ b/Common/src/main/resources/data/decorative_blocks/recipes/chain.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "ii", + "##" + ], + "key": { + "#": { + "item": "minecraft:iron_nugget" + }, + "i": { + "item": "minecraft:iron_ingot" + } + }, + "result": { + "item": "decorative_blocks:chain", + "count": 4 + } +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index b122ccd..5cb4eb2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false # Project -version=4.1.1 +version=4.1.2 group=lilypuree # Mod options