Advertisement
Efud933

inspection.lua

Dec 31st, 2021
1,274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. function viewBlock()
  2.     local success, data = turtle.inspect()
  3.  
  4.     if success then
  5.     --print(data.name)
  6.     itemId = data.name
  7.     print(itemId)
  8.     return itemId
  9.     --print(data.metadata)
  10.     end
  11. end
  12.  
  13. --viewBlock()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement