private Path createDefault(@Nonnull IBlockAccess blockaccess, @Nonnull EntityLiving entityIn, float distance, double x, double y, double z) {
this.path.clearPath();
this.nodeProcessor.init(blockaccess, entityIn);
PathPoint pathpoint = nodeProcessor.getStart();
PathPoint pathpoint1 = nodeProcessor.getPathPointToCoords(x, y, z);
PathPoint[] p = addToPath(entityIn, pathpoint, pathpoint1, distance);
Path res;
if (p == null) {
res = null;
} else {
res = new Path(p);
}
this.nodeProcessor.postProcess();
return res;
}