From 9b42cdd69594753b23837bf68f7647cf1dae7800 Mon Sep 17 00:00:00 2001 From: mDiyo Date: Wed, 11 Sep 2013 11:53:45 -0700 Subject: [PATCH] Fix Jerky stacking, adjust saturation --- src/tconstruct/common/TContent.java | 2 +- src/tconstruct/items/Jerky.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java index c26e468c840..cdce2a5151a 100644 --- a/src/tconstruct/common/TContent.java +++ b/src/tconstruct/common/TContent.java @@ -1831,7 +1831,7 @@ void addCraftingRecipes() DryingRackRecipes.addDryingRecipe(Item.fishRaw, 20 * 60 * 5, new ItemStack(jerky, 1, 4)); DryingRackRecipes.addDryingRecipe(Item.rottenFlesh, 20 * 60 * 5, new ItemStack(jerky, 1, 5)); - DryingRackRecipes.addDryingRecipe(new ItemStack(jerky, 1, 5), 20 * 60 * 10, Item.leather); + //DryingRackRecipes.addDryingRecipe(new ItemStack(jerky, 1, 5), 20 * 60 * 10, Item.leather); //Slabs for (int i = 0; i < 7; i++) diff --git a/src/tconstruct/items/Jerky.java b/src/tconstruct/items/Jerky.java index 95670d9eecb..adcc4e9febc 100644 --- a/src/tconstruct/items/Jerky.java +++ b/src/tconstruct/items/Jerky.java @@ -12,12 +12,13 @@ public class Jerky extends SpecialFood public static String[] textureNames = new String[] { "beef", "chicken", "pork", "mutton", "fish", "monster" }; public static String[] itemNames = new String[] { "jerky.beef", "jerky.chicken", "jerky.pig", "jerky.sheep", "jerky.fish", "jerky.zombie" }; public static int[] hunger = new int[] { 8, 6, 8, 6, 5, 4 }; - public static float[] saturation = new float[] { 0.8f, 0.6f, 0.8f, 0.6f, 0.6f, 0.4f }; + public static float[] saturation = new float[] { 1.0f, 0.8f, 1.0f, 0.8f, 0.8f, 0.4f }; public static int[] overhaulHunger = new int[] { 1, 1, 1, 1, 1, 1 }; public Jerky(int id, boolean hungerOverhaul) { super(id, hungerOverhaul ? overhaulHunger : hunger, saturation, itemNames, textureNames); + this.setHasSubtypes(true); } @SideOnly(Side.CLIENT)