static class ItemTransformVec3f.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<ItemTransformVec3f>
Modifier and Type | Field and Description |
---|---|
private static org.lwjgl.util.vector.Vector3f |
ROTATION_DEFAULT |
private static org.lwjgl.util.vector.Vector3f |
SCALE_DEFAULT |
private static org.lwjgl.util.vector.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 org.lwjgl.util.vector.Vector3f |
parseVector3f(com.google.gson.JsonObject jsonObject,
java.lang.String key,
org.lwjgl.util.vector.Vector3f defaultValue) |
private static final org.lwjgl.util.vector.Vector3f ROTATION_DEFAULT
private static final org.lwjgl.util.vector.Vector3f TRANSLATION_DEFAULT
private static final org.lwjgl.util.vector.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
private org.lwjgl.util.vector.Vector3f parseVector3f(com.google.gson.JsonObject jsonObject, java.lang.String key, org.lwjgl.util.vector.Vector3f defaultValue)