Search in sources :

Example 1 with BlockPlanter

use of forestry.cultivation.blocks.BlockPlanter in project ForestryMC by ForestryMC.

the class ModuleCultivation method registerRecipes.

@Override
public void registerRecipes() {
    BlockRegistryCultivation blocks = getBlocks();
    ItemRegistryCore coreItems = ModuleCore.getItems();
    RecipeUtil.addRecipe("arboretum", blocks.arboretum, "GTG", "TCT", "GBG", 'G', OreDictUtil.BLOCK_GLASS, 'T', coreItems.tubes.get(EnumElectronTube.GOLD, 1), 'C', coreItems.flexibleCasing, 'B', coreItems.circuitboards.get(EnumCircuitBoardType.BASIC));
    RecipeUtil.addRecipe("farm_crops", blocks.farmCrops, "GTG", "TCT", "GBG", 'G', OreDictUtil.BLOCK_GLASS, 'T', coreItems.tubes.get(EnumElectronTube.BRONZE, 1), 'C', coreItems.flexibleCasing, 'B', coreItems.circuitboards.get(EnumCircuitBoardType.BASIC));
    RecipeUtil.addRecipe("peat_bog", blocks.peatBog, "GTG", "TCT", "GBG", 'G', OreDictUtil.BLOCK_GLASS, 'T', coreItems.tubes.get(EnumElectronTube.OBSIDIAN, 1), 'C', coreItems.flexibleCasing, 'B', coreItems.circuitboards.get(EnumCircuitBoardType.BASIC));
    RecipeUtil.addRecipe("farm_mushroom", blocks.farmMushroom, "GTG", "TCT", "GBG", 'G', OreDictUtil.BLOCK_GLASS, 'T', coreItems.tubes.get(EnumElectronTube.APATITE, 1), 'C', coreItems.flexibleCasing, 'B', coreItems.circuitboards.get(EnumCircuitBoardType.BASIC));
    RecipeUtil.addRecipe("farm_gourd", blocks.farmGourd, "GTG", "TCT", "GBG", 'G', OreDictUtil.BLOCK_GLASS, 'T', coreItems.tubes.get(EnumElectronTube.LAPIS, 1), 'C', coreItems.flexibleCasing, 'B', coreItems.circuitboards.get(EnumCircuitBoardType.BASIC));
    RecipeUtil.addRecipe("farm_nether", blocks.farmNether, "GTG", "TCT", "GBG", 'G', OreDictUtil.BLOCK_GLASS, 'T', coreItems.tubes.get(EnumElectronTube.BLAZE, 1), 'C', coreItems.flexibleCasing, 'B', coreItems.circuitboards.get(EnumCircuitBoardType.BASIC));
    RecipeUtil.addRecipe("farm_ender", blocks.farmEnder, "GTG", "TCT", "GBG", 'G', OreDictUtil.BLOCK_GLASS, 'T', coreItems.tubes.get(EnumElectronTube.ENDER, 1), 'C', coreItems.flexibleCasing, 'B', coreItems.circuitboards.get(EnumCircuitBoardType.BASIC));
    for (BlockPlanter planter : getBlocks().getPlanters()) {
        RecipeUtil.addShapelessRecipe(planter.blockType.getName() + "_manual_managed", planter.get(true), planter.get(false));
        RecipeUtil.addShapelessRecipe(planter.blockType.getName() + "_managed_manual", planter.get(false), planter.get(true));
    }
}
Also used : BlockRegistryCultivation(forestry.cultivation.blocks.BlockRegistryCultivation) ItemRegistryCore(forestry.core.items.ItemRegistryCore) BlockPlanter(forestry.cultivation.blocks.BlockPlanter)

Aggregations

ItemRegistryCore (forestry.core.items.ItemRegistryCore)1 BlockPlanter (forestry.cultivation.blocks.BlockPlanter)1 BlockRegistryCultivation (forestry.cultivation.blocks.BlockRegistryCultivation)1