https://pastein.ru/t/sQV

  скопируйте уникальную ссылку для отправки


for k in range(len(d31)):
    if d31[k] == 22:
        dom2_S()
        pos.z = pos.z - 5
    elif d31[k] == 21:
        dom2_N()
        pos.z = pos.z - 5
    elif d31[k] == 0:
        mc.setBlocks(pos.x, pos.y, pos.z, pos.x + 5, pos.y + 5, pos.x + 5, 0)

    pos.z = pos.z + 20
    x = pos.x
    y = pos.y
    z = pos.z
pos.z = pos.z - 20 * len(d31)
pos.x = pos.x + 15

for k in range(len(d61)):
    if d61[k] == 22:
        dom2_S()
        pos.z = pos.z - 5
    elif d61[k] == 14:
        dom_W()
    elif d61[k] == 0:
        mc.setBlocks(pos.x, pos.y, pos.z, pos.x + 5, pos.y + 5, pos.x + 5, 0)
    elif d61[k] == 21:
        dom2_N()
        pos.z = pos.z - 5
    pos.z = pos.z + 20
    x = pos.x
    y = pos.y
    z = pos.z

pos.z = pos.z - 20 * len(d61)