Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local success, data = turtle.inspect()
- if success then
- print("Block name: ", data.name)
- print("Block metadata: ", data.metadata)
- end
- turtle.suck()
- local data = turtle.getItemDetail()
- if data then
- print("Item name: ", data.name)
- print("Item damage value: ", data.damage)
- print("Item count: ", data.count)
- end
- line = "1 1 coal"
- for token in string.gmatch(line, "[^%s]+") do
- print(token)
- end
Add Comment
Please, Sign In to add comment