https://pastein.ru/t/iIV

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


def dom_N(x, y, z):
    sx = x + 2 + 5 / 2  # центр по X

    sy = y + 5 / 2  # центр по Y

    sz = z + 5 / 2  # центр по Z

    mc.setBlocks(x + 1, y, z, x + 6, y + 5, z + 5, block.GOLD_BLOCK.id)

    mc.setBlocks(x + 2, y + 1, z + 1, x + 5, y + 4, z + 4, block.AIR.id)

    mc.setBlocks(sx - 1, y + 1, z, sx, y + 2, z, block.AIR.id)

    mc.setBlocks(sx + 1, sy + 1, z, sx + 1, sy + 2, z, block.GLASS.id)

    mc.setBlocks(sx - 2, sy + 1, z, sx - 2, sy + 2, z, block.GLASS.id)

    mc.setBlocks(x + 1, sy + 1, sz + 2, x + 1, sy + 2, sz + 2, block.GLASS.id)

    mc.setBlocks(x + 1, sy + 1, sz - 1, x + 1, sy + 2, sz - 1, block.GLASS.id)

    mc.setBlocks(x + 6, sy + 1, sz + 2, x + 6, sy + 2, sz + 2, block.GLASS.id)

    mc.setBlocks(x + 6, sy + 1, sz - 1, x + 6, sy + 2, sz - 1, block.GLASS.id)

    mc.setBlocks(x + 1, y + 6, z, x + 6, y + 6, z + 5, block.IRON_BLOCK.id)
    mc.setBlocks(x + 2, y + 7, z, x + 5, y + 7, z + 5, block.IRON_BLOCK.id)
    mc.setBlocks(x + 3, y + 8, z, x + 4, y + 8, z + 5, block.IRON_BLOCK.id)


mc.setBlocks(pos.x - 2, pos.y, pos.z - 2, pos.x + 22, pos.y + 3, pos.z + 76, block.IRON_BLOCK.id)
mc.setBlocks(pos.x - 1, pos.y, pos.z - 1, pos.x + 21, pos.y + 3, pos.z + 75, 0)
mc.setBlocks(pos.x - 1, pos.y - 1, pos.z + 50, pos.x + 21, pos.y - 1, pos.z + 51, 10)