public class NextTickListEntry extends java.lang.Object implements java.lang.Comparable<NextTickListEntry>
Modifier and Type | Field and Description |
---|---|
private Block |
block |
private static long |
nextTickEntryID
The id number for the next tick entry
|
BlockPos |
position |
int |
priority |
long |
scheduledTime
Time this tick is scheduled to occur at
|
private long |
tickEntryID
The id of the tick entry
|
Constructor and Description |
---|
NextTickListEntry(BlockPos p_i45745_1_,
Block p_i45745_2_) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NextTickListEntry p_compareTo_1_) |
boolean |
equals(java.lang.Object p_equals_1_) |
Block |
getBlock() |
int |
hashCode() |
void |
setPriority(int p_82753_1_) |
NextTickListEntry |
setScheduledTime(long p_77176_1_)
Sets the scheduled time for this tick entry
|
java.lang.String |
toString() |
private static long nextTickEntryID
private final Block block
public final BlockPos position
public long scheduledTime
public int priority
private long tickEntryID
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NextTickListEntry setScheduledTime(long p_77176_1_)
public void setPriority(int p_82753_1_)
public int compareTo(NextTickListEntry p_compareTo_1_)
compareTo
in interface java.lang.Comparable<NextTickListEntry>
public java.lang.String toString()
toString
in class java.lang.Object
public Block getBlock()