fine; assumewalkonlava
This commit is contained in:
parent
71491a7922
commit
a8f373d568
@ -91,6 +91,11 @@ public final class Settings {
|
|||||||
*/
|
*/
|
||||||
public final Setting<Boolean> assumeWalkOnWater = new Setting<>(false);
|
public final Setting<Boolean> assumeWalkOnWater = new Setting<>(false);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If you have Fire Resistance and Jesus then I guess you could turn this on lol
|
||||||
|
*/
|
||||||
|
public final Setting<Boolean> assumeWalkOnLava = new Setting<>(false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assume step functionality; don't jump on an Ascend.
|
* Assume step functionality; don't jump on an Ascend.
|
||||||
*/
|
*/
|
||||||
|
@ -290,6 +290,9 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||||||
// if assumeWalkOnWater is off, we can only walk on water if there is water above it
|
// if assumeWalkOnWater is off, we can only walk on water if there is water above it
|
||||||
return isWater(up) ^ Baritone.settings().assumeWalkOnWater.value;
|
return isWater(up) ^ Baritone.settings().assumeWalkOnWater.value;
|
||||||
}
|
}
|
||||||
|
if (Baritone.settings().assumeWalkOnLava.value && isLava(block)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (block == Blocks.GLASS || block == Blocks.STAINED_GLASS) {
|
if (block == Blocks.GLASS || block == Blocks.STAINED_GLASS) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user