Advertisement
Guest User

test2

a guest
Apr 21st, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. y = peripheral.wrap("bottom")
  2. for x =1, 3000000 do
  3.   local d = y.getMobData(x)
  4.   if d then
  5.     print("ID: " .. x .. " Type: " .. d.type)
  6.   end
  7.   os.queueEvent("sn")
  8.   os.pullEvent()
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement