net.minecraft.world.level

public class ServerTickList<T>

implements TickList<T>

bsl
net.minecraft.world.level.ServerTickList
net.minecraft.class_1949
net.minecraft.server.world.ServerTickScheduler
net.minecraft.world.server.ServerTickList
net.minecraft.server.v1_16_R3.TickListServer

Field summary

Modifier and TypeField
protected final Predicate<T>
a
ignore
field_9297
invalidObjPredicate
field_205371_a
private final Function<T, ResourceLocation>
b
toId
field_9294
idToName
field_205372_b
private final Set<TickNextTickData<T>>
c
tickNextTickSet
field_9296
scheduledTickActions
field_205374_d
nextTickListHash
private final TreeSet<TickNextTickData<T>>
d
tickNextTickList
field_19341
scheduledTickActionsInOrder
field_205375_e
nextTickList
private final ServerLevel
e
level
field_9301
world
field_205376_f
private final Queue<TickNextTickData<T>>
f
currentlyTicking
field_9299
currentTickActions
field_205377_g
private final List<TickNextTickData<T>>
g
alreadyTicked
field_19338
consumedTickActions
field_223189_h
private final Consumer<TickNextTickData<T>>
h
ticker
field_9300
tickConsumer
field_205378_h

Constructor summary

ModifierConstructor
public (ServerLevel world, Predicate<T> invalidObjPredicate, Function<T, ResourceLocation> idToName, Consumer<TickNextTickData<T>> arg3)

Method summary

Modifier and TypeMethod
public void
b()
tick()
method_8670()
tick()
func_205365_a()
public boolean
b(fx arg0, T arg1)
willTickThisTick(BlockPos arg0, T arg1)
method_8677(class_2338 arg0, T arg1)
isTicking(BlockPos arg0, T arg1)
func_205361_b(BlockPos arg0, T arg1)
public List<TickNextTickData<T>>
a(brd arg0, boolean arg1, boolean arg2)
fetchTicksInChunk(ChunkPos arg0, boolean arg1, boolean arg2)
method_8671(class_1923 arg0, boolean arg1, boolean arg2)
getScheduledTicksInChunk(ChunkPos arg0, boolean updateState, boolean getStaleTicks)
func_223188_a(ChunkPos arg0, boolean arg1, boolean arg2)
public List<TickNextTickData<T>>
a(cra arg0, boolean arg1, boolean arg2)
fetchTicksInArea(BoundingBox arg0, boolean arg1, boolean arg2)
method_8672(class_3341 arg0, boolean arg1, boolean arg2)
getScheduledTicks(BlockBox bounds, boolean updateState, boolean getStaleTicks)
func_205366_a(MutableBoundingBox arg0, boolean arg1, boolean arg2)
private List<TickNextTickData<T>>
a(List<bsp<T>> arg0, Collection<bsp<T>> arg1, cra arg2, boolean arg3)
fetchTicksInArea(List<TickNextTickData<T>> arg0, Collection<TickNextTickData<T>> arg1, BoundingBox arg2, boolean arg3)
method_20596(List<class_1954<T>> arg0, Collection<class_1954<T>> arg1, class_3341 arg2, boolean arg3)
transferTicksInBounds(List<ScheduledTick<T>> dst, Collection<ScheduledTick<T>> src, BlockBox bounds, boolean move)
func_223187_a(List<NextTickListEntry<T>> arg0, Collection<NextTickListEntry<T>> arg1, MutableBoundingBox arg2, boolean arg3)
public void
a(cra arg0, fx arg1)
copy(BoundingBox arg0, BlockPos arg1)
method_8666(class_3341 arg0, class_2338 arg1)
copyScheduledTicks(BlockBox box, BlockPos offset)
func_205368_a(MutableBoundingBox arg0, BlockPos arg1)
public ListTag
a(brd arg0)
save(ChunkPos arg0)
method_8669(class_1923 arg0)
toTag(ChunkPos arg0)
func_219503_a(ChunkPos arg0)
private static <T> ListTag
a(Function<T, vk> arg0, Iterable<bsp<T>> arg1, long arg2)
saveTickList(Function<T, ResourceLocation> arg0, Iterable<TickNextTickData<T>> arg1, long arg2)
method_20469(Function<T, class_2960> arg0, Iterable<class_1954<T>> arg1, long arg2)
serializeScheduledTicks(Function<T, Identifier> identifierProvider, Iterable<ScheduledTick<T>> scheduledTicks, long time)
func_219502_a(Function<T, ResourceLocation> arg0, Iterable<NextTickListEntry<T>> arg1, long arg2)
public boolean
a(fx arg0, T arg1)
hasScheduledTick(BlockPos arg0, T arg1)
method_8674(class_2338 arg0, T arg1)
isScheduled(BlockPos arg0, T arg1)
func_205359_a(BlockPos arg0, T arg1)
public void
a(fx arg0, T arg1, int arg2, bsq arg3)
scheduleTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
method_8675(class_2338 arg0, T arg1, int arg2, class_1953 arg3)
schedule(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
func_205362_a(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
private void
a(bsp<T> arg0)
addTickData(TickNextTickData<T> arg0)
method_20514(class_1954<T> arg0)
addScheduledTick(ScheduledTick<T> arg0)
func_219504_a(NextTickListEntry<T> arg0)
public int
a()
size()
method_20825()
getTicks()
func_225420_a()