Package erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityTurbineFluidPort

Examples of erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityTurbineFluidPort.FluidFlow


   
    if(metadata == METADATA_FLUIDPORT && StaticUtils.Inventory.isPlayerHoldingWrench(player)) {
      TileEntity te = world.getTileEntity(x, y, z);
      if(te instanceof TileEntityTurbineFluidPort) {
        TileEntityTurbineFluidPort fluidPort = (TileEntityTurbineFluidPort)te;
        FluidFlow flow = fluidPort.getFlowDirection();
        fluidPort.setFluidFlowDirection(flow == FluidFlow.In ? FluidFlow.Out : FluidFlow.In, true);
        return true;
      }
    }
   
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityTurbineFluidPort.FluidFlow

Copyright © 2018 www.massapicom. 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.