setIcon(<techreborn:machine_frame>)

setTranslatedTitle("advancements.levitated.overworld.machine_frame.title")
setTranslatedDescription("advancements.levitated.overworld.machine_frame.description")

addParent("triumph:levitated/overworld/refined_iron")
setShowToast(true)
setAnnounceToChat(false)

setCompletedIconColor(#2C8A00)
setCompletedTitleColor(#2C8A00)
setUncompletedIconColor(#B0B0B0)
setFrameType("Goal")

criteria = addCriteria("hasMachineFrame", "minecraft:inventory_changed")
criteria.addItem(<techreborn:machine_frame>)

visibleIf("triumph:levitated/overworld/root")
setPos(64,108)