setIcon(<netherendingores:ore_end_vanilla:0>)

setTranslatedTitle("advancements.levitated.resources.end_coal.title")
setTranslatedDescription("advancements.levitated.resources.end_coal.description")

addParent("triumph:levitated/resources/root")
setShowToast(true)
setAnnounceToChat(false)

hideLines()

criteria = addCriteria("hasEndCoal", "minecraft:inventory_changed")
criteria.addItem(<minecraft:coal>)

visibleIf("triumph:levitated/resources/root")
setPos(46,-99)