Uses of Interface
net.minecraft.world.level.timers.TimerCallback
Packages that use TimerCallback
-
Uses of TimerCallback in net.minecraft.world.level.timers
Classes in net.minecraft.world.level.timers that implement TimerCallbackFields in net.minecraft.world.level.timers declared as TimerCallbackModifier and TypeFieldDescriptionprivate final TimerCallback<T> TimerQueue.Event.callbackThe field for thecallbackrecord component.private final TimerCallback<T> TimerQueue.Event.Packed.callbackThe field for thecallbackrecord component.Fields in net.minecraft.world.level.timers with type parameters of type TimerCallbackModifier and TypeFieldDescriptionprivate final Codec<TimerCallback<C>> TimerCallbacks.codecprivate final ExtraCodecs.LateBoundIdMapper<Identifier, MapCodec<? extends TimerCallback<C>>> TimerCallbacks.idMapperMethods in net.minecraft.world.level.timers that return TimerCallbackModifier and TypeMethodDescriptionTimerQueue.Event.callback()Returns the value of thecallbackrecord component.TimerQueue.Event.Packed.callback()Returns the value of thecallbackrecord component.Methods in net.minecraft.world.level.timers that return types with arguments of type TimerCallbackModifier and TypeMethodDescriptionMapCodec<? extends TimerCallback<T>> TimerCallback.codec()TimerCallbacks.codec()Methods in net.minecraft.world.level.timers with parameters of type TimerCallbackModifier and TypeMethodDescriptionvoidTimerQueue.schedule(String id, long time, TimerCallback<T> callback) Method parameters in net.minecraft.world.level.timers with type arguments of type TimerCallbackModifier and TypeMethodDescriptionstatic <T> Codec<TimerQueue.Event.Packed<T>> TimerQueue.Event.Packed.codec(Codec<TimerCallback<T>> callbackCodec) static <T> Codec<TimerQueue.Packed<T>> TimerQueue.Packed.codec(Codec<TimerCallback<T>> callbackCodec) TimerCallbacks.register(Identifier id, MapCodec<? extends TimerCallback<C>> codec) Constructors in net.minecraft.world.level.timers with parameters of type TimerCallbackModifierConstructorDescriptionEvent(long triggerTime, com.google.common.primitives.UnsignedLong sequentialId, String id, TimerCallback<T> callback) Creates an instance of aEventrecord class.Packed(long triggerTime, String id, TimerCallback<T> callback) Creates an instance of aPackedrecord class.