
setIcon("pyrotech:material", 1)

setTranslatedTitle("advancements.coalcoke.title")

setTranslatedDescription("advancements.coalcoke.description")

visibleIf("triumph:pyrotech/root")

addParent("triumph:pyrotech/mechanicalcompactor")

setShowToast(true)

setAnnounceToChat(true)

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

criteria.addItem("pyrotech:material", 1)
setPos(-4,79)