public void recalcHeightMap()
    {
        for (int x = 0; x < 16; x++)
            for (int z = 0; z < 16; z++)
            {
                int y = MAP_HEIGHT - 1;
                while (Blocks.getBlockOpacity(getBlock(x, y, z)) == 0 && y > 0)
                    y--;
                y++;
                setHeight(x, z, y);
            }
    }