public static class FunctionTagTimerCallback.Serializer extends TimerCallback.Serializer<MinecraftServer,FunctionTagTimerCallback>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
FunctionTagTimerCallback |
deserialize(CompoundTag compoundTag) |
void |
serialize(CompoundTag compoundTag,
FunctionTagTimerCallback functionTagTimerCallback) |
getCallbackClass, getId
public void serialize(CompoundTag compoundTag, FunctionTagTimerCallback functionTagTimerCallback)
serialize
in class TimerCallback.Serializer<MinecraftServer,FunctionTagTimerCallback>
public FunctionTagTimerCallback deserialize(CompoundTag compoundTag)
deserialize
in class TimerCallback.Serializer<MinecraftServer,FunctionTagTimerCallback>