Class ModelVariant.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.ModelVariant.Deserializer
- All Implemented Interfaces:
JsonDeserializer<ModelVariant>
- Enclosing class:
- ModelVariant
@Environment(CLIENT) public static class ModelVariant.Deserializer extends Object implements JsonDeserializer<ModelVariant>
- Mappings:
Namespace Name official eiy$a
intermediary net/minecraft/class_813$class_814
named net/minecraft/client/render/model/json/ModelVariant$Deserializer
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
Modifier and Type Method Description ModelVariant
deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
protected Identifier
deserializeModel(JsonObject object)
protected ModelRotation
deserializeRotation(JsonObject object)
private boolean
deserializeUvLock(JsonObject object)
protected int
deserializeWeight(JsonObject object)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ModelVariant deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException- Specified by:
deserialize
in interfaceJsonDeserializer<ModelVariant>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Leiy$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Leiy;
intermediary method_3513
Lnet/minecraft/class_813$class_814;method_3513(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_813;
named deserialize
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelVariant;
-
deserializeUvLock
- Mappings:
Namespace Name Mixin selector official d
Leiy$a;d(Lcom/google/gson/JsonObject;)Z
intermediary method_3516
Lnet/minecraft/class_813$class_814;method_3516(Lcom/google/gson/JsonObject;)Z
named deserializeUvLock
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeUvLock(Lcom/google/gson/JsonObject;)Z
-
deserializeRotation
- Mappings:
Namespace Name Mixin selector official a
Leiy$a;a(Lcom/google/gson/JsonObject;)Leth;
intermediary method_3515
Lnet/minecraft/class_813$class_814;method_3515(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1086;
named deserializeRotation
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeRotation(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/render/model/ModelRotation;
-
deserializeModel
- Mappings:
Namespace Name Mixin selector official b
Leiy$a;b(Lcom/google/gson/JsonObject;)Lwb;
intermediary method_3514
Lnet/minecraft/class_813$class_814;method_3514(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2960;
named deserializeModel
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeModel(Lcom/google/gson/JsonObject;)Lnet/minecraft/util/Identifier;
-
deserializeWeight
- Mappings:
Namespace Name Mixin selector official c
Leiy$a;c(Lcom/google/gson/JsonObject;)I
intermediary method_3517
Lnet/minecraft/class_813$class_814;method_3517(Lcom/google/gson/JsonObject;)I
named deserializeWeight
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeWeight(Lcom/google/gson/JsonObject;)I
-