Search in sources :

Example 1 with BlockContainerTwoSideRender

use of com.bluepowermod.block.machine.BlockContainerTwoSideRender in project BluePower by Qmunity.

the class BPBlocks method instantiateBlocks.

private static void instantiateBlocks() {
    basalt = new BlockBasalt(Refs.BASALT_NAME).setResistance(25.0F);
    marble = new BlockStoneOre(Refs.MARBLE_NAME).setResistance(1.0F).setHardness(1.5F);
    basalt_cobble = new BlockStoneOre(Refs.BASALTCOBBLE_NAME);
    basalt_brick = new BlockStoneOre(Refs.BASALTBRICK_NAME);
    marble_brick = new BlockStoneOre(Refs.MARBLEBRICK_NAME);
    cracked_basalt_lava = new BlockCrackedBasalt(Refs.CRACKED_BASALT);
    basaltbrick_cracked = new BlockStoneOre(Refs.CRACKEDBASALTBRICK_NAME);
    basalt_brick_small = new BlockStoneOre(Refs.SMALLBASALTBRICK_NAME);
    marble_brick_small = new BlockStoneOre(Refs.SMALLMARBLEBRICK_NAME);
    fancy_basalt = new BlockStoneOre(Refs.CHISELEDBASALTBRICK_NAME);
    fancy_marble = new BlockStoneOre(Refs.CHISELEDMARBLEBRICK_NAME);
    marble_tile = new BlockStoneOreConnected(Refs.MARBLETILE_NAME);
    basalt_tile = new BlockStoneOreConnected(Refs.BASALTTILE_NAME);
    marble_paver = new BlockStoneOre(Refs.MARBLEPAVER_NAME);
    basalt_paver = new BlockStoneOre(Refs.BASALTPAVER_NAME);
    tiles = new BlockStoneOre(Refs.TILES);
    teslatite_ore = new BlockTeslatiteOre(Refs.TESLATITEORE_NAME);
    ruby_ore = new BlockRubyOre(Refs.RUBYORE_NAME);
    sapphire_ore = new BlockSapphireOre(Refs.SAPPHIREORE_NAME);
    amethyst_ore = new BlockAmethystOre(Refs.AMETHYSTORE_NAME);
    copper_ore = new BlockStoneOre(Refs.COPPERORE_NAME);
    silver_ore = new BlockStoneOre(Refs.SILVERORE_NAME).setToolLevel(2);
    zinc_ore = new BlockStoneOre(Refs.ZINCORE_NAME);
    tungsten_ore = new BlockStoneOre(Refs.TUNGSTENORE_NAME).setToolLevel(3).setResistance(6.0F).setHardness(15.0F);
    ruby_block = new BlockStoneOre(Refs.RUBYBLOCK_NAME).setToolLevel(2);
    sapphire_block = new BlockStoneOre(Refs.SAPPHIREBLOCK_NAME).setToolLevel(2);
    amethyst_block = new BlockStoneOre(Refs.AMETHYSTBLOCK_NAME).setToolLevel(2);
    teslatite_block = new BlockStoneOre(Refs.TESLATITEBLOCK_NAME).setToolLevel(2);
    copper_block = new BlockStoneOre(Refs.COPPERBLOCK_NAME);
    silver_block = new BlockStoneOre(Refs.SILVERBLOCK_NAME).setToolLevel(2);
    zinc_block = new BlockStoneOre(Refs.ZINCBLOCK_NAME);
    tungsten_block = new BlockStoneOre(Refs.TUNGSTENBLOCK_NAME).setToolLevel(3).setResistance(25.0F).setHardness(5.0F);
    sapphire_glass = new BlockStoneOreConnected(Refs.SAPPHIREGLASS_NAME).setTransparent(true).setHardness(10).setResistance(10000);
    reinforced_sapphire_glass = new BlockStoneOreConnected(Refs.REINFORCEDSAPPHIREGLASS_NAME).setTransparent(true).setWitherproof(true).setTooltip(MinecraftColor.RED.getChatColor() + "Witherproof").setHardness(30).setResistance(Integer.MAX_VALUE);
    flax_crop = new BlockCrop().setBlockName(Refs.FLAXCROP_NAME);
    indigo_flower = new BlockCustomFlower(Refs.INDIGOFLOWER_NAME);
    alloyfurnace = new BlockAlloyFurnace();
    block_breaker = new BlockContainerFrontRender(Material.rock, TileBlockBreaker.class).setBlockName(Refs.BLOCKBREAKER_NAME);
    igniter = new BlockIgniter();
    buffer = new BlockContainerBase(Material.rock, TileBuffer.class).setGuiId(GuiIDs.BUFFER).setBlockName(Refs.BLOCKBUFFER_NAME);
    deployer = new BlockContainerFrontRender(Material.rock, TileDeployer.class).setGuiId(GuiIDs.DEPLOYER_ID).setBlockName(Refs.BLOCKDEPLOYER_NAME);
    transposer = new BlockContainerBase(Material.rock, TileTransposer.class).setBlockName(Refs.TRANSPOSER_NAME);
    sorting_machine = new BlockContainerBase(Material.rock, TileSortingMachine.class).setGuiId(GuiIDs.SORTING_MACHINE).setBlockName(Refs.SORTING_MACHINE_NAME);
    project_table = new BlockProjectTable().setGuiId(GuiIDs.PROJECTTABLE_ID);
    auto_project_table = new BlockProjectTable(TileAutoProjectTable.class).setGuiId(GuiIDs.PROJECTTABLE_ID).setBlockName(Refs.AUTOPROJECTTABLE_NAME);
    circuit_table = new BlockProjectTable(TileCircuitTable.class).setGuiId(GuiIDs.CIRCUITTABLE_ID).setBlockName(Refs.CIRCUITTABLE_NAME);
    circuit_database = new BlockCircuitDatabase(TileCircuitDatabase.class).setGuiId(GuiIDs.CIRCUITDATABASE_MAIN_ID).setBlockName(Refs.CIRCUITDATABASE_NAME);
    ejector = new BlockContainerTwoSideRender(Material.rock, TileEjector.class).setGuiId(GuiIDs.EJECTOR_ID).setBlockName(Refs.EJECTOR_NAME);
    relay = new BlockContainerTwoSideRender(Material.rock, TileRelay.class).setGuiId(GuiIDs.RELAY_ID).setBlockName(Refs.RELAY_NAME);
    filter = new BlockContainerBase(Material.rock, TileFilter.class).setGuiId(GuiIDs.FILTER_ID).setBlockName(Refs.FILTER_NAME);
    retriever = new BlockContainerBase(Material.rock, TileRetriever.class).setGuiId(GuiIDs.RETRIEVER_ID).setBlockName(Refs.RETRIEVER_NAME);
    regulator = new BlockContainerTwoSideRender(Material.rock, TileRegulator.class).setGuiId(GuiIDs.REGULATOR_ID).emitsRedstone().setBlockName(Refs.REGULATOR_NAME);
    item_detector = new BlockContainerTwoSideRender(Material.rock, TileItemDetector.class).setGuiId(GuiIDs.ITEMDETECTOR_ID).emitsRedstone().setBlockName(Refs.ITEMDETECTOR_NAME);
    manager = new BlockRejecting(Material.rock, TileManager.class).setGuiId(GuiIDs.MANAGER_ID).emitsRedstone().setBlockName(Refs.MANAGER_NAME);
    // engine = new BlockEngine();
    // kinetic_generator = new BlockKineticGenerator();
    // windmill = new BlockWindmill();
    // cpu = new BlockCPU();
    // monitor = new BlockMonitor();
    // disk_drive = new BlockDiskDrive();
    // io_expander = new BlockIOExpander();
    blockLamp = new Block[MinecraftColor.VALID_COLORS.length];
    blockLampRGB = new BlockLampRGB(false);
    blockLampInverted = new Block[MinecraftColor.VALID_COLORS.length];
    blockLampRGBInverted = new BlockLampRGB(true);
    for (int i = 0; i < MinecraftColor.VALID_COLORS.length; i++) blockLamp[i] = new BlockLamp(false, MinecraftColor.VALID_COLORS[i]);
    for (int i = 0; i < MinecraftColor.VALID_COLORS.length; i++) blockLampInverted[i] = new BlockLamp(true, MinecraftColor.VALID_COLORS[i]);
}
Also used : BlockAmethystOre(com.bluepowermod.block.worldgen.BlockAmethystOre) BlockCircuitDatabase(com.bluepowermod.block.machine.BlockCircuitDatabase) BlockSapphireOre(com.bluepowermod.block.worldgen.BlockSapphireOre) TileFilter(com.bluepowermod.tile.tier1.TileFilter) TileEjector(com.bluepowermod.tile.tier1.TileEjector) BlockLamp(com.bluepowermod.block.machine.BlockLamp) BlockRubyOre(com.bluepowermod.block.worldgen.BlockRubyOre) BlockRejecting(com.bluepowermod.block.machine.BlockRejecting) TileBuffer(com.bluepowermod.tile.tier1.TileBuffer) BlockStoneOre(com.bluepowermod.block.worldgen.BlockStoneOre) BlockAlloyFurnace(com.bluepowermod.block.machine.BlockAlloyFurnace) TileCircuitDatabase(com.bluepowermod.tile.tier3.TileCircuitDatabase) BlockContainerFrontRender(com.bluepowermod.block.machine.BlockContainerFrontRender) TileRelay(com.bluepowermod.tile.tier1.TileRelay) BlockLampRGB(com.bluepowermod.block.machine.BlockLampRGB) BlockContainerBase(com.bluepowermod.block.BlockContainerBase) BlockIgniter(com.bluepowermod.block.machine.BlockIgniter) TileAutoProjectTable(com.bluepowermod.tile.tier2.TileAutoProjectTable) BlockProjectTable(com.bluepowermod.block.machine.BlockProjectTable) TileRetriever(com.bluepowermod.tile.tier2.TileRetriever) TileSortingMachine(com.bluepowermod.tile.tier2.TileSortingMachine) BlockCrackedBasalt(com.bluepowermod.block.worldgen.BlockCrackedBasalt) BlockCrop(com.bluepowermod.block.worldgen.BlockCrop) BlockTeslatiteOre(com.bluepowermod.block.worldgen.BlockTeslatiteOre) BlockStoneOreConnected(com.bluepowermod.block.worldgen.BlockStoneOreConnected) BlockBasalt(com.bluepowermod.block.worldgen.BlockBasalt) BlockContainerTwoSideRender(com.bluepowermod.block.machine.BlockContainerTwoSideRender) BlockCustomFlower(com.bluepowermod.block.worldgen.BlockCustomFlower) TileDeployer(com.bluepowermod.tile.tier1.TileDeployer) TileCircuitTable(com.bluepowermod.tile.tier2.TileCircuitTable)

