Class ModelElementFace.Deserializer

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

@Environment(CLIENT) protected static class ModelElementFace.Deserializer extends Object implements JsonDeserializer<ModelElementFace>
Mappings:
Namespace Name
official eyq$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 Leyq$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(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<ModelElementFace>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Leyq$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Leyq;
      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(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Leyq$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(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official b Leyq$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(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official c Leyq$a;c(Lcom/google/gson/JsonObject;)Lgy;
      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;