Class ModelElementTexture.Deserializer

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

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

    • DEFAULT_ROTATION

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

    • Deserializer

      protected Deserializer()
  • Method Details

    • deserialize

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

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

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