YATS/Forge Documentation
|
Public Member Functions | |
void | RotateTo (ForgeDirection direction) |
ForgeDirection | GetCurrentFacing () |
Public Attributes | |
ForgeDirection | currentfacing = ForgeDirection.UNKNOWN |
I6WayWrenchable is the simple and easy API to let your blocks be rotated by the YATS Spanner.
Recommended implementation is in the block, not the tile entity.
ForgeDirection YATS.api.I6WayWrenchable.GetCurrentFacing | ( | ) |
This is the get accessor for the block's ForgeDirection.
Implemented in YATS.tile.TileAdvExtractor, YATS.tile.TileExtractor, and YATS.tile.TileRoutingMarshaller.
void YATS.api.I6WayWrenchable.RotateTo | ( | ForgeDirection | direction) |
This is the set accessor for the block's ForgeDirection.
direction | The ForgeDirection to rotate to. |
Implemented in YATS.tile.TileAdvExtractor, YATS.tile.TileExtractor, and YATS.tile.TileRoutingMarshaller.
ForgeDirection YATS.api.I6WayWrenchable.currentfacing = ForgeDirection.UNKNOWN |
This field is the block's current facing.