Package net.minecraft.util
Class Identifier.Serializer
java.lang.Object
net.minecraft.util.Identifier.Serializer
- All Implemented Interfaces:
JsonDeserializer<Identifier>
,JsonSerializer<Identifier>
- Enclosing class:
Identifier
public static class Identifier.Serializer
extends Object
implements JsonDeserializer<Identifier>, JsonSerializer<Identifier>
- Mappings:
Namespace Name named net/minecraft/util/Identifier$Serializer
intermediary net/minecraft/class_2960$class_2961
official akr$a
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize
(Identifier identifier, Type type, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
deserialize
public Identifier deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserialize
in interfaceJsonDeserializer<Identifier>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector named deserialize
Lnet/minecraft/util/Identifier$Serializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/util/Identifier;
intermediary method_12840
Lnet/minecraft/class_2960$class_2961;method_12840(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2960;
official a
Lakr$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lakr;
-
serialize
public JsonElement serialize(Identifier identifier, Type type, JsonSerializationContext jsonSerializationContext) - Specified by:
serialize
in interfaceJsonSerializer<Identifier>
- Mappings:
Namespace Name Mixin selector named serialize
Lnet/minecraft/util/Identifier$Serializer;serialize(Lnet/minecraft/util/Identifier;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
intermediary method_12839
Lnet/minecraft/class_2960$class_2961;method_12839(Lnet/minecraft/class_2960;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
official a
Lakr$a;a(Lakr;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-