Class ModelVariant.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.ModelVariant.Deserializer
- All Implemented Interfaces:
JsonDeserializer<ModelVariant>
- Enclosing class:
- ModelVariant
@Environment(CLIENT) public static class ModelVariant.Deserializer extends Object implements JsonDeserializer<ModelVariant>
-
Constructor Summary
Constructors Constructor Description Deserializer() -
Method Summary
Modifier and Type Method Description ModelVariantdeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)protected IdentifierdeserializeModel(JsonObject object)protected ModelRotationdeserializeRotation(JsonObject object)private booleandeserializeUvLock(JsonObject object)protected intdeserializeWeight(JsonObject object)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ModelVariant deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException- Specified by:
deserializein interfaceJsonDeserializer<ModelVariant>- Throws:
JsonParseException
-
deserializeUvLock
-
deserializeRotation
-
deserializeModel
-
deserializeWeight
-