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 named net/minecraft/client/render/model/json/ModelVariantMap$Deserializer
intermediary net/minecraft/class_790$class_792
official get$b
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) protected @Nullable MultipartUnbakedModel
multipartFromJson
(JsonDeserializationContext context, JsonObject object) protected Map
<String, WeightedUnbakedModel> variantsFromJson
(JsonDeserializationContext context, JsonObject object)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ModelVariantMap deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserialize
in interfaceJsonDeserializer<ModelVariantMap>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lget$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lget;
-
variantsFromJson
protected Map<String,WeightedUnbakedModel> variantsFromJson(JsonDeserializationContext context, JsonObject object) - Mappings:
Namespace Name Mixin selector named variantsFromJson
Lnet/minecraft/client/render/model/json/ModelVariantMap$Deserializer;variantsFromJson(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;
official a
Lget$b;a(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 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;
intermediary method_3427
Lnet/minecraft/class_790$class_792;method_3427(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_816;
official b
Lget$b;b(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Lgff;
-