{
	"display": {
		"icon": {
			"id": "minecraft:crossbow",
			"components": {
				"minecraft:charged_projectiles": [
					{
						"id": "minecraft:firework_rocket",
						"count": 1
					}
				]
			}
		},
		"title": {"translate":"Explosive Fire"},
		"description": {"color":"green","translate":"Load your crossbow with a firework"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:weaponry/fireworks_display",
	"rewards": {
		"function": "bacap_rewards:weaponry/explosive_fire"
	},		
	"criteria": {
		"crossbow": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"nbt": "{Inventory:[{id:\"minecraft:crossbow\",components:{\"minecraft:charged_projectiles\":[{id:\"minecraft:firework_rocket\"}]}}]}"
						}
					}
				]
			}
		}
	}
}