public static class ModelBlockDefinition.Variant.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<ModelBlockDefinition.Variant>
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ModelBlockDefinition.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 |
makeModelLocation(java.lang.String p_178426_1_) |
protected java.lang.String |
parseModel(com.google.gson.JsonObject p_178424_1_) |
protected ModelRotation |
parseRotation(com.google.gson.JsonObject p_178428_1_) |
private boolean |
parseUvLock(com.google.gson.JsonObject p_178429_1_) |
protected int |
parseWeight(com.google.gson.JsonObject p_178427_1_) |
public ModelBlockDefinition.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<ModelBlockDefinition.Variant>
com.google.gson.JsonParseException
private ResourceLocation makeModelLocation(java.lang.String p_178426_1_)
private boolean parseUvLock(com.google.gson.JsonObject p_178429_1_)
protected ModelRotation parseRotation(com.google.gson.JsonObject p_178428_1_)
protected java.lang.String parseModel(com.google.gson.JsonObject p_178424_1_)
protected int parseWeight(com.google.gson.JsonObject p_178427_1_)