Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Cactus Movement Avoidance Setting

tweetsparx12 opened this issue ยท 3 comments

commented

## 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

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

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

commented

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.

commented

Well, sneaking on magma is possible, but walking on cacti or through berry bushes would IMHO qualify as an implementation of #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.