@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class CubeWatcher extends java.lang.Object implements ITicket, ICubeWatcher
| Modifier and Type | Class and Description |
|---|---|
static class |
CubeWatcher.SendToPlayersResult |
| Modifier and Type | Method and Description |
|---|---|
Cube |
getCube() |
int |
getX() |
int |
getY() |
int |
getZ() |
boolean |
isSentToPlayers() |
void |
sendPacketToAllPlayers(net.minecraftforge.fml.common.network.simpleimpl.IMessage packet) |
boolean |
shouldTick()
Weather or not a cube with this ticket should tick.
|
public boolean isSentToPlayers()
isSentToPlayers in interface ICubeWatcher@Nullable public Cube getCube()
getCube in interface ICubeWatcherpublic void sendPacketToAllPlayers(net.minecraftforge.fml.common.network.simpleimpl.IMessage packet)
sendPacketToAllPlayers in interface ICubeWatcherpublic int getX()
getX in interface XYZAddressablegetX in interface ICubeWatcherpublic int getY()
getY in interface XYZAddressablegetY in interface ICubeWatcherpublic int getZ()
getZ in interface XYZAddressablegetZ in interface ICubeWatcherpublic boolean shouldTick()
ITicketshouldTick in interface ICubeWatchershouldTick in interface ITicket