assumeStep

This commit is contained in:
Leijurv 2018-09-11 20:24:27 -07:00
parent 3afc77bc9a
commit e82f6b8e35
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
2 changed files with 10 additions and 0 deletions

View File

@ -62,6 +62,11 @@ public class Settings {
*/
public Setting<Boolean> assumeWalkOnWater = new Setting<>(false);
/**
* Assume step functionality; don't jump on an Ascend.
*/
public Setting<Boolean> assumeStep = new Setting<>(false);
/**
* Blocks that Baritone is allowed to place (as throwaway, for sneak bridging, pillaring, etc.)
*/

View File

@ -17,6 +17,7 @@
package baritone.pathing.movement.movements;
import baritone.Baritone;
import baritone.behavior.impl.LookBehaviorUtils;
import baritone.pathing.movement.CalculationContext;
import baritone.pathing.movement.Movement;
@ -177,6 +178,10 @@ public class MovementAscend extends Movement {
}
}
if (Baritone.settings().assumeStep.get()) {
return state;
}
if (headBonkClear()) {
return state.setInput(InputOverrideHandler.Input.JUMP, true);
}