setIcon("minecraft:ender_pearl")
setTranslatedTitle("advancements.end.enter_end_gateway.title")
setTranslatedDescription("advancements.end.enter_end_gateway.description")

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

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