Package appeng.api.orientation
Class OrientationStrategies
java.lang.Object
appeng.api.orientation.OrientationStrategies
Default implementations for
IOrientationStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IOrientationStrategyfacing()Block can be oriented in 6 directions, but not swivel around that axis.static IOrientationStrategystatic IOrientationStrategyfacingAttached(boolean allowRotation) Block can be oriented in 6 directions, but not swivel around that axis.static IOrientationStrategyfull()Block can be oriented in 6 directions and then can also be swiveled around that axis in 90° increments.static IOrientationStrategystatic IOrientationStrategynone()The blocks orientation cannot be changed.
-
Constructor Details
-
OrientationStrategies
public OrientationStrategies()
-
-
Method Details
-
none
The blocks orientation cannot be changed. -
horizontalFacing
-
facingAttached
Block can be oriented in 6 directions, but not swivel around that axis. Semantically the block is attached to the face of another block, but the facing points away from the side it is attached to. This influences how the default placement is deduced. -
facingAttached
-
facing
Block can be oriented in 6 directions, but not swivel around that axis. -
full
Block can be oriented in 6 directions and then can also be swiveled around that axis in 90° increments.
-