net.minecraft.world.level.timers

public class TimerCallbacks<C>

dmr
net.minecraft.world.level.timers.TimerCallbacks
net.minecraft.class_233
net.minecraft.world.timer.TimerCallbackSerializer
net.minecraft.src.C_3036_
net.minecraft.world.level.timers.CustomFunctionCallbackTimers

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public TimerCallbacks<C>
a(dmq$a<C, ?> arg0)
register(TimerCallback$Serializer<C, ?> arg0)
method_971(class_234$class_235<C, ?> arg0)
registerSerializer(TimerCallback$Serializer<C, ?> serializer)
m_82232_(C_3034_$C_3035_<C, ?> arg0)
private <T extends TimerCallback<C>> TimerCallback$Serializer<C, T>
a(Class<?> arg0)
getSerializer(Class<?> arg0)
method_970(Class<?> arg0)
getSerializer(Class<?> arg0)
m_82236_(Class<?> arg0)
public <T extends TimerCallback<C>> CompoundTag
a(T arg0)
serialize(T arg0)
method_973(T arg0)
serialize(T callback)
m_82234_(T arg0)
public TimerCallback<C>
a(na arg0)
deserialize(CompoundTag arg0)
method_972(class_2487 arg0)
deserialize(NbtCompound nbt)
m_82238_(C_4917_ arg0)