{
	"model": {
		"type": "condition",
		"property": "has_component",
		"component": "custom_name",
		"on_true": {
			"type": "select",
			"model": "block/terracotta",
			"property": "component",
			"component": "custom_name",
	  		"cases": [
					{
				"when": "Sconce",
				"model": {
					"type": "model",
					"model": "item/sconce/terracotta_sconce"
			 			}
					}
		  		],
			"fallback": {
				"type": "model",
				"model": "block/terracotta"
					}
				},
		"on_false": {
			"type": "model",
			"model": "block/terracotta"
		}
	}
}