use of com.axanthic.loi.blocks.BlockFluidUpwards in project Lands-of-Icaria by Axanthic-Game-Studios.
the class LOIFluids method registerFluids.
public static void registerFluids() {
FluidRegistry.registerFluid(waterFluid);
FluidRegistry.addBucketForFluid(waterFluid);
waterFluidBlock = new ItemBlock(new BlockFluidCustom(waterFluid, Material.WATER).canCreateSources(true));
waterFluid.setBlock(waterFluidBlock.getBlock());
Resources.registerBlock(waterFluidBlock);
FluidRegistry.registerFluid(gasFluid);
FluidRegistry.addBucketForFluid(gasFluid);
gasFluidBlock = new ItemBlock(new BlockFluidUpwards(gasFluid, Material.WATER));
gasFluid.setBlock(gasFluidBlock.getBlock());
Resources.registerBlock(gasFluidBlock);
FluidRegistry.registerFluid(voidFluid);
FluidRegistry.addBucketForFluid(voidFluid);
voidFluidBlock = new ItemBlock(new BlockFluidCustom(voidFluid, Material.LAVA).canCreateSources(false));
voidFluid.setBlock(voidFluidBlock.getBlock());
Resources.registerBlock(voidFluidBlock);
}
Aggregations