net.minecraft.world.level

public class ServerTickList<T>

implements TickList<T>

bxf
net.minecraft.world.level.ServerTickList
net.minecraft.class_1949
net.minecraft.server.world.ServerTickScheduler
net.minecraft.src.C_1619_
net.minecraft.world.level.TickListServer

Field summary

Modifier and TypeField
public static final int
a
MAX_TICK_BLOCKS_PER_TICK
field_30975
field_30975
f_151628_
protected final Predicate<T>
b
ignore
field_9297
invalidObjPredicate
f_47207_
private final Function<T, ResourceLocation>
c
toId
field_9294
idToName
f_47208_
private final Set<TickNextTickData<T>>
d
tickNextTickSet
field_9296
scheduledTickActions
f_47209_
private final Set<TickNextTickData<T>>
e
tickNextTickList
field_19341
scheduledTickActionsInOrder
f_47210_
private final ServerLevel
f
level
field_9301
world
f_47211_
private final Queue<TickNextTickData<T>>
g
currentlyTicking
field_9299
currentTickActions
f_47212_
private final List<TickNextTickData<T>>
h
alreadyTicked
field_19338
consumedTickActions
f_47213_
private final Consumer<TickNextTickData<T>>
i
ticker
field_9300
tickConsumer
f_47214_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b()
tick()
method_8670()
tick()
m_47253_()
public boolean
b(gg arg0, T arg1)
willTickThisTick(BlockPos arg0, T arg1)
method_8677(class_2338 arg0, T arg1)
isTicking(BlockPos arg0, T arg1)
m_5913_(C_4675_ p_47256_, T arg1)
public List<TickNextTickData<T>>
a(bvv arg0, boolean arg1, boolean arg2)
fetchTicksInChunk(ChunkPos arg0, boolean arg1, boolean arg2)
method_8671(class_1923 arg0, boolean arg1, boolean arg2)
getScheduledTicksInChunk(ChunkPos pos, boolean updateState, boolean getStaleTicks)
m_47223_(C_1560_ p_47225_, boolean p_47226_, boolean arg2)
public List<TickNextTickData<T>>
a(dar 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)
m_47232_(C_2478_ p_47234_, boolean p_47235_, boolean arg2)
private List<TickNextTickData<T>>
a(List<bxj<T>> arg0, Collection<bxj<T>> arg1, dar 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)
m_47244_(List<C_1623_<T>> p_47246_, Collection<C_1623_<T>> p_47247_, C_2478_ p_47248_, boolean arg3)
public void
a(dar arg0, gg arg1)
copy(BoundingBox arg0, BlockPos arg1)
method_8666(class_3341 arg0, class_2338 arg1)
copyScheduledTicks(BlockBox box, BlockPos offset)
m_47229_(C_2478_ p_47231_, C_4675_ arg1)
public ListTag
a(bvv arg0)
save(ChunkPos arg0)
method_8669(class_1923 arg0)
toNbt(ChunkPos arg0)
m_47221_(C_1560_ arg0)
private static <T> ListTag
a(Function<T, ww> arg0, Iterable<bxj<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)
m_47249_(Function<T, C_5265_> p_47250_, Iterable<C_1623_<T>> p_47251_, long p_47252_)
public boolean
a(gg arg0, T arg1)
hasScheduledTick(BlockPos arg0, T arg1)
method_8674(class_2338 arg0, T arg1)
isScheduled(BlockPos arg0, T arg1)
m_5916_(C_4675_ p_47238_, T arg1)
public void
a(gg arg0, T arg1, int arg2, bxk 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)
m_7663_(C_4675_ p_47241_, T p_47242_, int p_47243_, C_1624_ arg3)
private void
a(bxj<T> arg0)
addTickData(TickNextTickData<T> arg0)
method_20514(class_1954<T> arg0)
addScheduledTick(ScheduledTick<T> tick)
m_47227_(C_1623_<T> arg0)
public int
a()
size()
method_20825()
getTicks()
m_142536_()