Package net.minecraftforge.fluids

Examples of net.minecraftforge.fluids.BlockFluidBase


    if (canPlaceFluidAt(block, x, y, z)) {
      boolean placed;
      Block b = FluidUtils.getFluidBlock(fluid, true);

      if (b instanceof BlockFluidBase) {
        BlockFluidBase blockFluid = (BlockFluidBase) b;
        placed = worldObj.setBlock(x, y, z, b, blockFluid.getMaxRenderHeightMeta(), 3);
      } else {
        placed = worldObj.setBlock(x, y, z, b);
      }

      if (placed) {
View Full Code Here

TOP

Related Classes of net.minecraftforge.fluids.BlockFluidBase

Copyright © 2018 www.massapicom. 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.