net.minecraft.world.level.timers

public class TimerQueue<T>

dcf
net.minecraft.world.level.timers.TimerQueue
net.minecraft.class_236
net.minecraft.world.timer.Timer
net.minecraft.command.TimerCallbackManager
net.minecraft.server.v1_16_R3.CustomFunctionCallbackTimerQueue

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_1315
LOGGER
field_216333_a
private final TimerCallbacks<T>
b
callbacksRegistry
field_1314
callback
field_216334_b
private final Queue<TimerQueue$Event<T>>
c
queue
field_1313
events
field_216335_c
private com.google.common.primitives.UnsignedLong
d
sequentialId
field_1311
eventCounter
field_216336_d
private final com.google.common.collect.Table<String, Long, TimerQueue$Event<T>>
e
events
field_1312
eventsByName
field_216337_e

Constructor summary

ModifierConstructor
public (TimerCallbacks<T> arg0, Stream<com.mojang.serialization.Dynamic<Tag>> arg1)
public (TimerCallbacks<T> timerCallbackSerializer)

Method summary

Modifier and TypeMethod
private static <T> Comparator<TimerQueue$Event<T>>
c()
createComparator()
method_987()
createEventComparator()
func_216330_c()
public void
a(T arg0, long arg1)
tick(T arg0, long arg1)
method_988(T arg0, long arg1)
processEvents(T server, long time)
func_216331_a(T arg0, long arg1)
public void
a(String arg0, long arg1, dcd<T> arg2)
schedule(String arg0, long arg1, TimerCallback<T> arg2)
method_985(String arg0, long arg1, class_234<T> arg2)
setEvent(String name, long triggerTime, TimerCallback<T> callback)
func_227576_a_(String arg0, long arg1, ITimerCallback<T> arg2)
public int
a(String arg0)
remove(String arg0)
method_22593(String arg0)
method_22593(String arg0)
func_227575_a_(String arg0)
public Set<String>
a()
getEventsIds()
method_22592()
method_22592()
func_227574_a_()
private void
a(md arg0)
loadEvent(CompoundTag arg0)
method_986(class_2487 arg0)
addEvent(NbtCompound nbt)
func_216329_a(CompoundNBT arg0)
private CompoundTag
a(dcf$a<T> arg0)
storeEvent(TimerQueue$Event<T> arg0)
method_980(class_236$class_237<T> arg0)
serialize(Timer$Event<T> event)
func_216332_a(TimerCallbackManager$Entry<T> arg0)
public ListTag
b()
store()
method_982()
toNbt()
func_216327_b()