Class ModelVariantMap.Entry.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.ModelVariantMap.Entry.Deserializer
- All Implemented Interfaces:
JsonDeserializer<ModelVariantMap.Entry>
- Enclosing class:
- ModelVariantMap.Entry
@Environment(CLIENT)
public static class ModelVariantMap.Entry.Deserializer
extends Object
implements JsonDeserializer<ModelVariantMap.Entry>
- Mappings:
Namespace Name official bgm$c$aintermediary net/minecraft/class_2449$class_2452$class_2453named net/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate IdentifierderelativizeId(String id) deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) protected StringgetModel(JsonObject json) protected ModelRotationgetrotation(JsonObject json) private booleangetUvLock(JsonObject json) protected intgetWeight(JsonObject json)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ModelVariantMap.Entry deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<ModelVariantMap.Entry>- Throws:
JsonParseException- Mappings:
Namespace Name Mixin selector official aLbgm$c$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lbgm$c;intermediary method_10038Lnet/minecraft/class_2449$class_2452$class_2453;method_10038(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2449$class_2452;named deserializeLnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelVariantMap$Entry;
-
derelativizeId
- Mappings:
Namespace Name Mixin selector official aLbgm$c$a;a(Ljava/lang/String;)Ljy;intermediary method_10040Lnet/minecraft/class_2449$class_2452$class_2453;method_10040(Ljava/lang/String;)Lnet/minecraft/class_1653;named derelativizeIdLnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;derelativizeId(Ljava/lang/String;)Lnet/minecraft/util/Identifier;
-
getUvLock
- Mappings:
Namespace Name Mixin selector official dLbgm$c$a;d(Lcom/google/gson/JsonObject;)Zintermediary method_10043Lnet/minecraft/class_2449$class_2452$class_2453;method_10043(Lcom/google/gson/JsonObject;)Znamed getUvLockLnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getUvLock(Lcom/google/gson/JsonObject;)Z
-
getrotation
- Mappings:
Namespace Name Mixin selector official aLbgm$c$a;a(Lcom/google/gson/JsonObject;)Lbor;intermediary method_10039Lnet/minecraft/class_2449$class_2452$class_2453;method_10039(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2529;named getrotationLnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getrotation(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/render/model/ModelRotation;
-
getModel
- Mappings:
Namespace Name Mixin selector official bLbgm$c$a;b(Lcom/google/gson/JsonObject;)Ljava/lang/String;intermediary method_10041Lnet/minecraft/class_2449$class_2452$class_2453;method_10041(Lcom/google/gson/JsonObject;)Ljava/lang/String;named getModelLnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getModel(Lcom/google/gson/JsonObject;)Ljava/lang/String;
-
getWeight
- Mappings:
Namespace Name Mixin selector official cLbgm$c$a;c(Lcom/google/gson/JsonObject;)Iintermediary method_10042Lnet/minecraft/class_2449$class_2452$class_2453;method_10042(Lcom/google/gson/JsonObject;)Inamed getWeightLnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getWeight(Lcom/google/gson/JsonObject;)I
-