{
	"display": {
		"icon": {
			"id": "minecraft:snowball"
		},
		"title": {"translate":"Snowball Fight"},
		"description": {"color":"green","translate":"The spirit of Christmas... quickly drowned out by a battle"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:weaponry/root",
	"rewards": {
		"function": "bacap_rewards:weaponry/snowball_fight"
	},		
	"criteria": {
		"snowball": {
			"trigger": "minecraft:player_hurt_entity",
			"conditions": {
				"damage": {
					"type": {
						"tags": [
							{
								"id": "minecraft:is_projectile",
								"expected": true
							}
						],
						"direct_entity": {
							"entity_type": "minecraft:snowball"
						}
					}
				}
			}
		}
	}
}
