Examples of recalculateOutwardsDirection()


Examples of erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityTurbinePartBase.recalculateOutwardsDirection()

   
    // Check that we have a rotor that goes all the way up the bearing
    TileEntityTurbinePartBase rotorPart = attachedRotorBearings.iterator().next();
   
    // Rotor bearing must calculate outwards dir, as this is normally only calculated in onMachineAssembled().
    rotorPart.recalculateOutwardsDirection(getMinimumCoord(), getMaximumCoord());
   
    // Find out which way the rotor runs. Obv, this is inwards from the bearing.
    ForgeDirection rotorDir = rotorPart.getOutwardsDir().getOpposite();
    CoordTriplet rotorCoord = rotorPart.getWorldLocation();
   
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.