Package net.minecraftforge.fluids

Examples of net.minecraftforge.fluids.IFluidContainerItem.drain()


    if(fluid != null && item.getFluid(container).getFluid() != fluid)
    {
      return null;
    }
   
    return item.drain(container, needed, true);
  }
 
  public static int insertFluid(FluidTank tileTank, ItemStack container)
  {
    return insertFluid(tileTank.getFluid(), container);
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.