{
	"display": {
		"icon": {
			"id": "minecraft:cyan_banner"
		},
		"title": {"translate":"Raise the flag!"},
		"description": {"color":"green","translate":"Craft and place a banner"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:building/help_ive_been_framed",
	"rewards": {
		"function": "bacap_rewards:building/raise_the_flag"
	},		
	"criteria": {
		"banner": {
			"trigger": "minecraft:placed_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": "#minecraft:banners"
						}
					}
				]
			}
		}
	}
}