Advertisement
Guest User

startup.lua

a guest
Dec 31st, 2020
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. local counter = 0
  2. local novicecounter = 0
  3. local mastercounter = 0
  4. function down()
  5.     local x, t = turtle.inspectDown()
  6.     while t.name ~= 'minecraft:bedrock' do
  7.         turtle.digDown()
  8.         turtle.down()
  9.     end
  10. end
  11. function up()
  12.     while counter < 75 do
  13.         turtle.digUp()
  14.         turtle.up()
  15.         counter = counter + 1
  16.     end
  17. end  
  18. while mastercounter ~= do
  19.     while novicecounter ~= 16 do
  20.         down()
  21.         turtle.digForward()
  22.         turtle.forward()
  23.         up()
  24.         novicecounter = novicecounter + 1
  25.     end
  26.     turtle.turnLeft()  
  27.     turtle.turnLeft()
  28.     mastercounter = mastercounter + 1
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement