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 eiq$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 Leiq$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Leiq;
      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;
    • deserializeVariants

      protected Map<String,​WeightedUnbakedModel> deserializeVariants​(JsonDeserializationContext context, JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Leiq$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 deserializeVariants Lnet/minecraft/client/render/model/json/ModelVariantMap$Deserializer;deserializeVariants(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
    • deserializeMultipart

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