Package net.minecraft.world.timer
Class TimerCallbackSerializer<C>
java.lang.Object
net.minecraft.world.timer.TimerCallbackSerializer<C>
- Mappings:
Namespace Name named net/minecraft/world/timer/TimerCallbackSerializer
intermediary net/minecraft/class_233
official fbj
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TimerCallbackSerializer
<MinecraftServer> private static final Logger
private final Map
<Class<?>, TimerCallback.Serializer<C, ?>> private final Map
<Identifier, TimerCallback.Serializer<C, ?>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(NbtCompound nbt) private <T extends TimerCallback<C>>
TimerCallback.Serializer<C, T> getSerializer
(Class<?> clazz) registerSerializer
(TimerCallback.Serializer<C, ?> serializer) <T extends TimerCallback<C>>
NbtCompoundserialize
(T callback)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/world/timer/TimerCallbackSerializer;LOGGER:Lorg/slf4j/Logger;
intermediary field_1308
Lnet/minecraft/class_233;field_1308:Lorg/slf4j/Logger;
official b
Lfbj;b:Lorg/slf4j/Logger;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCE
Lnet/minecraft/world/timer/TimerCallbackSerializer;INSTANCE:Lnet/minecraft/world/timer/TimerCallbackSerializer;
intermediary field_1306
Lnet/minecraft/class_233;field_1306:Lnet/minecraft/class_233;
official a
Lfbj;a:Lfbj;
-
serializersByType
- Mappings:
Namespace Name Mixin selector named serializersByType
Lnet/minecraft/world/timer/TimerCallbackSerializer;serializersByType:Ljava/util/Map;
intermediary field_1307
Lnet/minecraft/class_233;field_1307:Ljava/util/Map;
official c
Lfbj;c:Ljava/util/Map;
-
serializersByClass
- Mappings:
Namespace Name Mixin selector named serializersByClass
Lnet/minecraft/world/timer/TimerCallbackSerializer;serializersByClass:Ljava/util/Map;
intermediary field_1305
Lnet/minecraft/class_233;field_1305:Ljava/util/Map;
official d
Lfbj;d:Ljava/util/Map;
-
-
Constructor Details
-
TimerCallbackSerializer
public TimerCallbackSerializer()
-
-
Method Details
-
registerSerializer
- Mappings:
Namespace Name Mixin selector named registerSerializer
Lnet/minecraft/world/timer/TimerCallbackSerializer;registerSerializer(Lnet/minecraft/world/timer/TimerCallback$Serializer;)Lnet/minecraft/world/timer/TimerCallbackSerializer;
intermediary method_971
Lnet/minecraft/class_233;method_971(Lnet/minecraft/class_234$class_235;)Lnet/minecraft/class_233;
official a
Lfbj;a(Lfbi$a;)Lfbj;
-
getSerializer
- Mappings:
Namespace Name Mixin selector named getSerializer
Lnet/minecraft/world/timer/TimerCallbackSerializer;getSerializer(Ljava/lang/Class;)Lnet/minecraft/world/timer/TimerCallback$Serializer;
intermediary method_970
Lnet/minecraft/class_233;method_970(Ljava/lang/Class;)Lnet/minecraft/class_234$class_235;
official a
Lfbj;a(Ljava/lang/Class;)Lfbi$a;
-
serialize
- Mappings:
Namespace Name Mixin selector named serialize
Lnet/minecraft/world/timer/TimerCallbackSerializer;serialize(Lnet/minecraft/world/timer/TimerCallback;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_973
Lnet/minecraft/class_233;method_973(Lnet/minecraft/class_234;)Lnet/minecraft/class_2487;
official a
Lfbj;a(Lfbi;)Lux;
-
deserialize
- Mappings:
Namespace Name Mixin selector named deserialize
Lnet/minecraft/world/timer/TimerCallbackSerializer;deserialize(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/timer/TimerCallback;
intermediary method_972
Lnet/minecraft/class_233;method_972(Lnet/minecraft/class_2487;)Lnet/minecraft/class_234;
official a
Lfbj;a(Lux;)Lfbi;
-