{
	"display": {
		"icon": {
			"id": "minecraft:fire_charge"
		},
		"title": {"translate":"Return to Sender"},
		"description": {"color":"#75E1FF","translate":"Destroy a Ghast with its fireball"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "minecraft:adventure/spyglass_at_ghast",
	"rewards": {
		"function": "bacap_rewards:nether/return_to_sender"
	},	
	"criteria": {
		"killed_ghast": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"entity": {
					"entity_type": "minecraft:ghast"
				},
				"killing_blow": {
					"tags": [
							{
								"id": "minecraft:is_projectile",
								"expected": true
							}
						],
					"direct_entity": {
						"entity_type": "minecraft:fireball"
					}
				}
			}
		}
	}
}
