Package forestry.core.fluids.tanks

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


        tank.drain(filled, true);
      }
    } else {
      FluidStack potential = pipette.drain(itemstack, pipette.getCapacity(itemstack), false);
      if (potential != null)
        pipette.drain(itemstack, tank.fill(potential, true), true);
    }
  }

  @Override
  public void updateProgressBar(int messageId, int data) {
View Full Code Here


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

    return tank.fill(resource, doFill);
  }

  @Override
  public FluidStack drain(ForgeDirection from, int maxDrain, boolean doDrain) {
    for (StandardTank tank : tanks)
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.