setting
This commit is contained in:
parent
bac07ce100
commit
16f88aa858
@ -77,6 +77,12 @@ public class Settings {
|
|||||||
*/
|
*/
|
||||||
public Setting<Boolean> allowVines = new Setting<>(false);
|
public Setting<Boolean> allowVines = new Setting<>(false);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Slab behavior is complicated, disable this for higher path reliability. Leave enabled if you have bottom slabs
|
||||||
|
* everywhere in your base.
|
||||||
|
*/
|
||||||
|
public Setting<Boolean> allowWalkOnBottomSlab = new Setting<>(true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the big A* setting.
|
* This is the big A* setting.
|
||||||
* As long as your cost heuristic is an *underestimate*, it's guaranteed to find you the best path.
|
* As long as your cost heuristic is an *underestimate*, it's guaranteed to find you the best path.
|
||||||
|
@ -202,6 +202,12 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (block instanceof BlockSlab) {
|
if (block instanceof BlockSlab) {
|
||||||
|
if (!Baritone.settings().allowWalkOnBottomSlab.get()) {
|
||||||
|
if (((BlockSlab) block).isDouble()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return state.getValue(BlockSlab.HALF) != BlockSlab.EnumBlockHalf.BOTTOM;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (BlockStateInterface.isWater(block)) {
|
if (BlockStateInterface.isWater(block)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user