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
official edt$a
intermediary net/minecraft/class_234$class_235
named net/minecraft/world/timer/TimerCallback$Serializer
  • Field Details

    • id

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

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

    • Serializer

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

    • getId

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

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

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

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