Class ModelElementTexture.Deserializer

java.lang.Object
net.minecraft.client.render.model.json.ModelElementTexture.Deserializer
All Implemented Interfaces:
JsonDeserializer<ModelElementTexture>
Enclosing class:
ModelElementTexture

@Environment(CLIENT) protected static class ModelElementTexture.Deserializer extends Object implements JsonDeserializer<ModelElementTexture>
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/ModelElementTexture$Deserializer
intermediary net/minecraft/class_787$class_788
official gfu$a
  • Field Details

    • DEFAULT_ROTATION

      private static final int DEFAULT_ROTATION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_ROTATION Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;DEFAULT_ROTATION:I
      intermediary field_32791 Lnet/minecraft/class_787$class_788;field_32791:I
      official a Lgfu$a;a:I
  • Constructor Details

    • Deserializer

      protected Deserializer()
  • Method Details

    • deserialize

      public ModelElementTexture deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<ModelElementTexture>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      named deserialize Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelElementTexture;
      intermediary method_3418 Lnet/minecraft/class_787$class_788;method_3418(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_787;
      official a Lgfu$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lgfu;
    • deserializeRotation

      protected int deserializeRotation(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      named deserializeRotation Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;deserializeRotation(Lcom/google/gson/JsonObject;)I
      intermediary method_3420 Lnet/minecraft/class_787$class_788;method_3420(Lcom/google/gson/JsonObject;)I
      official a Lgfu$a;a(Lcom/google/gson/JsonObject;)I
    • deserializeUVs

      @Nullable private @org.jetbrains.annotations.Nullable float[] deserializeUVs(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      named deserializeUVs Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;deserializeUVs(Lcom/google/gson/JsonObject;)[F
      intermediary method_3419 Lnet/minecraft/class_787$class_788;method_3419(Lcom/google/gson/JsonObject;)[F
      official b Lgfu$a;b(Lcom/google/gson/JsonObject;)[F