Skip to content

Commit

Permalink
Increased hunger saturation of Ice Cream and Yogurt
Browse files Browse the repository at this point in the history
Addresses #119
  • Loading branch information
Doenerstyle committed Feb 19, 2024
1 parent 41da342 commit c33cc85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/growthcraft/milk/common/Init.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<AgedCheeseTypes>(GrowthcraftMilkBlocks.agedCheeseBlock.getBlock(), AgedCheeseTypes.values()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/growthcraft/milk/common/item/ItemYogurt.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit c33cc85

Please sign in to comment.