@SideOnly(Side.CLIENT)
public boolean navigateToSurface(EntityPlayer player){
World worldObj = player.worldObj;
int y = worldObj.getHeightValue((int)player.posX, (int)player.posZ);
PathEntity path = worldObj.getEntityPathToXYZ(player, (int)player.posX, y, (int)player.posZ, 300, true, true, false, true);
if(path != null) {
for(int i = 0; i < path.getCurrentPathLength(); i++) {
PathPoint pathPoint = path.getPathPointFromIndex(i);
if(worldObj.canBlockSeeTheSky(pathPoint.xCoord, pathPoint.yCoord, pathPoint.zCoord)) {
coordTracker = new RenderCoordWireframe(worldObj, pathPoint.xCoord, pathPoint.yCoord, pathPoint.zCoord);
navigator = new RenderNavigator(worldObj, pathPoint.xCoord, pathPoint.yCoord, pathPoint.zCoord);
return true;
}