From c33cc85b86f58c04ae01b0e6499d9e115752ca99 Mon Sep 17 00:00:00 2001 From: Doenerstyle <103001779+Doenerstyle@users.noreply.github.com> Date: Mon, 19 Feb 2024 20:48:38 +0100 Subject: [PATCH] Increased hunger saturation of Ice Cream and Yogurt Addresses #119 --- src/main/java/growthcraft/milk/common/Init.java | 4 ++-- src/main/java/growthcraft/milk/common/item/ItemIceCream.java | 2 +- src/main/java/growthcraft/milk/common/item/ItemYogurt.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/growthcraft/milk/common/Init.java b/src/main/java/growthcraft/milk/common/Init.java index af91a346..e5567e34 100644 --- a/src/main/java/growthcraft/milk/common/Init.java +++ b/src/main/java/growthcraft/milk/common/Init.java @@ -181,8 +181,8 @@ public static void preInitItems() { GrowthcraftMilkItems.cheeseCloth = new ItemDefinition(new ItemCheeseCloth("cheese_cloth")); GrowthcraftMilkItems.starterCulture = new ItemDefinition(new ItemStarterCulture("starter_culture")); GrowthcraftMilkItems.butter = new ItemDefinition(new ItemButter("butter", 2, 0.3F, false)); - GrowthcraftMilkItems.iceCream = new ItemDefinition(new ItemIceCream("ice_cream", 2, 0.3F, false)); - GrowthcraftMilkItems.yogurt = new ItemDefinition(new ItemYogurt("yogurt", 2, 0.3F, false)); + GrowthcraftMilkItems.iceCream = new ItemDefinition(new ItemIceCream("ice_cream", 4, 0.4F, false)); + GrowthcraftMilkItems.yogurt = new ItemDefinition(new ItemYogurt("yogurt", 3, 0.3F, false)); GrowthcraftMilkItems.knife = new ItemDefinition(new ItemKnife("knife")); GrowthcraftMilkItems.agedCheeseSlice = new ItemDefinition(new ItemAgedCheeseSlice("cheese_aged_slice", 3, 0.3F, false)); GrowthcraftMilkItems.agedCheeseBlockItem = new ItemDefinition(new ItemBlockCheeseBlock(GrowthcraftMilkBlocks.agedCheeseBlock.getBlock(), AgedCheeseTypes.values())); diff --git a/src/main/java/growthcraft/milk/common/item/ItemIceCream.java b/src/main/java/growthcraft/milk/common/item/ItemIceCream.java index 5e4442c9..041ecf7b 100644 --- a/src/main/java/growthcraft/milk/common/item/ItemIceCream.java +++ b/src/main/java/growthcraft/milk/common/item/ItemIceCream.java @@ -62,7 +62,7 @@ public ItemStack onItemUseFinish(ItemStack stack, World worldIn, EntityLivingBas if (entityplayer instanceof EntityPlayerMP) { CriteriaTriggers.CONSUME_ITEM.trigger((EntityPlayerMP) entityplayer, stack); } - // Add a bowl to the player inventory as a result of consuming the ItemCheeseBowl + // Add a bowl to the player inventory as a result of consuming the ItemIceCream entityplayer.inventory.addItemStackToInventory(new ItemStack(Items.BOWL)); } diff --git a/src/main/java/growthcraft/milk/common/item/ItemYogurt.java b/src/main/java/growthcraft/milk/common/item/ItemYogurt.java index f89ff56f..01804feb 100644 --- a/src/main/java/growthcraft/milk/common/item/ItemYogurt.java +++ b/src/main/java/growthcraft/milk/common/item/ItemYogurt.java @@ -62,7 +62,7 @@ public ItemStack onItemUseFinish(ItemStack stack, World worldIn, EntityLivingBas if (entityplayer instanceof EntityPlayerMP) { CriteriaTriggers.CONSUME_ITEM.trigger((EntityPlayerMP) entityplayer, stack); } - // Add a bowl to the player inventory as a result of consuming the ItemCheeseBowl + // Add a bowl to the player inventory as a result of consuming the ItemYogurt entityplayer.inventory.addItemStackToInventory(new ItemStack(Items.BOWL)); }