Class JsonUnbakedModel.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.JsonUnbakedModel.Deserializer
- All Implemented Interfaces:
JsonDeserializer<JsonUnbakedModel>
- Enclosing class:
- JsonUnbakedModel
@Environment(CLIENT) public static class JsonUnbakedModel.Deserializer extends Object implements JsonDeserializer<JsonUnbakedModel>
- Mappings:
Namespace Name official eip$a
intermediary net/minecraft/class_793$class_795
named net/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
Modifier and Type Method Description JsonUnbakedModel
deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
protected boolean
deserializeAmbientOcclusion(JsonObject json)
protected List<ModelElement>
deserializeElements(JsonDeserializationContext context, JsonObject json)
protected List<ModelOverride>
deserializeOverrides(JsonDeserializationContext context, JsonObject object)
private String
deserializeParent(JsonObject json)
private Map<String,com.mojang.datafixers.util.Either<SpriteIdentifier,String>>
deserializeTextures(JsonObject object)
private static com.mojang.datafixers.util.Either<SpriteIdentifier,String>
resolveReference(Identifier id, String name)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public JsonUnbakedModel deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException- Specified by:
deserialize
in interfaceJsonDeserializer<JsonUnbakedModel>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Leip$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Leip;
intermediary method_3451
Lnet/minecraft/class_793$class_795;method_3451(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_793;
named deserialize
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/JsonUnbakedModel;
-
deserializeOverrides
protected List<ModelOverride> deserializeOverrides(JsonDeserializationContext context, JsonObject object)- Mappings:
Namespace Name Mixin selector official a
Leip$a;a(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
intermediary method_3452
Lnet/minecraft/class_793$class_795;method_3452(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
named deserializeOverrides
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;deserializeOverrides(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
-
deserializeTextures
private Map<String,com.mojang.datafixers.util.Either<SpriteIdentifier,String>> deserializeTextures(JsonObject object)- Mappings:
Namespace Name Mixin selector official b
Leip$a;b(Lcom/google/gson/JsonObject;)Ljava/util/Map;
intermediary method_3448
Lnet/minecraft/class_793$class_795;method_3448(Lcom/google/gson/JsonObject;)Ljava/util/Map;
named deserializeTextures
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;deserializeTextures(Lcom/google/gson/JsonObject;)Ljava/util/Map;
-
resolveReference
private static com.mojang.datafixers.util.Either<SpriteIdentifier,String> resolveReference(Identifier id, String name)- Mappings:
Namespace Name Mixin selector official a
Leip$a;a(Lwb;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either;
intermediary method_24079
Lnet/minecraft/class_793$class_795;method_24079(Lnet/minecraft/class_2960;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either;
named resolveReference
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;resolveReference(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either;
-
deserializeParent
- Mappings:
Namespace Name Mixin selector official c
Leip$a;c(Lcom/google/gson/JsonObject;)Ljava/lang/String;
intermediary method_3450
Lnet/minecraft/class_793$class_795;method_3450(Lcom/google/gson/JsonObject;)Ljava/lang/String;
named deserializeParent
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;deserializeParent(Lcom/google/gson/JsonObject;)Ljava/lang/String;
-
deserializeAmbientOcclusion
- Mappings:
Namespace Name Mixin selector official a
Leip$a;a(Lcom/google/gson/JsonObject;)Z
intermediary method_3453
Lnet/minecraft/class_793$class_795;method_3453(Lcom/google/gson/JsonObject;)Z
named deserializeAmbientOcclusion
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;deserializeAmbientOcclusion(Lcom/google/gson/JsonObject;)Z
-
deserializeElements
protected List<ModelElement> deserializeElements(JsonDeserializationContext context, JsonObject json)- Mappings:
Namespace Name Mixin selector official b
Leip$a;b(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
intermediary method_3449
Lnet/minecraft/class_793$class_795;method_3449(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
named deserializeElements
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;deserializeElements(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
-