Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<BlockPos,ITickList<T>> |
tickListProvider |
Constructor and Description |
---|
WorldGenTickList(java.util.function.Function<BlockPos,ITickList<T>> tickListProviderIn) |
Modifier and Type | Method and Description |
---|---|
void |
addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_) |
boolean |
isTickPending(BlockPos pos,
T obj) |
boolean |
isTickScheduled(BlockPos pos,
T itemIn) |
void |
scheduleTick(BlockPos pos,
T itemIn,
int scheduledTime,
TickPriority priority) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
scheduleTick
public boolean isTickScheduled(BlockPos pos, T itemIn)
isTickScheduled
in interface ITickList<T>
public void scheduleTick(BlockPos pos, T itemIn, int scheduledTime, TickPriority priority)
scheduleTick
in interface ITickList<T>
public boolean isTickPending(BlockPos pos, T obj)
isTickPending
in interface ITickList<T>
public void addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_)