Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
Variant |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
protected ResourceLocation |
getStringModel(com.google.gson.JsonObject json) |
protected ModelRotation |
parseModelRotation(com.google.gson.JsonObject json) |
private boolean |
parseUvLock(com.google.gson.JsonObject json) |
protected int |
parseWeight(com.google.gson.JsonObject json) |
public Variant 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<Variant>
com.google.gson.JsonParseException
private boolean parseUvLock(com.google.gson.JsonObject json)
protected ModelRotation parseModelRotation(com.google.gson.JsonObject json)
protected ResourceLocation getStringModel(com.google.gson.JsonObject json)
protected int parseWeight(com.google.gson.JsonObject json)