public interface ICrankable
Tiles that Implement this can receive power, from the crank, and have the crank placed on them.
Tiles that access other tiles that implement this method can act as Cranks.
This interface must be implemented by a tile entity.
Modifier and Type | Method and Description |
---|---|
void |
applyTurn()
The crank has completed one turn.
|
boolean |
canCrankAttach(net.minecraftforge.common.util.ForgeDirection directionToCrank) |
boolean |
canTurn()
Test if the crank can turn, return false if there is no work to be done.
|
boolean canTurn()
void applyTurn()
boolean canCrankAttach(net.minecraftforge.common.util.ForgeDirection directionToCrank)