net.minecraft.world.level.timers

public class TimerCallbacks<C>

dec
net.minecraft.world.level.timers.TimerCallbacks
net.minecraft.class_233
net.minecraft.world.timer.TimerCallbackSerializer
net.minecraft.command.TimerCallbackSerializers
net.minecraft.server.v1_16_R1.CustomFunctionCallbackTimers

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public TimerCallbacks<C>
a(deb$a<C, ?> arg0)
register(TimerCallback$Serializer<C, ?> arg0)
method_971(class_234$class_235<C, ?> arg0)
registerSerializer(TimerCallback$Serializer<C, ?> serializer)
func_216340_a(ITimerCallback$Serializer<C, ?> arg0)
private <T extends TimerCallback<C>> TimerCallback$Serializer<C, T>
a(Class<?> arg0)
getSerializer(Class<?> arg0)
method_970(Class<?> arg0)
getSerializer(Class<?> arg0)
func_216338_a(Class<?> arg0)
public <T extends TimerCallback<C>> CompoundTag
a(T arg0)
serialize(T arg0)
method_973(T arg0)
serialize(T callback)
func_216339_a(T arg0)
public TimerCallback<C>
a(le arg0)
deserialize(CompoundTag arg0)
method_972(class_2487 arg0)
deserialize(CompoundTag tag)
func_216341_a(CompoundNBT arg0)