public static class ForgeBlockStateV1.TRSRDeserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<TRSRTransformation>
Modifier and Type | Field and Description |
---|---|
static ForgeBlockStateV1.TRSRDeserializer |
INSTANCE |
Constructor and Description |
---|
TRSRDeserializer() |
Modifier and Type | Method and Description |
---|---|
TRSRTransformation |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
static javax.vecmath.Quat4f |
parseAxisRotation(com.google.gson.JsonElement e) |
static float[] |
parseFloatArray(com.google.gson.JsonElement e,
int length,
java.lang.String prefix) |
static javax.vecmath.Matrix4f |
parseMatrix(com.google.gson.JsonElement e) |
static javax.vecmath.Quat4f |
parseRotation(com.google.gson.JsonElement e) |
public static final ForgeBlockStateV1.TRSRDeserializer INSTANCE
public TRSRTransformation deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<TRSRTransformation>
com.google.gson.JsonParseException
public static javax.vecmath.Matrix4f parseMatrix(com.google.gson.JsonElement e)
public static float[] parseFloatArray(com.google.gson.JsonElement e, int length, java.lang.String prefix)
public static javax.vecmath.Quat4f parseAxisRotation(com.google.gson.JsonElement e)
public static javax.vecmath.Quat4f parseRotation(com.google.gson.JsonElement e)