Advertisement
Ubidibity

fillbelow.lua

May 4th, 2025 (edited)
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | Gaming | 0 0
  1. slot=16
  2. item=0
  3.  
  4. -- move over first 'hole' column
  5. turtle.forward()
  6.  
  7. while not turtle.detectDown() do
  8.   -- filler starting at end
  9.   turtle.select(slot)
  10.  
  11.   y=0
  12.   while turtle.down() do
  13.     y=y+1
  14.   end
  15.   for z=1,y do
  16.     turtle.up()
  17.     turtle.placeDown()
  18.     if item==65 and slot>1 then
  19.       item=0
  20.       slot=slot-1
  21.     end
  22.   end
  23.   turtle.forward()
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement