Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("right")
- ae = peripheral.wrap("left")
- cobble = ae.countOfItemType(4, 0)
- m.clear()
- m.setCursorPos(1,1)
- --Call function "centerText("")" to set text
- --Use m.setCursorPos(1,y) to choose placement on screen
- y2 = 1
- while true do
- m.clear()
- m.setCursorPos(2, 1)
- m.setTextColor(colors.yellow)
- m.write("Cobble :")
- m.setCursorPos(2, 2)
- m.write(cobble)
- os.sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment