Search in sources :

Example 1 with BlockMetalDevice

use of ferro2000.immersivetech.common.blocks.metal.BlockMetalDevice in project Immersive-Tech by FerroO2000.

the class ITContent method preInit.

public static void preInit() {
    /*BLOCKS*/
    /*MULTIBLOCKS*/
    blockMetalMultiblock = new BlockMetalMultiblock();
    blockStoneMultiblock = new BlockStoneMultiblock();
    /*CONNECTORS*/
    blockConnectors = new BlockConnectors();
    /*METAL*/
    blockMetalDevice = new BlockMetalDevice();
    /*STONE*/
    blockStoneDecoration = new BlockStoneDecoration();
    /*FLUIDS*/
    fluidDistWater = new Fluid("dist_water", new ResourceLocation("immersivetech:blocks/fluid/dist_water_still"), new ResourceLocation("immersivetech:blocks/fluid/dist_water_flow")).setDensity(1000).setViscosity(1000);
    if (!FluidRegistry.registerFluid(fluidDistWater)) {
        fluidDistWater = FluidRegistry.getFluid("distwater");
    }
    FluidRegistry.addBucketForFluid(fluidDistWater);
    fluidSteam = new Fluid("steam", new ResourceLocation("immersivetech:blocks/fluid/steam_still"), new ResourceLocation("immersivetech:blocks/fluid/steam_flow")).setDensity(-100).setViscosity(500).setGaseous(true);
    if (!FluidRegistry.registerFluid(fluidSteam)) {
        fluidSteam = FluidRegistry.getFluid("steam");
    }
    FluidRegistry.addBucketForFluid(fluidSteam);
    /*FLUID BLOCKS*/
    blockFluidDistWater = new BlockITFluid("fluidDistWater", fluidDistWater, Material.WATER);
    blockFluidSteam = new BlockITFluid("fluidSteam", fluidSteam, Material.WATER);
    /*ITEMS*/
    /*MATERIALS*/
    itemMaterial = new ItemITBase("material", 64, "salt");
/*WIRES*/
// netCoil = new ItemITWireCoil();
}
Also used : BlockConnectors(ferro2000.immersivetech.common.blocks.connectors.BlockConnectors) BlockITFluid(ferro2000.immersivetech.common.blocks.BlockITFluid) BlockStoneMultiblock(ferro2000.immersivetech.common.blocks.stone.BlockStoneMultiblock) Fluid(net.minecraftforge.fluids.Fluid) BlockITFluid(ferro2000.immersivetech.common.blocks.BlockITFluid) ResourceLocation(net.minecraft.util.ResourceLocation) BlockMetalDevice(ferro2000.immersivetech.common.blocks.metal.BlockMetalDevice) BlockStoneDecoration(ferro2000.immersivetech.common.blocks.stone.BlockStoneDecoration) ItemITBase(ferro2000.immersivetech.common.items.ItemITBase) BlockMetalMultiblock(ferro2000.immersivetech.common.blocks.metal.BlockMetalMultiblock)

Aggregations

BlockITFluid (ferro2000.immersivetech.common.blocks.BlockITFluid)1 BlockConnectors (ferro2000.immersivetech.common.blocks.connectors.BlockConnectors)1 BlockMetalDevice (ferro2000.immersivetech.common.blocks.metal.BlockMetalDevice)1 BlockMetalMultiblock (ferro2000.immersivetech.common.blocks.metal.BlockMetalMultiblock)1 BlockStoneDecoration (ferro2000.immersivetech.common.blocks.stone.BlockStoneDecoration)1 BlockStoneMultiblock (ferro2000.immersivetech.common.blocks.stone.BlockStoneMultiblock)1 ItemITBase (ferro2000.immersivetech.common.items.ItemITBase)1 ResourceLocation (net.minecraft.util.ResourceLocation)1 Fluid (net.minecraftforge.fluids.Fluid)1