Package erogenousbeef.bigreactors.common.multiblock.helpers

Examples of erogenousbeef.bigreactors.common.multiblock.helpers.CoolantContainer.fill()


  @Override
  public int fill(ForgeDirection from, FluidStack resource, boolean doFill) {
    if(!isConnected() || !inlet || from != getOutwardsDir()) { return 0; }
   
    CoolantContainer cc = getReactorController().getCoolantContainer();
    return cc.fill(getConnectedTank(), resource, doFill);
  }

  @Override
  public FluidStack drain(ForgeDirection from, FluidStack resource,
      boolean 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.