Package net.minecraft.world.timer
Class TimerCallbackSerializer<C>
java.lang.Object
net.minecraft.world.timer.TimerCallbackSerializer<C>
public class TimerCallbackSerializer<C> extends Object
- Mappings:
Namespace Name official dil
intermediary net/minecraft/class_233
named net/minecraft/world/timer/TimerCallbackSerializer
-
Field Summary
Fields Modifier and Type Field Description static TimerCallbackSerializer<MinecraftServer>
INSTANCE
private static Logger
LOGGER
private Map<Class<?>,TimerCallback.Serializer<C,?>>
serializersByClass
private Map<Identifier,TimerCallback.Serializer<C,?>>
serializersByType
-
Constructor Summary
Constructors Constructor Description TimerCallbackSerializer()
-
Method Summary
Modifier and Type Method Description TimerCallback<C>
deserialize(CompoundTag tag)
private <T extends TimerCallback<C>>
TimerCallback.Serializer<C,T>getSerializer(Class<?> class2)
TimerCallbackSerializer<C>
registerSerializer(TimerCallback.Serializer<C,?> serializer)
<T extends TimerCallback<C>>
CompoundTagserialize(T callback)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Ldil;b:Lorg/apache/logging/log4j/Logger;
intermediary field_1308
Lnet/minecraft/class_233;field_1308:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/timer/TimerCallbackSerializer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official a
Ldil;a:Ldil;
intermediary field_1306
Lnet/minecraft/class_233;field_1306:Lnet/minecraft/class_233;
named INSTANCE
Lnet/minecraft/world/timer/TimerCallbackSerializer;INSTANCE:Lnet/minecraft/world/timer/TimerCallbackSerializer;
-
serializersByType
- Mappings:
Namespace Name Mixin selector official c
Ldil;c:Ljava/util/Map;
intermediary field_1307
Lnet/minecraft/class_233;field_1307:Ljava/util/Map;
named serializersByType
Lnet/minecraft/world/timer/TimerCallbackSerializer;serializersByType:Ljava/util/Map;
-
serializersByClass
- Mappings:
Namespace Name Mixin selector official d
Ldil;d:Ljava/util/Map;
intermediary field_1305
Lnet/minecraft/class_233;field_1305:Ljava/util/Map;
named serializersByClass
Lnet/minecraft/world/timer/TimerCallbackSerializer;serializersByClass:Ljava/util/Map;
-
-
Constructor Details
-
TimerCallbackSerializer
public TimerCallbackSerializer()
-
-
Method Details
-
registerSerializer
- Mappings:
Namespace Name Mixin selector official a
Ldil;a(Ldik$a;)Ldil;
intermediary method_971
Lnet/minecraft/class_233;method_971(Lnet/minecraft/class_234$class_235;)Lnet/minecraft/class_233;
named registerSerializer
Lnet/minecraft/world/timer/TimerCallbackSerializer;registerSerializer(Lnet/minecraft/world/timer/TimerCallback$Serializer;)Lnet/minecraft/world/timer/TimerCallbackSerializer;
-
getSerializer
- Mappings:
Namespace Name Mixin selector official a
Ldil;a(Ljava/lang/Class;)Ldik$a;
intermediary method_970
Lnet/minecraft/class_233;method_970(Ljava/lang/Class;)Lnet/minecraft/class_234$class_235;
named getSerializer
Lnet/minecraft/world/timer/TimerCallbackSerializer;getSerializer(Ljava/lang/Class;)Lnet/minecraft/world/timer/TimerCallback$Serializer;
-
serialize
- Mappings:
Namespace Name Mixin selector official a
Ldil;a(Ldik;)Lmq;
intermediary method_973
Lnet/minecraft/class_233;method_973(Lnet/minecraft/class_234;)Lnet/minecraft/class_2487;
named serialize
Lnet/minecraft/world/timer/TimerCallbackSerializer;serialize(Lnet/minecraft/world/timer/TimerCallback;)Lnet/minecraft/nbt/CompoundTag;
-
deserialize
- Mappings:
Namespace Name Mixin selector official a
Ldil;a(Lmq;)Ldik;
intermediary method_972
Lnet/minecraft/class_233;method_972(Lnet/minecraft/class_2487;)Lnet/minecraft/class_234;
named deserialize
Lnet/minecraft/world/timer/TimerCallbackSerializer;deserialize(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/timer/TimerCallback;
-