net.minecraft.world.level

public class ServerTickList<T>

implements TickList<T>

bkg
net.minecraft.world.level.ServerTickList
net.minecraft.class_1949
net.minecraft.server.world.ServerTickScheduler
net.minecraft.world.server.ServerTickList
net.minecraft.server.v1_15_R1.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 Function<ResourceLocation, T>
c
fromId
field_19309
nameToId
field_205373_c
private final Set<TickNextTickData<T>>
d
tickNextTickSet
field_9296
scheduledTickActions
field_205374_d
nextTickListHash
private final TreeSet<TickNextTickData<T>>
e
tickNextTickList
field_19341
scheduledTickActionsInOrder
field_205375_e
nextTickList
private final ServerLevel
f
level
field_9301
world
field_205376_f
private final Queue<TickNextTickData<T>>
g
currentlyTicking
field_9299
currentTickActions
field_205377_g
private final List<TickNextTickData<T>>
h
alreadyTicked
field_19338
consumedTickActions
field_223189_h
private final Consumer<TickNextTickData<T>>
i
ticker
field_9300
tickConsumer
field_205378_h

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b()
tick()
method_8670()
tick()
func_205365_a()
public boolean
b(fk 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 void
a(Stream<bkj<T>> arg0)
addAll(Stream<TickNextTickData<T>> arg0)
method_20470(Stream<class_1954<T>> arg0)
scheduleAll(Stream<ScheduledTick<T>> arg0)
func_219497_a(Stream<NextTickListEntry<T>> arg0)
public List<TickNextTickData<T>>
a(bje 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(cky 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<bkj<T>> arg0, Collection<bkj<T>> arg1, cky 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(cky arg0, fk 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(bje arg0)
save(ChunkPos arg0)
method_8669(class_1923 arg0)
toTag(ChunkPos arg0)
func_219503_a(ChunkPos arg0)
public static <T> ListTag
a(Function<T, sm> arg0, Iterable<bkj<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(fk 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(fk arg0, T arg1, int arg2, bkk 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(bkj<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()
func_225420_a()