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

    • DEFAULT_UV_LOCK

      static final boolean DEFAULT_UV_LOCK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_UV_LOCK Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;DEFAULT_UV_LOCK:Z
      intermediary field_32810 Lnet/minecraft/class_813$class_814;field_32810:Z
      official a Lgnf$a;a:Z
    • DEFAULT_WEIGHT

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

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

      static final int DEFAULT_Y_ROTATION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_Y_ROTATION Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;DEFAULT_Y_ROTATION:I
      intermediary field_32813 Lnet/minecraft/class_813$class_814;field_32813:I
      official d Lgnf$a;d: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
      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;
      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;
      official a Lgnf$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lgnf;
    • deserializeUvLock

      private boolean deserializeUvLock(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      named deserializeUvLock Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeUvLock(Lcom/google/gson/JsonObject;)Z
      intermediary method_3516 Lnet/minecraft/class_813$class_814;method_3516(Lcom/google/gson/JsonObject;)Z
      official d Lgnf$a;d(Lcom/google/gson/JsonObject;)Z
    • deserializeRotation

      protected ModelRotation deserializeRotation(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      named deserializeRotation Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeRotation(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/render/model/ModelRotation;
      intermediary method_3515 Lnet/minecraft/class_813$class_814;method_3515(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1086;
      official a Lgnf$a;a(Lcom/google/gson/JsonObject;)Lhdn;
    • deserializeModel

      protected Identifier deserializeModel(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      named deserializeModel Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeModel(Lcom/google/gson/JsonObject;)Lnet/minecraft/util/Identifier;
      intermediary method_3514 Lnet/minecraft/class_813$class_814;method_3514(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2960;
      official b Lgnf$a;b(Lcom/google/gson/JsonObject;)Lalz;
    • deserializeWeight

      protected int deserializeWeight(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      named deserializeWeight Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeWeight(Lcom/google/gson/JsonObject;)I
      intermediary method_3517 Lnet/minecraft/class_813$class_814;method_3517(Lcom/google/gson/JsonObject;)I
      official c Lgnf$a;c(Lcom/google/gson/JsonObject;)I