net.minecraft.server.world.tick

public class ServerTickList<T>

implements TickList<T>

bhv
net.minecraft.class_1949
net.minecraft.server.world.tick.ServerTickList
net.minecraft.world.ServerTickList
net.minecraft.world.ServerTickList

Field summary

Modifier and TypeField
protected final Predicate<T>
a
field_9297
filter
field_205371_a
filter
private final Function<T, Identifier>
b
field_9294
typeToKey
field_205372_b
serializer
private final Function<Identifier, T>
c
field_19309
f_74178739
field_205373_c
deserializer
private final Set<ScheduledTick<T>>
d
field_9296
ticks
field_205374_d
pendingTickListEntriesHashSet
private final TreeSet<ScheduledTick<T>>
e
field_19341
f_51078044
field_205375_e
pendingTickListEntriesTreeSet
private final ServerWorld
f
field_9301
world
field_205376_f
world
private final Queue<ScheduledTick<T>>
g
field_9299
ticksThisTick
field_205377_g
pendingTickListEntriesThisTick
private final List<ScheduledTick<T>>
h
field_19338
f_50537175
field_223189_h
field_223189_h
private final Consumer<ScheduledTick<T>>
i
field_9300
ticker
field_205378_h
tickFunction

Constructor summary

ModifierConstructor
public (ServerWorld world, Predicate<T> filter, Function<T, Identifier> typeToKey, Function<Identifier, T> keyToType, Consumer<ScheduledTick<T>> ticker)

Method summary

Modifier and TypeMethod
public void
a()
method_8670()
tick()
func_205365_a()
tick()
public boolean
b(ev arg0, T arg1)
method_8677(class_2338 arg0, T arg1)
willTickThisTick(BlockPos arg0, T arg1)
func_205361_b(BlockPos arg0, T arg1)
isTickPending(BlockPos arg0, T arg1)
public void
a(Stream<bhy<T>> arg0)
method_20470(Stream<class_1954<T>> arg0)
m_27960277(Stream<ScheduledTick<T>> arg0)
func_219497_a(Stream<NextTickListEntry<T>> arg0)
func_219497_a(Stream<NextTickListEntry<T>> arg0)
public List<ScheduledTick<T>>
a(bgu arg0, boolean arg1, boolean arg2)
method_8671(class_1923 arg0, boolean arg1, boolean arg2)
getScheduledTicks(ChunkPos arg0, boolean arg1, boolean arg2)
func_223188_a(ChunkPos arg0, boolean arg1, boolean arg2)
func_223188_a(ChunkPos arg0, boolean arg1, boolean arg2)
public List<ScheduledTick<T>>
a(cht arg0, boolean arg1, boolean arg2)
method_8672(class_3341 arg0, boolean arg1, boolean arg2)
getScheduledTicks(StructureBox arg0, boolean arg1, boolean arg2)
func_205366_a(MutableBoundingBox arg0, boolean arg1, boolean arg2)
getPending(MutableBoundingBox arg0, boolean remove, boolean arg2)
private List<ScheduledTick<T>>
a(List<bhy<T>> arg0, Collection<bhy<T>> arg1, cht arg2, boolean arg3)
method_20596(List<class_1954<T>> arg0, Collection<class_1954<T>> arg1, class_3341 arg2, boolean arg3)
m_79664726(List<ScheduledTick<T>> arg0, Collection<ScheduledTick<T>> arg1, StructureBox arg2, boolean arg3)
func_223187_a(List<NextTickListEntry<T>> arg0, Collection<NextTickListEntry<T>> arg1, MutableBoundingBox arg2, boolean arg3)
func_223187_a(List<NextTickListEntry<T>> arg0, Collection<NextTickListEntry<T>> arg1, MutableBoundingBox arg2, boolean arg3)
public void
a(cht arg0, ev arg1)
method_8666(class_3341 arg0, class_2338 arg1)
copy(StructureBox bounds, BlockPos offset)
func_205368_a(MutableBoundingBox arg0, BlockPos arg1)
copyTicks(MutableBoundingBox area, BlockPos offset)
public NbtList
a(bgu arg0)
method_8669(class_1923 arg0)
toNbt(ChunkPos arg0)
func_219503_a(ChunkPos arg0)
func_219503_a(ChunkPos arg0)
public static <T> NbtList
a(Function<T, qs> arg0, Iterable<bhy<T>> arg1, long arg2)
method_20469(Function<T, class_2960> arg0, Iterable<class_1954<T>> arg1, long arg2)
m_72900200(Function<T, Identifier> arg0, Iterable<ScheduledTick<T>> arg1, long arg2)
func_219502_a(Function<T, ResourceLocation> arg0, Iterable<NextTickListEntry<T>> arg1, long arg2)
func_219502_a(Function<T, ResourceLocation> arg0, Iterable<NextTickListEntry<T>> arg1, long arg2)
public boolean
a(ev arg0, T arg1)
method_8674(class_2338 arg0, T arg1)
hasScheduledTick(BlockPos arg0, T arg1)
func_205359_a(BlockPos arg0, T arg1)
isTickScheduled(BlockPos arg0, T arg1)
public void
a(ev arg0, T arg1, int arg2, bhz arg3)
method_8675(class_2338 arg0, T arg1, int arg2, class_1953 arg3)
scheduleTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
func_205362_a(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
scheduleTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
private void
a(bhy<T> arg0)
method_20514(class_1954<T> arg0)
m_94908456(ScheduledTick<T> arg0)
func_219504_a(NextTickListEntry<T> arg0)
func_219504_a(NextTickListEntry<T> arg0)