Class ModelElementFace.Deserializer

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

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

    • DEFAULT_TINT_INDEX

      private static final int DEFAULT_TINT_INDEX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfpd$a;a:I
      intermediary field_32790 Lnet/minecraft/class_783$class_784;field_32790:I
      named DEFAULT_TINT_INDEX Lnet/minecraft/client/render/model/json/ModelElementFace$Deserializer;DEFAULT_TINT_INDEX:I
  • Constructor Details

    • Deserializer

      protected Deserializer()
  • Method Details

    • deserialize

      public ModelElementFace 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<ModelElementFace>
      Throws:
      com.google.gson.JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Lfpd$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lfpd;
      intermediary method_3397 Lnet/minecraft/class_783$class_784;method_3397(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_783;
      named deserialize Lnet/minecraft/client/render/model/json/ModelElementFace$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelElementFace;
    • deserializeTintIndex

      protected int deserializeTintIndex(com.google.gson.JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Lfpd$a;a(Lcom/google/gson/JsonObject;)I
      intermediary method_3400 Lnet/minecraft/class_783$class_784;method_3400(Lcom/google/gson/JsonObject;)I
      named deserializeTintIndex Lnet/minecraft/client/render/model/json/ModelElementFace$Deserializer;deserializeTintIndex(Lcom/google/gson/JsonObject;)I
    • deserializeTexture

      private String deserializeTexture(com.google.gson.JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official b Lfpd$a;b(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      intermediary method_3399 Lnet/minecraft/class_783$class_784;method_3399(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      named deserializeTexture Lnet/minecraft/client/render/model/json/ModelElementFace$Deserializer;deserializeTexture(Lcom/google/gson/JsonObject;)Ljava/lang/String;
    • deserializeCullFace

      @Nullable private @Nullable Direction deserializeCullFace(com.google.gson.JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official c Lfpd$a;c(Lcom/google/gson/JsonObject;)Lha;
      intermediary method_3398 Lnet/minecraft/class_783$class_784;method_3398(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2350;
      named deserializeCullFace Lnet/minecraft/client/render/model/json/ModelElementFace$Deserializer;deserializeCullFace(Lcom/google/gson/JsonObject;)Lnet/minecraft/util/math/Direction;