net.minecraft.world.level.timers

public class TimerQueue<T>

dms
net.minecraft.world.level.timers.TimerQueue
net.minecraft.class_236
net.minecraft.unmapped.C_sboqtqtk
net.minecraft.world.timer.Timer
net.minecraft.src.C_3037_
net.minecraft.world.level.timers.CustomFunctionCallbackTimerQueue

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_1315
f_jfpwwabd
LOGGER
f_82240_
private static final String
b
CALLBACK_DATA_TAG
field_31876
f_bdlqfqgv
CALLBACK_KEY
f_165876_
private static final String
c
TIMER_NAME_TAG
field_31877
f_grdpzmro
NAME_KEY
f_165877_
private static final String
d
TIMER_TRIGGER_TIME_TAG
field_31878
f_tbxnnkop
TRIGGER_TIME_KEY
f_165878_
private final TimerCallbacks<T>
e
callbacksRegistry
field_1314
f_toercvkz
callback
f_82241_
private final Queue<TimerQueue$Event<T>>
f
queue
field_1313
f_eteiojaq
events
f_82242_
private com.google.common.primitives.UnsignedLong
g
sequentialId
field_1311
f_xmszzkfe
eventCounter
f_82243_
private final com.google.common.collect.Table<String, Long, TimerQueue$Event<T>>
h
events
field_1312
f_ymnhndya
eventsByName
f_82244_

Constructor summary

ModifierConstructor
public (TimerCallbacks<T> p_82250_, 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()
m_wxjlwjuc()
createEventComparator()
m_82270_()
public void
a(T arg0, long arg1)
tick(T arg0, long arg1)
method_988(T arg0, long arg1)
m_aoznuufu(T arg0, long arg1)
processEvents(T server, long time)
m_82256_(T p_82258_, long arg1)
public void
a(String arg0, long arg1, dmq<T> arg2)
schedule(String arg0, long arg1, TimerCallback<T> arg2)
method_985(String arg0, long arg1, class_234<T> arg2)
m_uqguxpwb(String arg0, long arg1, C_kjeqrobd<T> arg2)
setEvent(String name, long triggerTime, TimerCallback<T> callback)
m_82261_(String p_82263_, long p_82264_, C_3034_<T> arg2)
public int
a(String arg0)
remove(String arg0)
method_22593(String arg0)
m_lmvytjit(String arg0)
method_22593(String arg0)
m_82259_(String arg0)
public Set<String>
a()
getEventsIds()
method_22592()
m_okshciob()
method_22592()
m_82251_()
private void
a(na arg0)
loadEvent(CompoundTag arg0)
method_986(class_2487 arg0)
m_cwdhrtax(C_hhlwcnih arg0)
addEvent(NbtCompound nbt)
m_82265_(C_4917_ arg0)
private CompoundTag
a(dms$a<T> arg0)
storeEvent(TimerQueue$Event<T> arg0)
method_980(class_236$class_237<T> arg0)
m_cbrpmkwz(C_sboqtqtk$C_qqvvclky<T> arg0)
serialize(Timer$Event<T> event)
m_82254_(C_3037_$C_3039_<T> arg0)
public ListTag
b()
store()
method_982()
m_uqrxoayz()
toNbt()
m_82267_()