Uses of Interface
net.minecraft.world.timer.TimerCallback
-
Uses of TimerCallback in net.minecraft.world.timer
Modifier and TypeClassDescriptionstatic class
TimerCallback.Serializer<T,
C extends TimerCallback<T>> Modifier and TypeMethodDescriptionprivate <T extends TimerCallback<C>>
TimerCallback.Serializer<C,T> TimerCallbackSerializer.getSerializer
(Class<?> clazz) <T extends TimerCallback<C>>
NbtCompoundTimerCallbackSerializer.serialize
(T callback) Modifier and TypeMethodDescriptionvoid
Timer.setEvent
(String name, long triggerTime, TimerCallback<T> callback) ModifierConstructorDescription(package private)
Event
(long triggerTime, UnsignedLong id, String name, TimerCallback<T> callback)