From 7493da454371beb3c8078eb2841c5c00ad6fd65f Mon Sep 17 00:00:00 2001 From: grimmauld Date: Tue, 18 Aug 2020 23:01:10 +0200 Subject: [PATCH] fix quark wart loop --- .../contraptions/encased_shaft.json | 18 ------------- .../recipes/crushing/nether_wart_block.json | 11 +++++++- .../crushing/nether_wart_block_quark.json | 26 +++++++++++++++++++ 3 files changed, 36 insertions(+), 19 deletions(-) delete mode 100644 src/main/resources/data/create/recipes/crafting_shaped/contraptions/encased_shaft.json create mode 100644 src/main/resources/data/create/recipes/crushing/nether_wart_block_quark.json diff --git a/src/main/resources/data/create/recipes/crafting_shaped/contraptions/encased_shaft.json b/src/main/resources/data/create/recipes/crafting_shaped/contraptions/encased_shaft.json deleted file mode 100644 index 3175e91b2..000000000 --- a/src/main/resources/data/create/recipes/crafting_shaped/contraptions/encased_shaft.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "crafting_shaped", - "pattern": [ - "CS" - ], - "key": { - "C": { - "item": "create:andesite_casing" - }, - "S": { - "item": "create:shaft" - } - }, - "result": { - "item": "create:encased_shaft", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/create/recipes/crushing/nether_wart_block.json b/src/main/resources/data/create/recipes/crushing/nether_wart_block.json index e91740324..f348868e8 100644 --- a/src/main/resources/data/create/recipes/crushing/nether_wart_block.json +++ b/src/main/resources/data/create/recipes/crushing/nether_wart_block.json @@ -1,10 +1,19 @@ { + "conditions": [ + { + "type": "forge:not", + "value": { + "type": "forge:mod_loaded", + "modid": "quark" + } + } + ], "type": "create:crushing", "ingredients": [ { "item": "minecraft:nether_wart_block" } - ], + ], "results": [ { "item": "minecraft:nether_wart", diff --git a/src/main/resources/data/create/recipes/crushing/nether_wart_block_quark.json b/src/main/resources/data/create/recipes/crushing/nether_wart_block_quark.json new file mode 100644 index 000000000..4bf281749 --- /dev/null +++ b/src/main/resources/data/create/recipes/crushing/nether_wart_block_quark.json @@ -0,0 +1,26 @@ +{ + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "quark" + } + ], + "type": "create:crushing", + "ingredients": [ + { + "item": "minecraft:nether_wart_block" + } + ], + "results": [ + { + "item": "minecraft:nether_wart", + "count": 2 + }, + { + "item": "minecraft:nether_wart", + "count": 2, + "chance": 0.5 + } + ], + "processingTime": 150 +} \ No newline at end of file