public static class ModelLoaderRegistry.ExpandedBlockModelDeserializer extends BlockModel.Deserializer
Modifier and Type | Field and Description |
---|---|
static com.google.gson.Gson |
INSTANCE |
Constructor and Description |
---|
ExpandedBlockModelDeserializer() |
Modifier and Type | Method and Description |
---|---|
BlockModel |
deserialize(com.google.gson.JsonElement element,
java.lang.reflect.Type targetType,
com.google.gson.JsonDeserializationContext deserializationContext) |
getAmbientOcclusionEnabled, getItemOverrides, getModelElements
public BlockModel deserialize(com.google.gson.JsonElement element, java.lang.reflect.Type targetType, com.google.gson.JsonDeserializationContext deserializationContext) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<BlockModel>
deserialize
in class BlockModel.Deserializer
com.google.gson.JsonParseException