Package erogenousbeef.bigreactors.common.multiblock

Examples of erogenousbeef.bigreactors.common.multiblock.MultiblockTurbine.drain()


    // Try to pump steam out, if an outlet
    if(pumpDestination == null || flowSetting != FluidFlow.Out)
      return;

    MultiblockTurbine turbine = getTurbine();
    FluidStack fluidToDrain = turbine.drain(MultiblockTurbine.TANK_OUTPUT, turbine.TANK_SIZE, false);
   
    if(fluidToDrain != null && fluidToDrain.amount > 0)
    {
      fluidToDrain.amount = pumpDestination.fill(getOutwardsDir().getOpposite(), fluidToDrain, true);
      turbine.drain(MultiblockTurbine.TANK_OUTPUT, fluidToDrain, true);
View Full Code Here


    FluidStack fluidToDrain = turbine.drain(MultiblockTurbine.TANK_OUTPUT, turbine.TANK_SIZE, false);
   
    if(fluidToDrain != null && fluidToDrain.amount > 0)
    {
      fluidToDrain.amount = pumpDestination.fill(getOutwardsDir().getOpposite(), fluidToDrain, true);
      turbine.drain(MultiblockTurbine.TANK_OUTPUT, fluidToDrain, true);
    }
  }
 
  // INeighborUpdatableEntity
  @Override
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.