Examples of BlockMachine


Examples of mekanism.common.block.BlockMachine

  public void addBlocks()
  {
    //Declarations
    BasicBlock = new BlockBasic().setBlockName("BasicBlock");
    BasicBlock2 = new BlockBasic().setBlockName("BasicBlock2");
    MachineBlock = new BlockMachine().setBlockName("MachineBlock");
    MachineBlock2 = new BlockMachine().setBlockName("MachineBlock2");
    OreBlock = new BlockOre().setBlockName("OreBlock");
    EnergyCube = new BlockEnergyCube().setBlockName("EnergyCube");
    ObsidianTNT = new BlockObsidianTNT().setBlockName("ObsidianTNT").setCreativeTab(tabMekanism);
    BoundingBlock = (BlockBounding)new BlockBounding().setBlockName("BoundingBlock");
    GasTank = new BlockGasTank().setBlockName("GasTank");
View Full Code Here

Examples of mods.railcraft.common.blocks.machine.BlockMachine

    public static void registerBlockMachineAlpha() {
        if (blockMachineAlpha == null && RailcraftConfig.isBlockEnabled("machine.alpha")) {
            int[] lightOpacity = new int[16];
            Arrays.fill(lightOpacity, 255);
            blockMachineAlpha = new BlockMachine(0, new MachineProxyAlpha(), true, lightOpacity).setBlockName("railcraft.machine.alpha");
            GameRegistry.registerBlock(blockMachineAlpha, ItemMachine.class, blockMachineAlpha.getUnlocalizedName());

            for (EnumMachineAlpha type : EnumMachineAlpha.values()) {
                switch (type) {
                    case FEED_STATION:
View Full Code Here

Examples of mods.railcraft.common.blocks.machine.BlockMachine

            lightOpacity[EnumMachineBeta.BOILER_TANK_LOW_PRESSURE.ordinal()] = 0;
            lightOpacity[EnumMachineBeta.BOILER_TANK_HIGH_PRESSURE.ordinal()] = 0;
            lightOpacity[EnumMachineBeta.SENTINEL.ordinal()] = 0;
            lightOpacity[EnumMachineBeta.VOID_CHEST.ordinal()] = 0;
            lightOpacity[EnumMachineBeta.METALS_CHEST.ordinal()] = 0;
            blockMachineBeta = new BlockMachine(renderId, new MachineProxyBeta(), false, lightOpacity).setBlockName("railcraft.machine.beta");
            GameRegistry.registerBlock(blockMachineBeta, ItemMachine.class, blockMachineBeta.getUnlocalizedName());

            for (EnumMachineBeta type : EnumMachineBeta.values()) {
                switch (type) {
                    case SENTINEL:
View Full Code Here

Examples of mods.railcraft.common.blocks.machine.BlockMachine

            int[] lightOpacity = new int[16];
            Arrays.fill(lightOpacity, 255);
            lightOpacity[EnumMachineGamma.LIQUID_LOADER.ordinal()] = 0;
            lightOpacity[EnumMachineGamma.LIQUID_UNLOADER.ordinal()] = 0;
            blockMachineGamma = new BlockMachine(0, new MachineProxyGamma(), false, lightOpacity).setBlockName("railcraft.machine.gamma");
            blockMachineGamma.setCreativeTab(CreativeTabs.tabTransport);
            GameRegistry.registerBlock(blockMachineGamma, ItemMachine.class, blockMachineGamma.getUnlocalizedName());

            for (EnumMachineGamma type : EnumMachineGamma.values()) {
                switch (type) {
View Full Code Here

Examples of mods.railcraft.common.blocks.machine.BlockMachine

            int renderId = Railcraft.getProxy().getRenderId();
            int[] lightOpacity = new int[16];
            Arrays.fill(lightOpacity, 255);
            lightOpacity[EnumMachineDelta.WIRE.ordinal()] = 0;
            lightOpacity[EnumMachineDelta.CAGE.ordinal()] = 0;
            blockMachineDelta = new BlockMachine(renderId, new MachineProxyDelta(), false, lightOpacity).setBlockName("railcraft.machine.delta");
            blockMachineDelta.setCreativeTab(CreativePlugin.RAILCRAFT_TAB);
            GameRegistry.registerBlock(blockMachineDelta, ItemMachine.class, blockMachineDelta.getUnlocalizedName());

            for (EnumMachineDelta type : EnumMachineDelta.values()) {
                switch (type) {
View Full Code Here

Examples of mods.railcraft.common.blocks.machine.BlockMachine

    public static void registerBlockMachineEpsilon() {
        if (blockMachineEpsilon == null && RailcraftConfig.isBlockEnabled("machine.epsilon")) {
            int[] lightOpacity = new int[16];
            Arrays.fill(lightOpacity, 255);
            blockMachineEpsilon = new BlockMachine(0, new MachineProxyEpsilon(), true, lightOpacity).setBlockName("railcraft.machine.epsilon");
            GameRegistry.registerBlock(blockMachineEpsilon, ItemMachine.class, blockMachineEpsilon.getUnlocalizedName());

            for (EnumMachineEpsilon type : EnumMachineEpsilon.values()) {
                switch (type) {
                    default:
View Full Code Here

Examples of xk.xact.core.blocks.BlockMachine

    XActMod.itemChipCase = new ItemCase( caseID );
    XActMod.itemCraftPad = new ItemPad( padID );
  }

  public static void initBlocks() {
    XActMod.blockMachine = new BlockMachine( machineID );
    if( REPLACE_WORKBENCH )
      XActMod.blockWorkbench = BlockVanillaWorkbench.createNew();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.