public Position toPosition() {
        return Position.of(this.x, this.y, this.z, this.world);
    }
An immutable and serializable block location object
helper/src/main/java/me/lucko/helper/serialize/BlockPosition.java