Search in sources :

Example 1 with BlockRegistryCharcoal

use of forestry.arboriculture.blocks.BlockRegistryCharcoal in project ForestryMC by ForestryMC.

the class ModuleCharcoal method registerRecipes.

@Override
public void registerRecipes() {
    BlockRegistryCharcoal blocks = getBlocks();
    ItemRegistryCore coreItems = ModuleCore.getItems();
    // Wood Pile
    RecipeUtil.addShapelessRecipe("wood_pile", new ItemStack(blocks.woodPile), OreDictUtil.LOG_WOOD, OreDictUtil.LOG_WOOD, OreDictUtil.LOG_WOOD, OreDictUtil.LOG_WOOD);
    RecipeUtil.addShapelessRecipe("wood_pile_decorative", new ItemStack(blocks.woodPile), blocks.woodPileDecorative);
    RecipeUtil.addShapelessRecipe("decorative_wood_pile", new ItemStack(blocks.woodPileDecorative), blocks.woodPile);
    // Charcoal
    RecipeUtil.addRecipe("charcoal_block", blocks.charcoal, "###", "###", "###", '#', new ItemStack(Items.COAL, 1, 1));
    RecipeUtil.addShapelessRecipe("charcoal", new ItemStack(Items.COAL, 9, 1), blocks.charcoal);
    // Dirt Pile Block
    RecipeUtil.addShapelessRecipe("loam", new ItemStack(blocks.loam, 4), Items.CLAY_BALL, coreItems.compost, Items.CLAY_BALL, OreDictUtil.SAND, Items.CLAY_BALL, OreDictUtil.SAND, Items.CLAY_BALL, coreItems.compost, Items.CLAY_BALL);
}
Also used : BlockRegistryCharcoal(forestry.arboriculture.blocks.BlockRegistryCharcoal) ItemRegistryCore(forestry.core.items.ItemRegistryCore) ItemStack(net.minecraft.item.ItemStack)

Aggregations

BlockRegistryCharcoal (forestry.arboriculture.blocks.BlockRegistryCharcoal)1 ItemRegistryCore (forestry.core.items.ItemRegistryCore)1 ItemStack (net.minecraft.item.ItemStack)1