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")
- mon.clear()
- mon1.clear()
- 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.setCursorPos(2,3)
- mon1.write(v.size.." ")
- sel1.setSlot(1,{id=v.fingerprint.id,dmg=v.fingerprint.dmg})
- elseif v.fingerprint.id=="hexcraft:itemHexoriumCrystalBlack" then
- mon.setCursorPos(3,3)
- mon.write(v.size.." ")
- sel.setSlot(1,{id=v.fingerprint.id,dmg=v.fingerprint.dmg})
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement