Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
BlockPart |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
private float |
parseAngle(com.google.gson.JsonObject object) |
private EnumFacing.Axis |
parseAxis(com.google.gson.JsonObject object) |
private EnumFacing |
parseEnumFacing(java.lang.String name) |
private java.util.Map<EnumFacing,BlockPartFace> |
parseFaces(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject object) |
private java.util.Map<EnumFacing,BlockPartFace> |
parseFacesCheck(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject object) |
private org.lwjgl.util.vector.Vector3f |
parsePosition(com.google.gson.JsonObject object,
java.lang.String memberName) |
private org.lwjgl.util.vector.Vector3f |
parsePositionFrom(com.google.gson.JsonObject object) |
private org.lwjgl.util.vector.Vector3f |
parsePositionTo(com.google.gson.JsonObject object) |
private BlockPartRotation |
parseRotation(com.google.gson.JsonObject object) |
public BlockPart 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<BlockPart>
com.google.gson.JsonParseException
@Nullable private BlockPartRotation parseRotation(com.google.gson.JsonObject object)
private float parseAngle(com.google.gson.JsonObject object)
private EnumFacing.Axis parseAxis(com.google.gson.JsonObject object)
private java.util.Map<EnumFacing,BlockPartFace> parseFacesCheck(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)
private java.util.Map<EnumFacing,BlockPartFace> parseFaces(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)
private EnumFacing parseEnumFacing(java.lang.String name)
private org.lwjgl.util.vector.Vector3f parsePositionTo(com.google.gson.JsonObject object)
private org.lwjgl.util.vector.Vector3f parsePositionFrom(com.google.gson.JsonObject object)
private org.lwjgl.util.vector.Vector3f parsePosition(com.google.gson.JsonObject object, java.lang.String memberName)