use of com.bluepowermod.block.BlockContainerBase 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]);
}
Aggregations