Class ModelVariantMap.Deserializer

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

@Environment(CLIENT) public static class ModelVariantMap.Deserializer extends Object implements JsonDeserializer<ModelVariantMap>
Mappings:
Namespace Name
official eyt$b
intermediary net/minecraft/class_790$class_792
named net/minecraft/client/render/model/json/ModelVariantMap$Deserializer
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public ModelVariantMap deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<ModelVariantMap>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Leyt$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Leyt;
      intermediary method_3428 Lnet/minecraft/class_790$class_792;method_3428(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_790;
      named deserialize Lnet/minecraft/client/render/model/json/ModelVariantMap$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelVariantMap;
    • variantsFromJson

      protected Map<String,WeightedUnbakedModel> variantsFromJson(JsonDeserializationContext context, JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt$b;a(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
      intermediary method_3429 Lnet/minecraft/class_790$class_792;method_3429(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
      named variantsFromJson Lnet/minecraft/client/render/model/json/ModelVariantMap$Deserializer;variantsFromJson(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
    • multipartFromJson

      @Nullable protected @Nullable MultipartUnbakedModel multipartFromJson(JsonDeserializationContext context, JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official b Leyt$b;b(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Lezf;
      intermediary method_3427 Lnet/minecraft/class_790$class_792;method_3427(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_816;
      named multipartFromJson Lnet/minecraft/client/render/model/json/ModelVariantMap$Deserializer;multipartFromJson(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Lnet/minecraft/client/render/model/MultipartUnbakedModel;