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 official abv$bintermediary net/minecraft/class_2960$class_2961named net/minecraft/util/Identifier$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmethod_12839(Identifier identifier, Type type, JsonSerializationContext jsonSerializationContext) method_12840(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gson.JsonDeserializer
deserializeMethods inherited from interface com.google.gson.JsonSerializer
serialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
method_12840
public Identifier method_12840(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Throws:
JsonParseException- Mappings:
Namespace Name Mixin selector official aLabv$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Labv;intermediary method_12840Lnet/minecraft/class_2960$class_2961;method_12840(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2960;named method_12840Lnet/minecraft/util/Identifier$Serializer;method_12840(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/util/Identifier;
-
method_12839
public JsonElement method_12839(Identifier identifier, Type type, JsonSerializationContext jsonSerializationContext) - Mappings:
Namespace Name Mixin selector official aLabv$b;a(Labv;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_12839Lnet/minecraft/class_2960$class_2961;method_12839(Lnet/minecraft/class_2960;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named method_12839Lnet/minecraft/util/Identifier$Serializer;method_12839(Lnet/minecraft/util/Identifier;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-