Uses of Interface
net.minecraft.world.timer.TimerCallback
Packages that use TimerCallback
-
Uses of TimerCallback in net.minecraft.world.timer
Classes in net.minecraft.world.timer that implement TimerCallbackModifier and TypeClassDescriptionfinal record
final record
Fields in net.minecraft.world.timer declared as TimerCallbackFields in net.minecraft.world.timer with type parameters of type TimerCallbackModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec
<TimerCallback<C>> TimerCallbackSerializer.codec
private final Codecs.IdMapper
<Identifier, com.mojang.serialization.MapCodec<? extends TimerCallback<C>>> TimerCallbackSerializer.idMapper
Methods in net.minecraft.world.timer that return types with arguments of type TimerCallbackModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends TimerCallback<T>> TimerCallback.getCodec()
com.mojang.serialization.Codec
<TimerCallback<C>> TimerCallbackSerializer.getCodec()
Methods in net.minecraft.world.timer with parameters of type TimerCallbackModifier and TypeMethodDescriptionvoid
Timer.setEvent
(String name, long triggerTime, TimerCallback<T> callback) Method parameters in net.minecraft.world.timer with type arguments of type TimerCallbackModifier and TypeMethodDescriptionTimerCallbackSerializer.registerSerializer
(Identifier id, com.mojang.serialization.MapCodec<? extends TimerCallback<C>> codec) Constructors in net.minecraft.world.timer with parameters of type TimerCallbackModifierConstructorDescription(package private)
Event
(long triggerTime, UnsignedLong id, String name, TimerCallback<T> callback)