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