{
	"display": {
		"icon": {
			"id": "minecraft:dragon_egg"
		},
		"title": {"translate":"The Next Generation"},
		"description": {"color":"#75E1FF","translate":"Hold the Dragon Egg"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "minecraft:end/kill_dragon",
	"rewards": {
		"function": "bacap_rewards:end/the_next_generation"
	},	
	"criteria": {
		"dragon_egg": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dragon_egg"
						]
					}
				]
			}
		}
	}
}