https://pastein.ru/t/jIV

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


while True:
    pos = mc.player.getTilePos()
    for i in range(8):
        pos = mc.player.getPos()
        for i in range(5):
            if mc.getBlock(pos.x - i, pos.y, pos.z) == 5 or mc.getBlock(pos.x + i, pos.y, pos.z) == 5:
                mc.player.setTilePos(x33, y, z33)
                mc.postToChat("Вы проиграли, начните заново")

        if mc.getBlock(pos.x, pos.y - 1, pos.z) == 11:
            mc.player.setTilePos(x33, y, z33)
            mc.postToChat("Вы проиграли, начните заново")

        elif mc.getBlock(pos.x - 1, pos.y, pos.z) == 89 or mc.getBlock(pos.x + 1, pos.y,
                                                                       pos.z) == 89 or mc.getBlock(pos.x,
                                                                                                   pos.y,
                                                                                                   pos.z - 1) == 89 or mc.getBlock(
                pos.x, pos.y, pos.z + 1) == 89:
            mc.postToChat("Вы ПОБЕДИЛИ")
        for i in range(10):
            if mc.getBlock(pos.x, pos.y + i, pos.z) == 41:
                mc.player.setTilePos(x33, y, z33)
                mc.postToChat("Вы проиграли, начните заново")

        avto2(x, y, z)
        avto2(x1, y, z1)
        avto2(x, y, z2)

        dom_N(x11, y11, z11)
        dom_N(x22, y22, z22)

        x = x + 2
        x1 = x1 - 2
        y11 = y11 - 1
        y22 = y22 + 1

        time.sleep(0.5)
        mc.setBlocks(x - 5, y, z, x, y + 2, z + 1, 0)
        mc.setBlocks(x1, y, z1, x1 + 10, y + 2, z1 + 1, 0)
        mc.setBlocks(x - 5, y, z2, x, y + 2, z2 + 1, 0)

        mc.setBlocks(x11, y11 + 10, z11, x11 + 6, y11, z11 + 5, 0)
        mc.setBlocks(x22, y22 - 1, z22, x22 + 6, y22, z22 + 5, 0)

    for i in range(8):
        pos = mc.player.getTilePos()

        for i in range(5):
            if mc.getBlock(pos.x - i, pos.y, pos.z) == 5 or mc.getBlock(pos.x + i, pos.y, pos.z) == 5:
                mc.player.setTilePos(x33, y, z33)
                mc.postToChat("Вы проиграли, начните заново")

        if mc.getBlock(pos.x, pos.y - 1, pos.z) == 11:
            mc.player.setTilePos(x33, y, z33)
            mc.postToChat("Вы проиграли, начните заново")

        elif mc.getBlock(pos.x - 1, pos.y, pos.z) == 89 or mc.getBlock(pos.x + 1, pos.y,
                                                                       pos.z) == 89 or mc.getBlock(pos.x,
                                                                                                   pos.y,
                                                                                                   pos.z - 1) == 89 or mc.getBlock(
                pos.x, pos.y, pos.z + 1) == 89:
            mc.postToChat("Вы ПОБЕДИЛИ")
        for i in range(10):
            if mc.getBlock(pos.x, pos.y + i, pos.z) == 41:
                mc.player.setTilePos(x33, y, z33)
                mc.postToChat("Вы проиграли, начните заново")

        avto2(x, y, z)
        avto2(x1, y, z1)
        avto2(x, y, z2)

        dom_N(x11, y11, z11)
        dom_N(x22, y22, z22)

        x = x - 2
        x1 = x1 + 2

        y11 = y11 + 1
        y22 = y22 - 1

        time.sleep(0.5)
        mc.setBlocks(x, y, z, x + 10, y + 2, z + 1, 0)
        mc.setBlocks(x1 - 5, y, z1, x1, y + 2, z1 + 1, 0)
        mc.setBlocks(x, y, z2, x + 10, y + 2, z2 + 1, 0)

        mc.setBlocks(x11, y11 - 1, z11, x11 + 6, y11, z11 + 5, 0)
        mc.setBlocks(x22, y22 + 10, z22, x22 + 6, y22, z22 + 5, 0)