assumeStep
This commit is contained in:
@@ -62,6 +62,11 @@ public class Settings {
|
|||||||
*/
|
*/
|
||||||
public Setting<Boolean> assumeWalkOnWater = new Setting<>(false);
|
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.)
|
* Blocks that Baritone is allowed to place (as throwaway, for sneak bridging, pillaring, etc.)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
package baritone.pathing.movement.movements;
|
package baritone.pathing.movement.movements;
|
||||||
|
|
||||||
|
import baritone.Baritone;
|
||||||
import baritone.behavior.impl.LookBehaviorUtils;
|
import baritone.behavior.impl.LookBehaviorUtils;
|
||||||
import baritone.pathing.movement.CalculationContext;
|
import baritone.pathing.movement.CalculationContext;
|
||||||
import baritone.pathing.movement.Movement;
|
import baritone.pathing.movement.Movement;
|
||||||
@@ -177,6 +178,10 @@ public class MovementAscend extends Movement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Baritone.settings().assumeStep.get()) {
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
if (headBonkClear()) {
|
if (headBonkClear()) {
|
||||||
return state.setInput(InputOverrideHandler.Input.JUMP, true);
|
return state.setInput(InputOverrideHandler.Input.JUMP, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user