public class ScheduledTick<T> extends Object
Modifier and Type | Field and Description |
---|---|
private long |
id |
private static long |
idCounter |
private T |
object |
BlockPos |
pos |
TickPriority |
priority |
long |
time |
Constructor and Description |
---|
ScheduledTick(BlockPos pos,
T t) |
ScheduledTick(BlockPos pos,
T t,
long time,
TickPriority priority) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static <T> Comparator<ScheduledTick<T>> |
getComparator() |
T |
getObject() |
int |
hashCode() |
String |
toString() |
private static long idCounter
private final T object
public final BlockPos pos
public final long time
public final TickPriority priority
private final long id
public ScheduledTick(BlockPos pos, T t, long time, TickPriority priority)
public static <T> Comparator<ScheduledTick<T>> getComparator()
public T getObject()