setIcon(<storagedrawers:controller>)

setTitle("Controlling Drawer")

setDescription("The Drawer Controller is an advanced inventory routing block and the heart of a drawer network. When items are added to a Controller via Ducts or Manually, it will add the item to the nearest attached Drawer (up to 12 blocks away) that already contains that item or that's free.\nThis Controller can be basically used to prevent the need of hooking every Drawer, just connect the Controller.\n\n§9Completition Requirement:\n§7Obtain a Drawer Controller")

addParent("jasb:main/storage_drawers/drawer")

hiddenUnless("jasb:main/storage_drawers/drawer")

criteria1 = addCriteria("controller", "minecraft:inventory_changed")
criteria1.addItem(<storagedrawers:controller>)

setPos(224,144)
drawDirectLines()