Package net.minecraft.world
Class NextTickListEntry<T>
- java.lang.Object
-
- net.minecraft.world.NextTickListEntry<T>
-
public class NextTickListEntry<T> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private long
c
private static long
counter
BlockPos
pos
TickPriority
priority
long
triggerTick
private T
type
-
Constructor Summary
Constructors Constructor Description NextTickListEntry(BlockPos p_i48977_1_, T p_i48977_2_)
NextTickListEntry(BlockPos p_i48978_1_, T p_i48978_2_, long p_i48978_3_, TickPriority p_i48978_5_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> java.util.Comparator<NextTickListEntry<T>>
createTimeComparator()
boolean
equals(java.lang.Object p_equals_1_)
T
getType()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
counter
private static long counter
-
type
private final T type
-
pos
public final BlockPos pos
-
triggerTick
public final long triggerTick
-
priority
public final TickPriority priority
-
c
private final long c
-
-
Constructor Detail
-
NextTickListEntry
public NextTickListEntry(BlockPos p_i48978_1_, T p_i48978_2_, long p_i48978_3_, TickPriority p_i48978_5_)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
createTimeComparator
public static <T> java.util.Comparator<NextTickListEntry<T>> createTimeComparator()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getType
public T getType()
-
-