Package net.minecraft.world.timer
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 dik$a
intermediary net/minecraft/class_234$class_235
named net/minecraft/world/timer/TimerCallback$Serializer
-
Field Summary
Fields Modifier and Type Field Description private Class<?>
callbackClass
private Identifier
id
-
Constructor Summary
Constructors Constructor Description Serializer(Identifier id, Class<?> callbackClass)
-
Method Summary
Modifier and Type Method Description abstract C
deserialize(CompoundTag tag)
Class<?>
getCallbackClass()
Identifier
getId()
abstract void
serialize(CompoundTag tag, C callback)
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Ldik$a;a:Lwb;
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
- Mappings:
Namespace Name Mixin selector official b
Ldik$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
- Mappings:
Namespace Name Mixin selector official <init>
Ldik$a;<init>(Lwb;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
- Mappings:
Namespace Name Mixin selector official a
Ldik$a;a()Lwb;
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
- Mappings:
Namespace Name Mixin selector official b
Ldik$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
- Mappings:
Namespace Name Mixin selector official a
Ldik$a;a(Lmq;Ldik;)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/CompoundTag;Lnet/minecraft/world/timer/TimerCallback;)V
-
deserialize
- Mappings:
Namespace Name Mixin selector official b
Ldik$a;b(Lmq;)Ldik;
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/CompoundTag;)Lnet/minecraft/world/timer/TimerCallback;
-