use of net.mcft.copy.betterstorage.item.cardboard.CardboardRepairRecipe in project BetterStorage by copygirl.
the class Recipes method addCardboardRecipes.
private static void addCardboardRecipes() {
// Cardboard sheet recipe
if (BetterStorageItems.cardboardSheet != null) {
GameRegistry.addShapelessRecipe(new ItemStack(BetterStorageItems.cardboardSheet, 4), Items.paper, Items.paper, Items.paper, Items.paper, Items.paper, Items.paper, Items.paper, Items.paper, Items.slime_ball);
}
// Cardboard helmet recipe
if (BetterStorageItems.cardboardHelmet != null)
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardHelmet), "ooo", "o o", 'o', "sheetCardboard"));
// Cardboard chestplate recipe
if (BetterStorageItems.cardboardChestplate != null)
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardChestplate), "o o", "ooo", "ooo", 'o', "sheetCardboard"));
// Cardboard leggings recipe
if (BetterStorageItems.cardboardLeggings != null)
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardLeggings), "ooo", "o o", "o o", 'o', "sheetCardboard"));
// Cardboard boots recipe
if (BetterStorageItems.cardboardBoots != null)
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardBoots), "o o", "o o", 'o', "sheetCardboard"));
// Cardboard sword recipe
if (BetterStorageItems.cardboardSword != null)
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardSword), "o", "o", "/", 'o', "sheetCardboard", '/', Items.stick));
// Cardboard pickaxe recipe
if (BetterStorageItems.cardboardPickaxe != null)
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardPickaxe), "ooo", " / ", " / ", 'o', "sheetCardboard", '/', Items.stick));
// Cardboard shovel recipe
if (BetterStorageItems.cardboardShovel != null)
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardShovel), "o", "/", "/", 'o', "sheetCardboard", '/', Items.stick));
// Cardboard axe recipe
if (BetterStorageItems.cardboardAxe != null) {
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardAxe), "oo", "o/", " /", 'o', "sheetCardboard", '/', Items.stick));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardAxe), "oo", "/o", "/ ", 'o', "sheetCardboard", '/', Items.stick));
}
// Cardboard hoe recipe
if (BetterStorageItems.cardboardHoe != null) {
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardHoe), "oo", " /", " /", 'o', "sheetCardboard", '/', Items.stick));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BetterStorageItems.cardboardHoe), "oo", "/ ", "/ ", 'o', "sheetCardboard", '/', Items.stick));
}
if (BetterStorageItems.anyCardboardItemsEnabled) {
// Crafting Station: Add cardboard enchantment recipe
BetterStorageCrafting.addStationRecipe(new CardboardEnchantmentRecipe());
// Crafting Station: Add cardboard repair recipe
if (BetterStorageItems.cardboardSheet != null)
BetterStorageCrafting.addStationRecipe(new CardboardRepairRecipe());
}
}
Aggregations