Package net.minecraft.world.level.timers
Class TimerCallbacks<C>
java.lang.Object
net.minecraft.world.level.timers.TimerCallbacks<C>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<Class<?>, TimerCallback.Serializer<C, ?>> private final Map
<ResourceLocation, TimerCallback.Serializer<C, ?>> private static final org.slf4j.Logger
static final TimerCallbacks
<MinecraftServer> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(CompoundTag p_82239_) private <T extends TimerCallback<C>>
TimerCallback.Serializer<C, T> getSerializer
(Class<?> p_82237_) register
(TimerCallback.Serializer<C, ?> p_82233_) <T extends TimerCallback<C>>
CompoundTagserialize
(T p_82235_)