public interface Rotatable extends Module
TIS-3D will use this to let your module know which way it should face after being placed into a casing. Note that this is only called when the module is placed in the top or bottom slot of a casing.
The set orientation represents where Port.UP is pointing.
| Modifier and Type | Method and Description |
|---|---|
Port |
getFacing()
Get the current orientation of the module.
|
void |
setFacing(Port port)
Set the orientation of the module.
|
getCasing, getFace, onActivate, onBeforeWriteComplete, onData, onData, onDisabled, onDisposed, onEnabled, onInstalled, onUninstalled, onWriteComplete, readFromNBT, render, step, writeToNBT