View difference between Paste ID: 9paDXyrR and yfjV7mTJ
SHOW: | | - or go back to the newest paste.
1
--0-do not replace
2
--1-netherrack
3
--2-obsidian
4
--3-gold
5
--4-diamond
6-
    {0, 0, 0, 1, 0, 0, 0},
6+
7-
    {0, 0, 1, 1, 1, 1, 0},
7+
8-
    {0, 1, 1, 1, 1, 1, 0},
8+
    {0, 0, 1, 1},
9-
    {1, 1, 1, 1, 1, 1, 1},
9+
    {0, 1, 1},
10-
    {0, 1, 1, 1, 1, 1, 0},
10+
    {1, 1},
11-
    {0, 1, 1, 1, 1, 1, 0},
11+
    {2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1}
12-
    {0, 0, 1, 1, 1, 0, 0},
12+
    
13-
    {0, 0, 0, 1, 0, 0, 0}
13+
}
14-
    }
14+
15
function buildline(line)
16
   for i = 1,#line do 
17
     slot=line[i]
18
     if slot ~= 0 then
19
         turtle.select(slot) 
20
         turtle.digDown()
21
         turtle.placeDown()
22
     end
23
     turtle.forward()
24
   end
25
   for i=1,#line do
26
     turtle.back()
27
   end
28
   turtle.turnRight()
29
   turtle.forward()
30
   turtle.turnLeft()
31
end
32
33
for i = 1,10 do
34
  line = myArt[i]
35
  buildline(line)
36
end