net.minecraft.world.level.timers

public class TimerQueue<T>

crz
net.minecraft.world.level.timers.TimerQueue
net.minecraft.class_236
net.minecraft.world.timer.Timer
net.minecraft.command.TimerCallbackManager
net.minecraft.server.v1_14_R1.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 Map<String, TimerQueue$Event<T>>
e
events
field_1312
eventsByName
field_216337_e

Constructor summary

ModifierConstructor
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)
private void
c(String arg0, long arg1, crx<T> arg2)
addEvent(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_216328_c(String arg0, long arg1, ITimerCallback<T> arg2)
public boolean
a(String arg0, long arg1, crx<T> arg2)
schedule(String arg0, long arg1, TimerCallback<T> arg2)
method_981(String arg0, long arg1, class_234<T> arg2)
addEvent(String arg0, long arg1, TimerCallback<T> arg2)
func_216325_a(String arg0, long arg1, ITimerCallback<T> arg2)
public void
b(String arg0, long arg1, crx<T> arg2)
reschedule(String arg0, long arg1, TimerCallback<T> arg2)
method_984(String arg0, long arg1, class_234<T> arg2)
replaceEvent(String name, long triggerTime, TimerCallback<T> callback)
func_216326_b(String arg0, long arg1, ITimerCallback<T> arg2)
private void
a(id arg0)
loadEvent(CompoundTag arg0)
method_986(class_2487 arg0)
addEvent(CompoundTag tag)
func_216329_a(CompoundNBT arg0)
public void
a(ik arg0)
load(ListTag arg0)
method_979(class_2499 arg0)
fromTag(ListTag tag)
func_216323_a(ListNBT arg0)
private CompoundTag
a(crz$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()
toTag()
func_216327_b()