Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("monitor_93")
- mon1 = peripheral.wrap("monitor_94")
- sel = peripheral.wrap("openperipheral_selector_5")
- sel1 = peripheral.wrap("openperipheral_selector_4")
- cont = peripheral.wrap("tilecontroller_1")
- while true do
- sleep(0.3)
- itemsInAE = cont.getAvailableItems()
- for k,v in pairs(itemsInAE) do
- if v.fingerprint.id=="minecraft:iron_ingot" then
- mon1.write(v.size.." ")
- sel1.setSlot(1,v.fingerprint.id)
- elseif v.fingerprint.id=="hexcraft:itemHexoriumCrystalBlack" then
- mon.write(v.size.." ")
- sel.setSlot(1,v.fingerprint.id)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement