From a6f3d79feba8a51acbd1cfe36888be0ca7e4ef27 Mon Sep 17 00:00:00 2001 From: Elenterius Date: Wed, 6 Mar 2024 01:59:06 +0100 Subject: [PATCH] feat(nerf): replace Nutrients with Nutrient Paste in crafting recipes --- .../datagen/recipes/BioForgeRecipeProvider.java | 4 ++-- .../datagen/recipes/BioLabRecipeProvider.java | 12 ++++++------ .../datagen/recipes/VanillaRecipeProvider.java | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java index ae90d9a24..09f2e95f4 100644 --- a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java +++ b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java @@ -181,12 +181,12 @@ private void buildComponentRecipes(Consumer consumer) { .addIngredient(ModItems.FLESH_BITS.get(), 4) .addIngredient(ModItems.BONE_FRAGMENTS.get(), 3) .addIngredient(ModItems.EXOTIC_DUST.get(), 2) - .addIngredient(ModItems.NUTRIENTS.get(), 3) + .addIngredient(ModItems.NUTRIENT_PASTE.get(), 3) .setCategory(ModBioForgeTabs.COMPONENTS) .unlockedBy(ModItems.EXOTIC_DUST.get()).save(consumer); BioForgeRecipeBuilder.create(ModItems.FERTILIZER.get()) - .addIngredient(ModItems.NUTRIENTS.get(), 4) + .addIngredient(ModItems.NUTRIENT_PASTE.get(), 4) .addIngredient(ModItems.ORGANIC_MATTER.get(), 4) .addIngredient(ModItems.AGEING_SERUM.get()) .setCategory(ModBioForgeTabs.COMPONENTS) diff --git a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioLabRecipeProvider.java b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioLabRecipeProvider.java index 6dfdd9060..5b02ddff7 100644 --- a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioLabRecipeProvider.java +++ b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioLabRecipeProvider.java @@ -26,7 +26,7 @@ protected void buildRecipes(Consumer consumer) { private void buildCompoundRecipes(Consumer consumer) { BioLabRecipeBuilder.create(ModItems.ORGANIC_COMPOUND.get()) .addIngredient(ModItems.BILE.get()) - .addIngredient(ModItems.NUTRIENTS.get()) + .addIngredient(ModItems.NUTRIENT_PASTE.get()) .setCraftingTime(2 * 20) .unlockedBy(ModItems.BILE.get()).save(consumer); @@ -40,7 +40,7 @@ private void buildCompoundRecipes(Consumer consumer) { BioLabRecipeBuilder.create(ModItems.GENETIC_COMPOUND.get()) .addIngredient(ModItems.HORMONE_SECRETION.get()) - .addIngredient(ModItems.NUTRIENTS.get()) + .addIngredient(ModItems.NUTRIENT_PASTE.get()) .setReactant(ModItems.ORGANIC_COMPOUND.get()) .setCraftingTime(4 * 20) .unlockedBy(ModItems.ORGANIC_COMPOUND.get()).save(consumer); @@ -92,7 +92,7 @@ private void buildSerumRecipes(Consumer consumer) { .unlockedBy(ModItems.EXOTIC_COMPOUND.get()).save(consumer); BioLabRecipeBuilder.create(ModItems.BREEDING_STIMULANT.get()) - .addIngredient(ModItems.NUTRIENTS.get()) + .addIngredient(ModItems.NUTRIENT_PASTE.get()) .addIngredient(ItemTags.FLOWERS) .addIngredient(ModItems.HORMONE_SECRETION.get()) .addIngredient(Items.COCOA_BEANS) @@ -102,15 +102,15 @@ private void buildSerumRecipes(Consumer consumer) { BioLabRecipeBuilder.create(ModItems.REJUVENATION_SERUM.get()) .addIngredient(ModItems.HEALING_ADDITIVE.get()) - .addIngredient(ModItems.NUTRIENTS.get()) + .addIngredient(ModItems.NUTRIENT_PASTE.get()) .addIngredient(ModItems.CORROSIVE_ADDITIVE.get()) .setReactant(ModItems.GENETIC_COMPOUND.get()) .setCraftingTime(8 * 20) .unlockedBy(ModItems.GENETIC_COMPOUND.get()).save(consumer); BioLabRecipeBuilder.create(ModItems.AGEING_SERUM.get()) - .addIngredient(ModItems.NUTRIENTS.get()) - .addIngredient(ModItems.NUTRIENTS.get()) + .addIngredient(ModItems.NUTRIENT_PASTE.get()) + .addIngredient(ModItems.NUTRIENT_PASTE.get()) .addIngredient(ModItems.MINERAL_FRAGMENT.get()) .addIngredient(ModItems.CORROSIVE_ADDITIVE.get()) .setReactant(ModItems.GENETIC_COMPOUND.get()) diff --git a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/VanillaRecipeProvider.java b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/VanillaRecipeProvider.java index 10a0a1c5f..29165f10a 100644 --- a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/VanillaRecipeProvider.java +++ b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/VanillaRecipeProvider.java @@ -112,7 +112,7 @@ private void buildWorkbenchRecipes(Consumer consumer) { WorkbenchRecipeBuilder.shapeless(RecipeCategory.FOOD, ModItems.NUTRIENT_BAR.get()) .requires(ModItems.NUTRIENT_PASTE.get(), 9) - .unlockedBy(hasName(ModItems.NUTRIENTS.get()), has(ModItems.NUTRIENTS.get())) + .unlockedBy(hasName(ModItems.NUTRIENT_PASTE.get()), has(ModItems.NUTRIENT_PASTE.get())) .save(consumer); WorkbenchRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NUTRIENTS.get(), 5) @@ -122,7 +122,7 @@ private void buildWorkbenchRecipes(Consumer consumer) { WorkbenchRecipeBuilder.shapeless(RecipeCategory.FOOD, ModItems.NUTRIENT_PASTE.get(), 9) .requires(ModItems.NUTRIENT_BAR.get()) - .unlockedBy(hasName(ModItems.NUTRIENTS.get()), has(ModItems.NUTRIENTS.get())) + .unlockedBy(hasName(ModItems.NUTRIENT_PASTE.get()), has(ModItems.NUTRIENT_PASTE.get())) .save(consumer, getConversionRecipeId(ModItems.NUTRIENT_PASTE.get(), ModItems.NUTRIENT_BAR.get())); // misc ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////