public interface IOrientable
and it can be used to manipulate the direction of some machines, most of these orientations are purely visual.
AE also responds to Block.rotateBlock
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRotated() |
net.minecraftforge.common.util.ForgeDirection |
getForward() |
net.minecraftforge.common.util.ForgeDirection |
getUp() |
void |
setOrientation(net.minecraftforge.common.util.ForgeDirection Forward,
net.minecraftforge.common.util.ForgeDirection Up)
Update the orientation
|
boolean canBeRotated()
net.minecraftforge.common.util.ForgeDirection getForward()
net.minecraftforge.common.util.ForgeDirection getUp()
void setOrientation(net.minecraftforge.common.util.ForgeDirection Forward, net.minecraftforge.common.util.ForgeDirection Up)
Forward
- new forward directionUp
- new upwards direction