double z = location.getZ();
if(!navigation.a(x, y, z, speed)) {
int dx = MathUtil.floor(x);
int dy = (int) y;
int dz = MathUtil.floor(z);
PathEntity path = nmsEntity.world.a(nmsEntity, dx, dy, dz, (float) this.getPathfindingRange(), true, false, false, true);
this.moveWithPath(path, speed);
}
}
}