Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

#blocksToAvoidBreaking not working?

NumseBacon opened this issue ยท 7 comments

commented

Some information

Operating system: Windows
Java version: build 1.8.0_221-b11
Minecraft version: 1.12.2
Baritone version: 1.12.2? (The one from 4.8.3 impact)
Forge mods (if used): Auto-pickup-mod, durabilityviewer, inventorytweaks, itemsDontBreak, OPtifine, worldedit

Exception, error or logs

Im aware of that it still wants to break if its the only path or something? But like this is a open area so it should be able to do it? (ive also tried to increase maxCostIncrease didnt help)
latest.log

How to reproduce

First do #blocksToAvoidBreaking Beacon then make selection around a beacon (iron blocks and beacon) and #sel set air or #sel ca etc.

Modified settings

https://gyazo.com/89fa4bc7012b73ad1ba6d200e2dae8e6 https://gyazo.com/d42443d6c0079a1a3a4cfa745c200c83

Final checklist

  • I know how to properly use check boxes
  • I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
  • I have included logs, exceptions and / or steps to reproduce the issue.
  • I have not used any OwO's or UwU's in this issue.
commented

Try #set buildIgnoreBlocks beacon
replace beacon with whatever you want baritone to ignore
be aware that it will treat as if the block doesn't exists.. applies to #build as well

Lemme know how it works out for you

commented

works for me... I'm on 1.5.1 baritone, not sure about u

Baritone version: 1.12.2? (The one from 4.8.3 impact)

https://i.imgur.com/krQihtm.png

buildIgnoreBlocks
public final Settings.Setting<java.util.List<net.minecraft.block.Block>> buildIgnoreBlocks
A list of blocks to be treated as if they're air.
If a schematic asks for air at a certain position, and that position currently contains a block on this list, it will be treated as correct.

buildIgnoreExisting
public final Settings.Setting<java.lang.Boolean> buildIgnoreExisting
If this is true, the builder will treat all non-air blocks as correct. It will only place new blocks.

commented

Hmmm weirddd. Even with just #buildIgnoreBlocks it says command not found. But like yea im playing 1.12.2

commented

So when I type #settings and go to Bui it doesnt even show buildIgnoreBlocks

commented

Yup I think you're outta luck :/
Most be an older version of baritone..
Unless someone else has found a workaround I haven't thought of

In case you're wondering where the api is..
https://baritone.leijurv.com/baritone/api/Settings.html#field.detail

commented

ripp D:

commented

"Error at argument #1: Expected a valid setting" so no