Examples of canBeFilledExternally()


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

  public int fill(int tankIndex, FluidStack resource, boolean doFill) {
    if (tankIndex < 0 || tankIndex >= tanks.size() || resource == null)
      return 0;

    StandardTank tank = tanks.get(tankIndex);
    if (!tank.canBeFilledExternally())
      return 0;

    return tank.fill(resource, doFill);
  }
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.