Package net.minecraft.world.level.timers
Class TimerQueue<T>
java.lang.Object
net.minecraft.world.level.timers.TimerQueue<T>
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final TimerCallbacks<T>private final com.google.common.collect.Table<String,Long, TimerQueue.Event<T>> private static final org.slf4j.Loggerprivate final Queue<TimerQueue.Event<T>>private com.google.common.primitives.UnsignedLongprivate static final Stringprivate static final String - 
Constructor Summary
ConstructorsConstructorDescriptionTimerQueue(TimerCallbacks<T> p_82247_) TimerQueue(TimerCallbacks<T> p_82249_, Stream<? extends com.mojang.serialization.Dynamic<?>> p_82250_)  - 
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> Comparator<TimerQueue.Event<T>>private voidloadEvent(CompoundTag p_82266_) intvoidschedule(String p_82262_, long p_82263_, TimerCallback<T> p_82264_) store()private CompoundTagstoreEvent(TimerQueue.Event<T> p_82255_) void 
- 
Field Details
- 
LOGGER
private static final org.slf4j.Logger LOGGER - 
CALLBACK_DATA_TAG
- See Also:
 
 - 
TIMER_NAME_TAG
- See Also:
 
 - 
TIMER_TRIGGER_TIME_TAG
- See Also:
 
 - 
callbacksRegistry
 - 
queue
 - 
sequentialId
private com.google.common.primitives.UnsignedLong sequentialId - 
events
 
 - 
 - 
Constructor Details
- 
TimerQueue
public TimerQueue(TimerCallbacks<T> p_82249_, Stream<? extends com.mojang.serialization.Dynamic<?>> p_82250_)  - 
TimerQueue
 
 - 
 - 
Method Details
- 
createComparator
 - 
tick
 - 
schedule
 - 
remove
 - 
getEventsIds
 - 
loadEvent
 - 
storeEvent
 - 
store
 
 -