
setIcon("minecraft:end_stone")

setTranslatedTitle("advancements.end.root.title")

setTranslatedDescription("advancements.end.root.description")

setBackground("minecraft:textures/gui/advancements/backgrounds/end.png")

setShowToast(false)

setAnnounceToChat(false)

criteria = addCriteria("entered_end", "minecraft:changed_dimension")
criteria.setDimensionDestination("the_end")