
setIcon(<minecraft:potion>)

setTranslatedTitle("advancements.sorrowpotion.title")

setTranslatedDescription("advancements.sorrowpotion.description")

visibleIf("triumph:ironage/nether")

addParent("triumph:ironage/nether")

setShowToast(true)

setAnnounceToChat(true)

criteria = addCriteria("sorrowpotion", "minecraft:inventory_changed")

criteria.addItem(<minecraft:potion, nbt:{Potion: "netherex:sorrow"}>)
setPos(126,-3)