@Environment(value=CLIENT) public static class ModelVariant.Deserializer extends Object implements JsonDeserializer<ModelVariant>
| Constructor and Description |
|---|
Deserializer() |
| Modifier and Type | Method and Description |
|---|---|
ModelVariant |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
protected Identifier |
deserializeModel(JsonObject object) |
protected ModelRotation |
deserializeRotation(JsonObject object) |
private boolean |
deserializeUvLock(JsonObject object) |
protected int |
deserializeWeight(JsonObject object) |
public ModelVariant deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize in interface JsonDeserializer<ModelVariant>JsonParseExceptionprivate boolean deserializeUvLock(JsonObject object)
protected ModelRotation deserializeRotation(JsonObject object)
protected Identifier deserializeModel(JsonObject object)
protected int deserializeWeight(JsonObject object)