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$a
intermediary net/minecraft/class_2449$class_2452$class_2453
named net/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public ModelVariantMap.Entry deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<ModelVariantMap.Entry>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Lbgm$c$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lbgm$c;
      intermediary method_10038 Lnet/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 deserialize Lnet/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

      private Identifier derelativizeId(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgm$c$a;a(Ljava/lang/String;)Ljy;
      intermediary method_10040 Lnet/minecraft/class_2449$class_2452$class_2453;method_10040(Ljava/lang/String;)Lnet/minecraft/class_1653;
      named derelativizeId Lnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;derelativizeId(Ljava/lang/String;)Lnet/minecraft/util/Identifier;
    • getUvLock

      private boolean getUvLock(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official d Lbgm$c$a;d(Lcom/google/gson/JsonObject;)Z
      intermediary method_10043 Lnet/minecraft/class_2449$class_2452$class_2453;method_10043(Lcom/google/gson/JsonObject;)Z
      named getUvLock Lnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getUvLock(Lcom/google/gson/JsonObject;)Z
    • getrotation

      protected ModelRotation getrotation(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgm$c$a;a(Lcom/google/gson/JsonObject;)Lbor;
      intermediary method_10039 Lnet/minecraft/class_2449$class_2452$class_2453;method_10039(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2529;
      named getrotation Lnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getrotation(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/render/model/ModelRotation;
    • getModel

      protected String getModel(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgm$c$a;b(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      intermediary method_10041 Lnet/minecraft/class_2449$class_2452$class_2453;method_10041(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      named getModel Lnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getModel(Lcom/google/gson/JsonObject;)Ljava/lang/String;
    • getWeight

      protected int getWeight(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official c Lbgm$c$a;c(Lcom/google/gson/JsonObject;)I
      intermediary method_10042 Lnet/minecraft/class_2449$class_2452$class_2453;method_10042(Lcom/google/gson/JsonObject;)I
      named getWeight Lnet/minecraft/client/render/model/json/ModelVariantMap$Entry$Deserializer;getWeight(Lcom/google/gson/JsonObject;)I