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_) |
private ResourceLocation |
getResourceLocationBlock(java.lang.String p_188041_1_) |
protected java.lang.String |
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 ResourceLocation getResourceLocationBlock(java.lang.String p_188041_1_)
private boolean parseUvLock(com.google.gson.JsonObject json)
protected ModelRotation parseModelRotation(com.google.gson.JsonObject json)
protected java.lang.String getStringModel(com.google.gson.JsonObject json)
protected int parseWeight(com.google.gson.JsonObject json)