AdditionalPylons

gravel.lua

Sep 6th, 2025
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. turtle.digUp()
  2. for i=1,16 do
  3.     local data = turtle.getItemDetail(i)
  4.     if data and data.name == "minecraft:gravel" then
  5.         turtle.select(i)
  6.         while turtle.placeUp() do
  7.             turtle.digUp()
  8.         end
  9.     end
  10. end
  11.  
Advertisement
Add Comment
Please, Sign In to add comment