mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Fixed knife crafting being broken
This commit is contained in:
parent
77860267da
commit
98efec99d0
1 changed files with 7 additions and 7 deletions
|
@ -56,7 +56,7 @@ public class FoodCrafting{
|
||||||
//Bacon
|
//Bacon
|
||||||
if(ConfigCrafting.BACON.isEnabled()){
|
if(ConfigCrafting.BACON.isEnabled()){
|
||||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 3, TheFoods.BACON.ordinal()),
|
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();
|
recipeBacon = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ public class FoodCrafting{
|
||||||
'M', new ItemStack(Blocks.brown_mushroom),
|
'M', new ItemStack(Blocks.brown_mushroom),
|
||||||
'C', "cropCarrot",
|
'C', "cropCarrot",
|
||||||
'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD),
|
'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD),
|
||||||
'K', knifeStack,
|
'K', knifeStack.copy(),
|
||||||
'H', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal())));
|
'H', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal())));
|
||||||
recipePizza = Util.GetRecipes.lastIRecipe();
|
recipePizza = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ public class FoodCrafting{
|
||||||
"KT ", "CB ", " T ",
|
"KT ", "CB ", " T ",
|
||||||
'T', new ItemStack(InitItems.itemFoods, 1, TheFoods.TOAST.ordinal()),
|
'T', new ItemStack(InitItems.itemFoods, 1, TheFoods.TOAST.ordinal()),
|
||||||
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
|
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
|
||||||
'K', knifeStack,
|
'K', knifeStack.copy(),
|
||||||
'B', new ItemStack(Items.cooked_beef)));
|
'B', new ItemStack(Items.cooked_beef)));
|
||||||
recipeHamburger = Util.GetRecipes.lastIRecipe();
|
recipeHamburger = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ public class FoodCrafting{
|
||||||
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
|
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
|
||||||
'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD),
|
'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD),
|
||||||
'B', new ItemStack(InitItems.itemFoods, 1, TheFoods.BAGUETTE.ordinal()),
|
'B', new ItemStack(InitItems.itemFoods, 1, TheFoods.BAGUETTE.ordinal()),
|
||||||
'K', knifeStack));
|
'K', knifeStack.copy()));
|
||||||
recipeSubSandwich = Util.GetRecipes.lastIRecipe();
|
recipeSubSandwich = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ public class FoodCrafting{
|
||||||
if(ConfigCrafting.FRENCH_FRY.isEnabled()){
|
if(ConfigCrafting.FRENCH_FRY.isEnabled()){
|
||||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 2, TheFoods.FRENCH_FRY.ordinal()),
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 2, TheFoods.FRENCH_FRY.ordinal()),
|
||||||
new ItemStack(Items.baked_potato),
|
new ItemStack(Items.baked_potato),
|
||||||
knifeStack));
|
knifeStack.copy()));
|
||||||
recipeFrenchFry = Util.GetRecipes.lastIRecipe();
|
recipeFrenchFry = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ public class FoodCrafting{
|
||||||
//Carrot Juice
|
//Carrot Juice
|
||||||
if(ConfigCrafting.CARROT_JUICE.isEnabled()){
|
if(ConfigCrafting.CARROT_JUICE.isEnabled()){
|
||||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.CARROT_JUICE.ordinal()),
|
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();
|
recipeCarrotJuice = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ public class FoodCrafting{
|
||||||
//Noodle
|
//Noodle
|
||||||
if(ConfigCrafting.NOODLE.isEnabled()){
|
if(ConfigCrafting.NOODLE.isEnabled()){
|
||||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.NOODLE.ordinal()),
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.NOODLE.ordinal()),
|
||||||
"cropWheat", knifeStack));
|
"cropWheat", knifeStack.copy()));
|
||||||
recipeNoodle = Util.GetRecipes.lastIRecipe();
|
recipeNoodle = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue