{
	"display": {
		"icon": {
			"id": "minecraft:blaze_rod"
		},
		"title": {"translate":"Backfire"},
		"description": {"color":"#75E1FF","translate":"Kill a Blaze using a Blaze Rod while both you and it are on fire"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:weaponry/a_snowballs_chance_in_hell",
	"rewards": {
		"function": "bacap_rewards:weaponry/backfire"
	},		
	"criteria": {
		"backfire": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"entity": {
					"entity_type": "blaze",
					"flags": {
						"is_on_fire": true
					}
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:blaze_rod"
							]
						}
					},
					"flags": {
						"is_on_fire": true
					}
				},
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				}
			}
		}
	}
}
