{
	"display": {
		"icon": {
			"id": "minecraft:lingering_potion",
			"components": {
				"minecraft:potion_contents": {
					"potion": "minecraft:harming"
				}
			}
		},
		"title": {"translate":"Gas!"},
		"description": {"color":"#75E1FF","translate":"Kill a mob using a lingering potion"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:potion/noxious_fumes",
	"rewards": {
		"function": "bacap_rewards:potion/gas"
	},	
	"criteria": {
		"kill_magic": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"direct_entity": {
						"entity_type": "minecraft:area_effect_cloud",
						"entity_tags": {
							"all_of": [
								"aec_player_created"
							]
						}
					}
				}
			}
		}
	}
}
