@Override public String toString() { return String.format("ChunkCoordinate [x: %s, y: %s, z: %s]", getX(), getY(), getZ()); } }
/** * Create an immutable chunk position from this coordinate. * @return The new immutable chunk position. */ public ChunkPosition toPosition() { return new ChunkPosition(getX(), getY(), getZ()); }