setIcon("minecraft:ender_pearl")
setTranslatedTitle("advancements.end.enter_end_gateway.title")
setDescription("Escape the Island and unlock more flight options")

addParent("triumph:vanilla/end/kill_dragon")

criteria = addCriteria("entered_end_gateway", "minecraft:enter_block")
criteria.setBlock("minecraft:end_gateway")

//Rewards
setRewardFunction("triumph:unlock_flying")