Advertisement
elicolh

Untitled

Feb 18th, 2020
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. slot = 0
  2. while slot ~= 16 do
  3.     slot = slot + 1
  4.     turtle.select(slot)
  5.     n = turtle.getItemDetail().name
  6.     if  n == "minecraft:stone" or n == "minecraft:dirt" then
  7.        turtle.drop()
  8.     end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement