net.minecraft.world.level.timers

public class TimerCallbacks<C>

fbk
net.minecraft.world.level.timers.TimerCallbacks
net.minecraft.class_233
net.minecraft.world.timer.TimerCallbackSerializer
net.minecraft.world.level.timers.CustomFunctionCallbackTimers

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_1308
LOGGER
public static final TimerCallbacks<MinecraftServer>
a
SERVER_CALLBACKS
field_1306
INSTANCE
private final Map<ResourceLocation, TimerCallback$Serializer<C, ?>>
c
idToSerializer
field_1307
serializersByType
private final Map<Class<?>, TimerCallback$Serializer<C, ?>>
d
classToSerializer
field_1305
serializersByClass

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public TimerCallbacks<C>
a(fbj$a<C, ?> arg0)
register(TimerCallback$Serializer<C, ?> arg0)
method_971(class_234$class_235<C, ?> arg0)
registerSerializer(TimerCallback$Serializer<C, ?> serializer)
private <T extends TimerCallback<C>> TimerCallback$Serializer<C, T>
a(Class<?> arg0)
getSerializer(Class<?> arg0)
method_970(Class<?> arg0)
getSerializer(Class<?> clazz)
public <T extends TimerCallback<C>> CompoundTag
a(T arg0)
serialize(T arg0)
method_973(T arg0)
serialize(T callback)
public TimerCallback<C>
a(ux arg0)
deserialize(CompoundTag arg0)
method_972(class_2487 arg0)
deserialize(NbtCompound nbt)