SHOW:
|
|
- or go back to the newest paste.
1 | - | local function forward() |
1 | + | -- stack of iron blocks in slot one and it should wait until the Shadowpulse Goo converts it, pick it up and repeat |
2 | - | while not turtle.forward() do |
2 | + | target="justdirethings:raw_ferricore_ore" |
3 | - | turtle.dig() |
3 | + | |
4 | local function checkblock() | |
5 | local has_block, data = turtle.inspect() | |
6 | if has_block then | |
7 | - | target="minecraft:dirt" |
7 | + | if data.name == target then |
8 | - | target2="minecraft:grass_block" |
8 | + | turtle.dig() |
9 | - | lw=8 -- length and width, It'll just be a box |
9 | + | turtle.place() |
10 | else | |
11 | print("Still=",data.name) | |
12 | - | local function digUp() |
12 | + | |
13 | - | local has_block, data = turtle.inspectUp() |
13 | + | |
14 | end | |
15 | - | if data.name == target or data.name == target2 then |
15 | + | |
16 | - | turtle.digUp() |
16 | + | turtle.place() |
17 | ||
18 | - | print("Target=",data.name) |
18 | + | for x=1,63 do |
19 | checkblock() | |
20 | sleep(2) | |
21 | end | |
22 |