much better
This commit is contained in:
parent
e3cb164723
commit
66769365d0
@ -75,7 +75,7 @@ public class GoalRunAway implements Goal {
|
|||||||
}
|
}
|
||||||
min = -min;
|
min = -min;
|
||||||
if (maintainY.isPresent()) {
|
if (maintainY.isPresent()) {
|
||||||
min += GoalYLevel.calculate(maintainY.get(), y);
|
min = min * 0.6 + GoalYLevel.calculate(maintainY.get(), y);
|
||||||
}
|
}
|
||||||
return min;
|
return min;
|
||||||
}
|
}
|
||||||
|
@ -131,13 +131,14 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
|
|||||||
// only in non-Xray mode (aka legit mode) do we do this
|
// only in non-Xray mode (aka legit mode) do we do this
|
||||||
int y = Baritone.settings().legitMineYLevel.get();
|
int y = Baritone.settings().legitMineYLevel.get();
|
||||||
if (branchPoint == null) {
|
if (branchPoint == null) {
|
||||||
if (!baritone.getPathingBehavior().isPathing() && playerFeet().y == y) {
|
/*if (!baritone.getPathingBehavior().isPathing() && playerFeet().y == y) {
|
||||||
// cool, path is over and we are at desired y
|
// cool, path is over and we are at desired y
|
||||||
branchPoint = playerFeet();
|
branchPoint = playerFeet();
|
||||||
branchPointRunaway = null;
|
branchPointRunaway = null;
|
||||||
} else {
|
} else {
|
||||||
return new GoalYLevel(y);
|
return new GoalYLevel(y);
|
||||||
}
|
}*/
|
||||||
|
branchPoint = playerFeet();
|
||||||
}
|
}
|
||||||
// TODO shaft mode, mine 1x1 shafts to either side
|
// TODO shaft mode, mine 1x1 shafts to either side
|
||||||
// TODO also, see if the GoalRunAway with maintain Y at 11 works even from the surface
|
// TODO also, see if the GoalRunAway with maintain Y at 11 works even from the surface
|
||||||
|
Loading…
Reference in New Issue
Block a user