net.minecraft.world

## Class NextTickListEntry

- java.lang.Object
- - net.minecraft.world.NextTickListEntry

- All Implemented Interfaces:
    Comparable

      public class NextTickListEntry
      extends Object
      implements Comparable

- - ### Field Summary

    Fields
    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 Summary

    Constructors
    Constructor and Description
    `NextTickListEntry(int par1, int par2, int par3, int par4)`

  - ### Method Summary

    Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### 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 Detail

    - #### NextTickListEntry

          public NextTickListEntry(int par1,
                           int par2,
                           int par3,
                           int par4)

  - ### Method Detail

    - #### 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`