From 8c0e6799b2bb4bbf77c43c1b2bac248fb4cf1bc9 Mon Sep 17 00:00:00 2001 From: SammySemicolon <69329424+SammySemicolon@users.noreply.github.com> Date: Thu, 23 Nov 2023 19:12:44 +0100 Subject: [PATCH] Add recipe for cancer ring --- .../ring_of_growing_flesh.json | 38 +++++++++++++++++++ .../recipe/MalumSpiritInfusionRecipes.java | 11 +++++- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 src/generated/resources/data/malum/recipes/spirit_infusion/ring_of_growing_flesh.json diff --git a/src/generated/resources/data/malum/recipes/spirit_infusion/ring_of_growing_flesh.json b/src/generated/resources/data/malum/recipes/spirit_infusion/ring_of_growing_flesh.json new file mode 100644 index 000000000..6ed50b650 --- /dev/null +++ b/src/generated/resources/data/malum/recipes/spirit_infusion/ring_of_growing_flesh.json @@ -0,0 +1,38 @@ +{ + "type": "malum:spirit_infusion", + "extra_items": [ + { + "count": 16, + "item": "malum:void_salts" + }, + { + "count": 8, + "item": "malum:null_slate" + } + ], + "input": { + "count": 1, + "item": "malum:ring_of_curative_talent" + }, + "output": { + "item": "malum:ring_of_growing_flesh" + }, + "spirits": [ + { + "type": "sacred", + "count": 16 + }, + { + "type": "wicked", + "count": 16 + }, + { + "type": "arcane", + "count": 16 + }, + { + "type": "eldritch", + "count": 16 + } + ] +} \ No newline at end of file diff --git a/src/main/java/com/sammy/malum/data/recipe/MalumSpiritInfusionRecipes.java b/src/main/java/com/sammy/malum/data/recipe/MalumSpiritInfusionRecipes.java index 0f50b5a43..bccf1c03d 100644 --- a/src/main/java/com/sammy/malum/data/recipe/MalumSpiritInfusionRecipes.java +++ b/src/main/java/com/sammy/malum/data/recipe/MalumSpiritInfusionRecipes.java @@ -420,7 +420,6 @@ protected void buildCraftingRecipes(Consumer consumer) { .addExtraItem(ItemRegistry.HEX_ASH.get(), 2) .build(consumer); - new SpiritInfusionRecipeBuilder(ItemRegistry.ANOMALOUS_DESIGN.get(), 1, ItemRegistry.COMPLETE_DESIGN.get(), 1) .addSpirit(SACRED_SPIRIT, 4) .addSpirit(WICKED_SPIRIT, 4) @@ -432,6 +431,16 @@ protected void buildCraftingRecipes(Consumer consumer) { .addSpirit(INFERNAL_SPIRIT, 4) .build(consumer); + new SpiritInfusionRecipeBuilder(ItemRegistry.RING_OF_CURATIVE_TALENT.get(), 1, ItemRegistry.RING_OF_GROWING_FLESH.get(), 1) + .addExtraItem(ItemRegistry.VOID_SALTS.get(), 16) + .addExtraItem(ItemRegistry.NULL_SLATE.get(), 8) + .addSpirit(SACRED_SPIRIT, 16) + .addSpirit(WICKED_SPIRIT, 16) + .addSpirit(ARCANE_SPIRIT, 16) + .addSpirit(ELDRITCH_SPIRIT, 16) + .build(consumer); + + metalImpetusRecipe(consumer, ItemRegistry.IRON_IMPETUS, Items.IRON_INGOT); metalImpetusRecipe(consumer, ItemRegistry.COPPER_IMPETUS, Items.COPPER_INGOT); metalImpetusRecipe(consumer, ItemRegistry.GOLD_IMPETUS, Items.GOLD_INGOT);