@Override
    public int compareTo(WorldCoordinate o) {
        if (dimension != o.dimension)
            return dimension - o.dimension;
        if (x != o.x)
            return x - o.x;
        if (y != o.y)
            return y - o.y;
        if (z != o.z)
            return z - o.z;
        return 0;
    }