
setIcon("pyrotech:mechanical_compacting_bin")

setTitle("Automatic compactor")

setDescription("Craft a mechanical compactor.")

visibleIf("triumph:pyrotech/root")

addParent("triumph:pyrotech/mechanicalhopper")

setShowToast(true)

setAnnounceToChat(true)

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

criteria.addItem("pyrotech:mechanical_compacting_bin")
setPos(-37,79)