Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local data = turtle.getItemDetail()
- if data then
- print("Item name: ", data.name)
- data1 = data.name
- if data1 == "minecraft:coal" then
- print("Nalezen coal. Provedu refuel.")
- end
- print("Item damage value: ", data.damage)
- print("Item count: ", data.count)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement