public static class ItemTransformVec3f.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<ItemTransformVec3f>
Modifier and Type | Field and Description |
---|---|
static Vector3f |
ROTATION_DEFAULT |
static Vector3f |
SCALE_DEFAULT |
static Vector3f |
TRANSLATION_DEFAULT |
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ItemTransformVec3f |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
private Vector3f |
parseVector(com.google.gson.JsonObject json,
java.lang.String key,
Vector3f fallback) |
public static final Vector3f ROTATION_DEFAULT
public static final Vector3f TRANSLATION_DEFAULT
public static final Vector3f SCALE_DEFAULT
public ItemTransformVec3f deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<ItemTransformVec3f>
com.google.gson.JsonParseException