Fixed knife crafting being broken

This commit is contained in:
Ellpeck 2016-01-08 18:09:11 +01:00
parent 77860267da
commit 98efec99d0

View file

@ -56,7 +56,7 @@ public class FoodCrafting{
//Bacon
if(ConfigCrafting.BACON.isEnabled()){
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 3, TheFoods.BACON.ordinal()),
knifeStack, new ItemStack(Items.cooked_porkchop)));
knifeStack.copy(), new ItemStack(Items.cooked_porkchop)));
recipeBacon = Util.GetRecipes.lastIRecipe();
}
@ -74,7 +74,7 @@ public class FoodCrafting{
'M', new ItemStack(Blocks.brown_mushroom),
'C', "cropCarrot",
'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD),
'K', knifeStack,
'K', knifeStack.copy(),
'H', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal())));
recipePizza = Util.GetRecipes.lastIRecipe();
}
@ -85,7 +85,7 @@ public class FoodCrafting{
"KT ", "CB ", " T ",
'T', new ItemStack(InitItems.itemFoods, 1, TheFoods.TOAST.ordinal()),
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
'K', knifeStack,
'K', knifeStack.copy(),
'B', new ItemStack(Items.cooked_beef)));
recipeHamburger = Util.GetRecipes.lastIRecipe();
}
@ -107,7 +107,7 @@ public class FoodCrafting{
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD),
'B', new ItemStack(InitItems.itemFoods, 1, TheFoods.BAGUETTE.ordinal()),
'K', knifeStack));
'K', knifeStack.copy()));
recipeSubSandwich = Util.GetRecipes.lastIRecipe();
}
@ -115,7 +115,7 @@ public class FoodCrafting{
if(ConfigCrafting.FRENCH_FRY.isEnabled()){
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 2, TheFoods.FRENCH_FRY.ordinal()),
new ItemStack(Items.baked_potato),
knifeStack));
knifeStack.copy()));
recipeFrenchFry = Util.GetRecipes.lastIRecipe();
}
@ -157,7 +157,7 @@ public class FoodCrafting{
//Carrot Juice
if(ConfigCrafting.CARROT_JUICE.isEnabled()){
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.CARROT_JUICE.ordinal()),
new ItemStack(Items.glass_bottle), "cropCarrot", knifeStack));
new ItemStack(Items.glass_bottle), "cropCarrot", knifeStack.copy()));
recipeCarrotJuice = Util.GetRecipes.lastIRecipe();
}
@ -173,7 +173,7 @@ public class FoodCrafting{
//Noodle
if(ConfigCrafting.NOODLE.isEnabled()){
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.NOODLE.ordinal()),
"cropWheat", knifeStack));
"cropWheat", knifeStack.copy()));
recipeNoodle = Util.GetRecipes.lastIRecipe();
}