
setIcon(<minecraft:potion>)

setTranslatedTitle("advancements.sorrowpotion.title")

setTranslatedDescription("advancements.sorrowpotion.description")

visibleIf("triumph:beyond/root")

addParent("triumph:beyond/root")

setShowToast(true)

setAnnounceToChat(true)

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

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