@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class CubeWatcher extends java.lang.Object implements ITicket, ICubeWatcher, BucketSorterEntry
| Modifier and Type | Class and Description |
|---|---|
static class |
CubeWatcher.SendToPlayersResult |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getBucketEntryData() |
Cube |
getCube() |
int |
getX() |
int |
getY() |
int |
getZ() |
boolean |
isSentToPlayers() |
void |
sendPacketToAllPlayers(net.minecraftforge.fml.common.network.simpleimpl.IMessage packet) |
void |
setBucketEntryData(long[] data) |
boolean |
shouldTick()
Weather or not a cube with this ticket should tick.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSorterStorage, setSorterStoragepublic 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 ITicketpublic long[] getBucketEntryData()
getBucketEntryData in interface BucketSorterEntrypublic void setBucketEntryData(long[] data)
setBucketEntryData in interface BucketSorterEntry