@Environment(value=CLIENT) public static class ModelElementTexture.Deserializer extends Object implements JsonDeserializer<ModelElementTexture>
Modifier | Constructor and Description |
---|---|
protected |
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ModelElementTexture |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
protected int |
deserializeRotation(JsonObject object) |
private float[] |
deserializeUVs(JsonObject object) |
public ModelElementTexture deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize
in interface JsonDeserializer<ModelElementTexture>
JsonParseException
protected int deserializeRotation(JsonObject object)
@Nullable private float[] deserializeUVs(JsonObject object)