Aggregations

BlockContainerBase (com.bluepowermod.block.BlockContainerBase)1 BlockAlloyFurnace (com.bluepowermod.block.machine.BlockAlloyFurnace)1 BlockCircuitDatabase (com.bluepowermod.block.machine.BlockCircuitDatabase)1 BlockContainerFrontRender (com.bluepowermod.block.machine.BlockContainerFrontRender)1 BlockContainerTwoSideRender (com.bluepowermod.block.machine.BlockContainerTwoSideRender)1 BlockIgniter (com.bluepowermod.block.machine.BlockIgniter)1 BlockLamp (com.bluepowermod.block.machine.BlockLamp)1 BlockLampRGB (com.bluepowermod.block.machine.BlockLampRGB)1 BlockProjectTable (com.bluepowermod.block.machine.BlockProjectTable)1 BlockRejecting (com.bluepowermod.block.machine.BlockRejecting)1 BlockAmethystOre (com.bluepowermod.block.worldgen.BlockAmethystOre)1 BlockBasalt (com.bluepowermod.block.worldgen.BlockBasalt)1 BlockCrackedBasalt (com.bluepowermod.block.worldgen.BlockCrackedBasalt)1 BlockCrop (com.bluepowermod.block.worldgen.BlockCrop)1 BlockCustomFlower (com.bluepowermod.block.worldgen.BlockCustomFlower)1 BlockRubyOre (com.bluepowermod.block.worldgen.BlockRubyOre)1 BlockSapphireOre (com.bluepowermod.block.worldgen.BlockSapphireOre)1 BlockStoneOre (com.bluepowermod.block.worldgen.BlockStoneOre)1 BlockStoneOreConnected (com.bluepowermod.block.worldgen.BlockStoneOreConnected)1 BlockTeslatiteOre (com.bluepowermod.block.worldgen.BlockTeslatiteOre)1