setIcon(<minecraft:end_stone>)

setTranslatedTitle("advancements.levitated.end.endstone_shard.title")
setTranslatedDescription("advancements.levitated.end.endstone_shard.description")

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

setCompletedIconColor(#B483B4)
setCompletedTitleColor(#B483B4)
setUncompletedIconColor(#B0B0B0)
setFrameType("Goal")

criteria = addCriteria("hasEndShard", "minecraft:inventory_changed")
criteria.addItem(<tconstruct:shard, nbt:{Material: "endstone"}>)

visibleIf("triumph:levitated/end/root")
setPos(32,67)

setRewardFunction("triumph:starts")