baritone icon indicating copy to clipboard operation
baritone copied to clipboard

Cactus Movement Avoidance Setting

Open tweetsparx12 opened this issue 10 months ago • 3 comments

## Describe your suggestion Please add a setting to modify which blocks baritone avoids walking into. My builds, cough cough not a cactus farm , are impossible due to this feature.

In file: src/main/java/baritone/pathing/movement/MovementHelper.java

In line: 388 (for cactus specifically)

## Settings The ability to add or remove blocks from this list would be really useful. Maybe even a cost that could be assigned to each block could be useful, but to be honest the ability to toggle this alone would unlock a lot of builds. cough cough not a cactus farm

## Context Adding this setting would allow users to build structures with hazardous blocks such as magma blocks or cactus blocks.

## Final checklist

  • [x] I know how to properly use check boxes
  • [x] I have not used any OwO's or UwU's in this issue. lol

tweetsparx12 avatar Mar 21 '25 05:03 tweetsparx12

Why does not walking into the block stop Baritone from placing it?

ZacSharp avatar Mar 22 '25 01:03 ZacSharp

Why does not walking into the block stop Baritone from placing it?

Well sometimes the pathing can't find a route due to a hazardous block being included in all potential routes. So this could include a bridge made out of magma blocks, a cactus farm, or even like a garden with those berry bushes. So baritone might place the magma block, or the cactus, or the berry bush at the beginning but it then would not be able to proceed up the bridge, up the cactus farm, or deeper into the garden to finish the build.

tweetsparx12 avatar Mar 22 '25 06:03 tweetsparx12

Well, sneaking on magma is possible, but walking on cacti or through berry bushes would IMHO qualify as an implementation of https://github.com/cabaletta/baritone/issues/1547. Both berry bushes and cactus can be deadly and treating them as harmless when there's lots of them around would be very dangerous. Especially ending a path on cactus is a very bad idea.

ZacSharp avatar Mar 22 '25 13:03 ZacSharp