{
	"display": {
		"icon": {
			"id": "minecraft:oak_door"
		},
		"title": {"translate":"Your Door Was Locked"},
		"description": {"color":"green","translate":"Craft a door to stop monsters from entering your house"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:building/root",
	"rewards": {
		"function": "bacap_rewards:building/your_door_was_locked"
	},		
	"criteria": {
		"door": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": "#minecraft:doors"
					}
				]
			}
		}		
	}
}