@Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * PRIME + this.getX();
        result = result * PRIME + this.getZ();
        result = result * PRIME + this.getWorld().hashCode();
        return result;
    }
An immutable and serializable chuck location object
helper/src/main/java/me/lucko/helper/serialize/ChunkPosition.java