public class NextTickListEntry extends Object implements Comparable
Modifier and Type | Field and Description |
---|---|
int |
blockID
blockID of the scheduled tick (ensures when the tick occurs its still for this block)
|
int |
priority |
long |
scheduledTime
Time this tick is scheduled to occur at
|
int |
xCoord
X position this tick is occuring at
|
int |
yCoord
Y position this tick is occuring at
|
int |
zCoord
Z position this tick is occuring at
|
Constructor and Description |
---|
NextTickListEntry(int par1,
int par2,
int par3,
int par4) |
Modifier and Type | Method and Description |
---|---|
int |
comparer(NextTickListEntry par1NextTickListEntry)
Compares this tick entry to another tick entry for sorting purposes.
|
int |
compareTo(Object par1Obj) |
boolean |
equals(Object par1Obj) |
int |
hashCode() |
void |
setPriority(int par1) |
NextTickListEntry |
setScheduledTime(long par1)
Sets the scheduled time for this tick entry
|
String |
toString() |
public int xCoord
public int yCoord
public int zCoord
public int blockID
public long scheduledTime
public int priority
public NextTickListEntry(int par1, int par2, int par3, int par4)
public NextTickListEntry setScheduledTime(long par1)
public void setPriority(int par1)
public int comparer(NextTickListEntry par1NextTickListEntry)
public int compareTo(Object par1Obj)
compareTo
in interface Comparable