SHARE
TWEET

mining.lua

a guest Feb 14th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function digThreeByThree()
  2.     digThreeFront()
  3.     turtle.left()
  4.     digThreeFront()
  5.     turtle.right()
  6.     turtle.right()
  7.     turtle.forward()
  8.     turtle.digThreeFront()
  9.     turtle.right()
  10.     turtle.right()
  11.     turtle.forward()
  12.     turtle.right()
  13. end
  14.  
  15. local function digThreeFront()
  16.     turtle.dig()
  17.     turtle.up()
  18.     turtle.dig()
  19.     turtle.down()
  20.     turtle.down()
  21.     turtle.dig()
  22.     turtle.forward()
  23.     turtle.up()
  24. end
  25.  
  26. digThreeByThree()
  27.    
  28.        
  29.     for i=1,16 do
  30.         local data = turtle.getItemDetail(i)
  31.         if data then
  32.             print(data.name)
  33.         end
  34.     end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top