@Environment(value=CLIENT) public static class MultipartUnbakedModel.Deserializer extends Object implements JsonDeserializer<MultipartUnbakedModel>
Modifier and Type | Field and Description |
---|---|
private ModelVariantMap.DeserializationContext |
context |
Constructor and Description |
---|
Deserializer(ModelVariantMap.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
MultipartUnbakedModel |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
private List<MultipartModelComponent> |
deserializeComponents(JsonDeserializationContext context,
JsonArray array) |
private final ModelVariantMap.DeserializationContext context
public Deserializer(ModelVariantMap.DeserializationContext context)
public MultipartUnbakedModel deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize
in interface JsonDeserializer<MultipartUnbakedModel>
JsonParseException
private List<MultipartModelComponent> deserializeComponents(JsonDeserializationContext context, JsonArray array)