@Environment(value=CLIENT) public static class Transformation.Deserializer extends Object implements com.google.gson.JsonDeserializer<Transformation>
| Modifier and Type | Field and Description |
|---|---|
private static Vector3f |
DEFAULT_ROTATION |
private static Vector3f |
DEFAULT_SCALE |
private static Vector3f |
DEFAULT_TRANSLATION |
| Modifier | Constructor and Description |
|---|---|
protected |
Deserializer() |
| Modifier and Type | Method and Description |
|---|---|
Transformation |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
private Vector3f |
parseVector3f(com.google.gson.JsonObject json,
String key,
Vector3f fallback) |
private static final Vector3f DEFAULT_ROTATION
private static final Vector3f DEFAULT_TRANSLATION
private static final Vector3f DEFAULT_SCALE
public Transformation deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<Transformation>com.google.gson.JsonParseException