AdditionalPylons

nether_mine.lua

Jun 7th, 2026
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function place()
  2.     while turtle.getItemCount()==0 do turtle.select(turtle.getSelectedSlot()%16+1) end
  3.     turtle.place()
  4. end
  5. local function placeUp()
  6.     while turtle.getItemCount()==0 do turtle.select(turtle.getSelectedSlot()%16+1) end
  7.     turtle.placeUp()
  8. end
  9. local function placeDown()
  10.     while turtle.getItemCount()==0 do turtle.select(turtle.getSelectedSlot()%16+1) end
  11.     turtle.placeDown()
  12. end
  13. local function sideblocks()
  14.     turtle.turnLeft()
  15.     place()
  16.     turtle.turnRight()
  17.     turtle.turnRight()
  18.     place()
  19.     turtle.turnLeft()
  20. end
  21. while true do
  22.     placeDown()
  23.     sideblocks()
  24.     turtle.dig()
  25.     turtle.digUp()
  26.     turtle.up()
  27.     placeUp()
  28.     sideblocks()
  29.     turtle.dig()
  30.     turtle.forward()
  31.     placeUp()
  32.     sideblocks()
  33.     turtle.digDown()
  34.     turtle.down()
  35.     sideblocks()
  36.     turtle.placeDown()
  37.     turtle.dig()
  38.     turtle.forward()
  39. end
  40.  
Advertisement
Add Comment
Please, Sign In to add comment