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 eop$a
intermediary net/minecraft/class_813$class_814
named net/minecraft/client/render/model/json/ModelVariant$Deserializer
  • Field Details

    • field_32810

      static final boolean field_32810
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Leop$a;a:Z
      intermediary field_32810 Lnet/minecraft/class_813$class_814;field_32810:Z
      named field_32810 Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;field_32810:Z
    • field_32811

      static final int field_32811
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Leop$a;b:I
      intermediary field_32811 Lnet/minecraft/class_813$class_814;field_32811:I
      named field_32811 Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;field_32811:I
    • field_32812

      static final int field_32812
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Leop$a;c:I
      intermediary field_32812 Lnet/minecraft/class_813$class_814;field_32812:I
      named field_32812 Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;field_32812:I
    • field_32813

      static final int field_32813
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Leop$a;d:I
      intermediary field_32813 Lnet/minecraft/class_813$class_814;field_32813:I
      named field_32813 Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;field_32813:I
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

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

      private boolean deserializeUvLock(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official d Leop$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

      protected ModelRotation deserializeRotation(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Leop$a;a(Lcom/google/gson/JsonObject;)Leyy;
      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

      protected Identifier deserializeModel(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official b Leop$a;b(Lcom/google/gson/JsonObject;)Lww;
      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

      protected int deserializeWeight(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official c Leop$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