From 09c1d778f206150d75449545673a66aa33c81247 Mon Sep 17 00:00:00 2001 From: "Joseph T. McQuigg" Date: Sun, 12 Jan 2025 21:57:48 -0500 Subject: [PATCH] Remove Milk from Allium Oddion Soup Recipe, Change Nutrition value from 9 to 8 Signed-off-by: Joseph T. McQuigg --- CHANGELOG.md | 1 + .../data/biomeswevegone/recipe/allium_oddion_soup.json | 7 ++----- .../potionstudios/biomeswevegone/world/item/BWGItems.java | 2 +- .../neoforge/datagen/generators/RecipeGenerator.java | 5 ++--- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f62db43e5..8a72d9473 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # 2.3.2 +- Remove Milk from Allium Oddion Soup Recipe, Change Nutrition value from 9 to 8 # 2.3.1 - Add Missing Spanish (Chile) Language Keys diff --git a/Common/src/main/generated/resources/data/biomeswevegone/recipe/allium_oddion_soup.json b/Common/src/main/generated/resources/data/biomeswevegone/recipe/allium_oddion_soup.json index ac62b995f..72efd0d78 100644 --- a/Common/src/main/generated/resources/data/biomeswevegone/recipe/allium_oddion_soup.json +++ b/Common/src/main/generated/resources/data/biomeswevegone/recipe/allium_oddion_soup.json @@ -3,17 +3,14 @@ "category": "misc", "key": { "#": { - "item": "minecraft:milk_bucket" + "item": "biomeswevegone:cooked_oddion_bulb" }, "X": { "item": "minecraft:bowl" - }, - "Y": { - "item": "biomeswevegone:cooked_oddion_bulb" } }, "pattern": [ - "#Y", + "##", "X " ], "result": { diff --git a/Common/src/main/java/net/potionstudios/biomeswevegone/world/item/BWGItems.java b/Common/src/main/java/net/potionstudios/biomeswevegone/world/item/BWGItems.java index 2ec5562fb..d98830407 100644 --- a/Common/src/main/java/net/potionstudios/biomeswevegone/world/item/BWGItems.java +++ b/Common/src/main/java/net/potionstudios/biomeswevegone/world/item/BWGItems.java @@ -72,7 +72,7 @@ public class BWGItems { public static final Supplier ODDION_BULB = registerSimpleItem("oddion_bulb", () -> new ItemNameBlockItem(BWGBlocks.ODDION_CROP.get(), new Item.Properties().food(new FoodProperties.Builder().nutrition(2).saturationModifier(0.35f).build()))); public static final Supplier COOKED_ODDION_BULB = registerSimpleItem("cooked_oddion_bulb", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().nutrition(5).saturationModifier(0.5f).build()))); - public static final Supplier ALLIUM_ODDION_SOUP = registerSimpleItem("allium_oddion_soup", () -> new Item((new Item.Properties()).stacksTo(1).food((new FoodProperties.Builder()).nutrition(9).saturationModifier(1f).usingConvertsTo(Items.BOWL).build()))); + public static final Supplier ALLIUM_ODDION_SOUP = registerSimpleItem("allium_oddion_soup", () -> new Item((new Item.Properties()).stacksTo(1).food((new FoodProperties.Builder()).nutrition(8).saturationModifier(1f).usingConvertsTo(Items.BOWL).build()))); public static final Supplier BLOOMING_ODDION = registerSimpleItem("blooming_oddion", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().nutrition(9).saturationModifier(1.2f).build()))); public static final Supplier WHITE_PUFFBALL_SPORES = registerSimpleItem("white_puffball_spores", () -> new ItemNameBlockItem(BWGBlocks.WHITE_PUFFBALL.getBlock(), new Item.Properties())); diff --git a/NeoForge/src/main/java/net/potionstudios/biomeswevegone/neoforge/datagen/generators/RecipeGenerator.java b/NeoForge/src/main/java/net/potionstudios/biomeswevegone/neoforge/datagen/generators/RecipeGenerator.java index 3e486e870..65cc8d5f6 100644 --- a/NeoForge/src/main/java/net/potionstudios/biomeswevegone/neoforge/datagen/generators/RecipeGenerator.java +++ b/NeoForge/src/main/java/net/potionstudios/biomeswevegone/neoforge/datagen/generators/RecipeGenerator.java @@ -148,10 +148,9 @@ protected void buildRecipes(@NotNull RecipeOutput recipeOutput) { .save(recipeOutput, BiomesWeveGone.id("cooked_oddion_bulb_from_smoker")); ShapedRecipeBuilder.shaped(RecipeCategory.FOOD, BWGItems.ALLIUM_ODDION_SOUP.get()) - .define('#', Items.MILK_BUCKET) + .define('#', BWGItems.COOKED_ODDION_BULB.get()) .define('X', Items.BOWL) - .define('Y', BWGItems.COOKED_ODDION_BULB.get()) - .pattern("#Y") + .pattern("##") .pattern("X ") .unlockedBy(getHasName(BWGItems.COOKED_ODDION_BULB.get()), has(BWGItems.COOKED_ODDION_BULB.get())) .save(recipeOutput);