https://pastein.ru/t/jQV

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


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(d21)
pos.x = pos.x + 15

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

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