Examples of canBeDrainedExternally()


Examples of forestry.core.fluids.tanks.StandardTank.canBeDrainedExternally()

  public FluidStack drain(int tankIndex, int maxDrain, boolean doDrain) {
    if (tankIndex < 0 || tankIndex >= tanks.size())
      return null;

    StandardTank tank = tanks.get(tankIndex);
    if (!tank.canBeDrainedExternally())
      return null;

    return tank.drain(maxDrain, doDrain);
  }
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.