Class NextTickListEntry

java.lang.Object
net.minecraft.src.NextTickListEntry
All Implemented Interfaces:
Comparable

public class NextTickListEntry extends Object implements Comparable
  • Field Details

    • xCoord

      public int xCoord
      X position this tick is occuring at
    • yCoord

      public int yCoord
      Y position this tick is occuring at
    • zCoord

      public int zCoord
      Z position this tick is occuring at
    • blockID

      public int blockID
      blockID of the scheduled tick (ensures when the tick occurs its still for this block)
    • scheduledTime

      public long scheduledTime
      Time 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

      public boolean equals(Object par1Obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • setScheduledTime

      public NextTickListEntry setScheduledTime(long par1)
      Sets the scheduled time for this tick entry
    • setPriority

      public void setPriority(int par1)
    • comparer

      public int comparer(NextTickListEntry par1NextTickListEntry)
      Compares this tick entry to another tick entry for sorting purposes. Compared first based on the scheduled time and second based on tickEntryID.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Object par1Obj)
      Specified by:
      compareTo in interface Comparable