Package forestry.core.fluids

Examples of forestry.core.fluids.TankManager.drain()


  public FluidStack drain(ForgeDirection from, FluidStack resource, boolean doDrain) {
    TankManager tankManager = getTankManager();
    if (tankManager == null)
      return null;

    return tankManager.drain(from, resource, doDrain);
  }

  @Override
  public FluidStack drain(ForgeDirection from, int maxDrain, boolean doDrain) {
    TankManager tankManager = getTankManager();
View Full Code Here


  public FluidStack drain(ForgeDirection from, int maxDrain, boolean doDrain) {
    TankManager tankManager = getTankManager();
    if (tankManager == null)
      return FakeTank.INSTANCE.drain(maxDrain, doDrain);

    return tankManager.drain(from, maxDrain, doDrain);
  }

  @Override
  public boolean canFill(ForgeDirection from, Fluid fluid) {
    TankManager tankManager = getTankManager();
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.