Class ITimerCallback.Serializer<T,C extends ITimerCallback<T>>

java.lang.Object
net.minecraft.command.ITimerCallback.Serializer<T,C>
Direct Known Subclasses:
TimedFunction.Serializer, TimedFunctionTag.Serializer
Enclosing interface:
ITimerCallback<T>

public abstract static class ITimerCallback.Serializer<T,C extends ITimerCallback<T>> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public ResourceLocation getId()
    • getCls

      public Class<?> getCls()
    • serialize

      public abstract void serialize(CompoundNBT p_212847_1_, C p_212847_2_)
    • deserialize

      public abstract C deserialize(CompoundNBT p_212846_1_)