Package net.minecraft.src
Class NextTickListEntry
java.lang.Object
net.minecraft.src.NextTickListEntry
- All Implemented Interfaces:
Comparable
-
Field Summary
FieldsModifier and TypeFieldDescriptionintblockID of the scheduled tick (ensures when the tick occurs its still for this block)intlongTime this tick is scheduled to occur atintX position this tick is occuring atintY position this tick is occuring atintZ position this tick is occuring at -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcomparer(NextTickListEntry par1NextTickListEntry) Compares this tick entry to another tick entry for sorting purposes.intbooleaninthashCode()voidsetPriority(int par1) setScheduledTime(long par1) Sets the scheduled time for this tick entrytoString()
-
Field Details
-
xCoord
public int xCoordX position this tick is occuring at -
yCoord
public int yCoordY position this tick is occuring at -
zCoord
public int zCoordZ position this tick is occuring at -
blockID
public int blockIDblockID of the scheduled tick (ensures when the tick occurs its still for this block) -
scheduledTime
public long scheduledTimeTime this tick is scheduled to occur at -
priority
public int priority
-
-
Constructor Details
-
NextTickListEntry
public NextTickListEntry(int par1, int par2, int par3, int par4)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
setScheduledTime
Sets the scheduled time for this tick entry -
setPriority
public void setPriority(int par1) -
comparer
Compares this tick entry to another tick entry for sorting purposes. Compared first based on the scheduled time and second based on tickEntryID. -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable
-