From a9e236e6ff487ef6f8e74b44f3390b2d7e68323f Mon Sep 17 00:00:00 2001 From: TheRealWormbo Date: Wed, 1 May 2024 13:01:24 +0200 Subject: [PATCH] Add alchemy recipe for dripleaf shrinking (costs a fifth of special flower shrinking, to flower/shrub cycle recipes) --- .../8482c265eb392e1fe5c3863ee4f62f310932c269 | 1 + .../recipes/mana_infusion/dripleaf_shrinking.json | 14 ++++++++++++++ .../botania/data/recipes/ManaInfusionProvider.java | 1 + 3 files changed, 16 insertions(+) create mode 100644 Xplat/src/generated/resources/data/botania/recipes/mana_infusion/dripleaf_shrinking.json diff --git a/Xplat/src/generated/resources/.cache/8482c265eb392e1fe5c3863ee4f62f310932c269 b/Xplat/src/generated/resources/.cache/8482c265eb392e1fe5c3863ee4f62f310932c269 index 31068bbdf6..1a88ea8161 100644 --- a/Xplat/src/generated/resources/.cache/8482c265eb392e1fe5c3863ee4f62f310932c269 +++ b/Xplat/src/generated/resources/.cache/8482c265eb392e1fe5c3863ee4f62f310932c269 @@ -43,6 +43,7 @@ e0cef7508a616be24de66ce5f2bdd69aa6872e9f data/botania/recipes/mana_infusion/dark 7da1ecb136fd3a5698a41c3f05ad6273741c51ff data/botania/recipes/mana_infusion/dead_bush_to_grass.json 4b9631d69196060b82e16f37bc6058a374625d9e data/botania/recipes/mana_infusion/deepslate_to_tuff.json dc6344c45bc08a6807e13a3d62623e6af050af06 data/botania/recipes/mana_infusion/diorite_to_granite.json +f941ae7a5c9059292599aa14597a336b10c572cf data/botania/recipes/mana_infusion/dripleaf_shrinking.json 43eb4976e2cbec987c2bcbd453581f9c99b66b4a data/botania/recipes/mana_infusion/elf_quartz_deconstruct.json 743a4c539cdf805642e23ff956373daa072a77ca data/botania/recipes/mana_infusion/ender_pearl_from_ghast_tear.json 5f81a0d0d25e82457e55948dc2b88dcceeed8e49 data/botania/recipes/mana_infusion/fern_to_dead_bush.json diff --git a/Xplat/src/generated/resources/data/botania/recipes/mana_infusion/dripleaf_shrinking.json b/Xplat/src/generated/resources/data/botania/recipes/mana_infusion/dripleaf_shrinking.json new file mode 100644 index 0000000000..071cec5b7f --- /dev/null +++ b/Xplat/src/generated/resources/data/botania/recipes/mana_infusion/dripleaf_shrinking.json @@ -0,0 +1,14 @@ +{ + "type": "botania:mana_infusion", + "catalyst": { + "type": "block", + "block": "botania:alchemy_catalyst" + }, + "input": { + "item": "minecraft:big_dripleaf" + }, + "mana": 50, + "output": { + "item": "minecraft:small_dripleaf" + } +} \ No newline at end of file diff --git a/Xplat/src/main/java/vazkii/botania/data/recipes/ManaInfusionProvider.java b/Xplat/src/main/java/vazkii/botania/data/recipes/ManaInfusionProvider.java index e114277abc..2631c8e4d9 100644 --- a/Xplat/src/main/java/vazkii/botania/data/recipes/ManaInfusionProvider.java +++ b/Xplat/src/main/java/vazkii/botania/data/recipes/ManaInfusionProvider.java @@ -143,6 +143,7 @@ public void buildRecipes(Consumer con Blocks.WHITE_TULIP, Blocks.PINK_TULIP, Blocks.OXEYE_DAISY, Blocks.CORNFLOWER, Blocks.LILY_OF_THE_VALLEY, Blocks.SUNFLOWER, Blocks.LILAC, Blocks.ROSE_BUSH, Blocks.PEONY); + consumer.accept(FinishedRecipe.alchemy(id("dripleaf_shrinking"), new ItemStack(Blocks.SMALL_DRIPLEAF), ingr(Items.BIG_DRIPLEAF), 500)); consumer.accept(FinishedRecipe.alchemy(id("chorus_fruit_to_flower"), new ItemStack(Blocks.CHORUS_FLOWER), ingr(Items.POPPED_CHORUS_FRUIT), 10000)); cycle(consumer, 240, "botania:berry_cycle", Items.APPLE, Items.SWEET_BERRIES, Items.GLOW_BERRIES);