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 named net/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer
intermediary net/minecraft/class_793$class_795
official ger$a
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) protected List
<ModelElement> elementsFromJson
(JsonDeserializationContext context, JsonObject json) protected List
<ModelOverride> overridesFromJson
(JsonDeserializationContext context, JsonObject object) private String
parentFromJson
(JsonObject json) private static com.mojang.datafixers.util.Either
<SpriteIdentifier, String> resolveReference
(Identifier id, String name) private Map
<String, com.mojang.datafixers.util.Either<SpriteIdentifier, String>> texturesFromJson
(JsonObject object)
-
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 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;
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;
official a
Lger$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lger;
-
overridesFromJson
protected List<ModelOverride> overridesFromJson(JsonDeserializationContext context, JsonObject object) - Mappings:
Namespace Name Mixin selector named overridesFromJson
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;overridesFromJson(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;
official a
Lger$a;a(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
-
texturesFromJson
private Map<String,com.mojang.datafixers.util.Either<SpriteIdentifier, texturesFromJsonString>> (JsonObject object) - Mappings:
Namespace Name Mixin selector named texturesFromJson
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;texturesFromJson(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;
official b
Lger$a;b(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 named resolveReference
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;resolveReference(Lnet/minecraft/util/Identifier;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;
official a
Lger$a;a(Lalf;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either;
-
parentFromJson
- Mappings:
Namespace Name Mixin selector named parentFromJson
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;parentFromJson(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;
official c
Lger$a;c(Lcom/google/gson/JsonObject;)Ljava/lang/String;
-
ambientOcclusionFromJson
- Mappings:
Namespace Name Mixin selector named ambientOcclusionFromJson
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;ambientOcclusionFromJson(Lcom/google/gson/JsonObject;)Ljava/lang/Boolean;
intermediary method_3453
Lnet/minecraft/class_793$class_795;method_3453(Lcom/google/gson/JsonObject;)Ljava/lang/Boolean;
official a
Lger$a;a(Lcom/google/gson/JsonObject;)Ljava/lang/Boolean;
-
elementsFromJson
- Mappings:
Namespace Name Mixin selector named elementsFromJson
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;elementsFromJson(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;
official b
Lger$a;b(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
-