Advertisement
karelvysinka

Test inspect block

Aug 17th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.14 KB | None | 0 0
  1. local success, data = turtle.inspectUp()
  2.  
  3. if success then
  4.   print("Block name: ", data.name)
  5.   print("Block metadata: ", data.metadata)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement