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

java.lang.Object
net.minecraft.world.timer.TimerCallback.Serializer<T,C>
Direct Known Subclasses:
FunctionTagTimerCallback.Serializer, FunctionTimerCallback.Serializer
Enclosing interface:
TimerCallback<T>

public abstract static class TimerCallback.Serializer<T,C extends TimerCallback<T>> extends Object
Mappings:
Namespace Name
named net/minecraft/world/timer/TimerCallback$Serializer
intermediary net/minecraft/class_234$class_235
official eve$a
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/world/timer/TimerCallback$Serializer;id:Lnet/minecraft/util/Identifier;
      intermediary field_1309 Lnet/minecraft/class_234$class_235;field_1309:Lnet/minecraft/class_2960;
      official a Leve$a;a:Lalf;
    • callbackClass

      private final Class<?> callbackClass
      Mappings:
      Namespace Name Mixin selector
      named callbackClass Lnet/minecraft/world/timer/TimerCallback$Serializer;callbackClass:Ljava/lang/Class;
      intermediary field_1310 Lnet/minecraft/class_234$class_235;field_1310:Ljava/lang/Class;
      official b Leve$a;b:Ljava/lang/Class;
  • Constructor Details

    • Serializer

      public Serializer(Identifier id, Class<?> callbackClass)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/timer/TimerCallback$Serializer;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/Class;)V
      intermediary <init> Lnet/minecraft/class_234$class_235;<init>(Lnet/minecraft/class_2960;Ljava/lang/Class;)V
      official <init> Leve$a;<init>(Lalf;Ljava/lang/Class;)V
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/world/timer/TimerCallback$Serializer;getId()Lnet/minecraft/util/Identifier;
      intermediary method_977 Lnet/minecraft/class_234$class_235;method_977()Lnet/minecraft/class_2960;
      official a Leve$a;a()Lalf;
    • getCallbackClass

      public Class<?> getCallbackClass()
      Mappings:
      Namespace Name Mixin selector
      named getCallbackClass Lnet/minecraft/world/timer/TimerCallback$Serializer;getCallbackClass()Ljava/lang/Class;
      intermediary method_978 Lnet/minecraft/class_234$class_235;method_978()Ljava/lang/Class;
      official b Leve$a;b()Ljava/lang/Class;
    • serialize

      public abstract void serialize(NbtCompound nbt, C callback)
      Mappings:
      Namespace Name Mixin selector
      named serialize Lnet/minecraft/world/timer/TimerCallback$Serializer;serialize(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/timer/TimerCallback;)V
      intermediary method_975 Lnet/minecraft/class_234$class_235;method_975(Lnet/minecraft/class_2487;Lnet/minecraft/class_234;)V
      official a Leve$a;a(Lus;Leve;)V
    • deserialize

      public abstract C deserialize(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named deserialize Lnet/minecraft/world/timer/TimerCallback$Serializer;deserialize(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/timer/TimerCallback;
      intermediary method_976 Lnet/minecraft/class_234$class_235;method_976(Lnet/minecraft/class_2487;)Lnet/minecraft/class_234;
      official b Leve$a;b(Lus;)Leve;