mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
-Added Chocolate Toast
This commit is contained in:
parent
83dbbd0dcb
commit
b8a1bca12c
2 changed files with 8 additions and 0 deletions
|
@ -52,6 +52,7 @@ public enum ConfigCrafting{
|
|||
CHOCOLATE("Chocolate", ConfigCategories.FOOD_CRAFTING),
|
||||
CHOCOLATE_CAKE("Chocolate Cake", ConfigCategories.FOOD_CRAFTING),
|
||||
TOAST("Toast", ConfigCategories.FOOD_CRAFTING),
|
||||
CHOCOTOAST("ChocoToast", ConfigCategories.FOOD_CRAFTING),
|
||||
|
||||
LEAF_BLOWER("Leaf Blower", ConfigCategories.ITEMS_CRAFTING),
|
||||
LEAF_BLOWER_ADVANCED("Advanced Leaf Blower", ConfigCategories.ITEMS_CRAFTING),
|
||||
|
|
|
@ -40,6 +40,7 @@ public class FoodCrafting{
|
|||
public static IRecipe recipeChocolate;
|
||||
public static IRecipe recipeChocolateCake;
|
||||
public static IRecipe recipeToast;
|
||||
public static IRecipe recipeChocoToast;
|
||||
|
||||
public static void init(){
|
||||
|
||||
|
@ -195,6 +196,12 @@ public class FoodCrafting{
|
|||
new ItemStack(Items.bread));
|
||||
recipeToast = Util.GetRecipes.lastIRecipe();
|
||||
}
|
||||
|
||||
//ChocoToast:
|
||||
if(ConfigCrafting.CHOCOTOAST.isEnabled()){
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.CHOCOTOAST.ordinal()), new ItemStack(InitItems.itemFoods, 1, TheFoods.TOAST.ordinal()), new ItemStack(InitItems.itemFoods, 1, TheFoods.CHOCOLATE.ordinal()));
|
||||
recipeChocoToast = Util.GetRecipes.lastIRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue