Advertisement
DEv0on

Untitled

Nov 10th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. mon = peripheral.wrap("monitor_93")
  2. mon1 = peripheral.wrap("monitor_94")
  3. sel = peripheral.wrap("openperipheral_selector_5")
  4. sel1 = peripheral.wrap("openperipheral_selector_4")
  5. cont = peripheral.wrap("tilecontroller_1")
  6.  
  7. while true do
  8. sleep(0.3)
  9. itemsInAE = cont.getAvailableItems()
  10. for k,v in pairs(itemsInAE) do
  11. if v.fingerprint.id=="minecraft:iron_ingot" then
  12. mon1.write(v.size.." ")
  13. sel1.setSlot(1,v.fingerprint.id)
  14. elseif v.fingerprint.id=="hexcraft:itemHexoriumCrystalBlack" then
  15. mon.write(v.size.." ")
  16. sel.setSlot(1,v.fingerprint.id)
  17. end
  18.  
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement