Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Small documentation issues

scorbett123 opened this issue ยท 12 comments

commented

This issue is for people to list small documentation problems that they found so that they can all be fixed in one pr.

If you find a documentation issue please comment it here and I will add it to the todo list:

  • Add an example of using a quantity in mine process
commented

A quick read through Usage.md and a few things I remember

  • You need to say reset all (not reset) and reset <setting> (not <setting> reset)
  • To reenable chatControl and prefixControl you should remove one or both lines, not the whole file
  • Further down the file and also in it's help text #blacklist seems like it affects anything but it's only for GetToBlockProcess (could be seen as a bug/missing feature for MineFrocess and BuilderProcess as well)
  • We have about 200 settings not about 100
  • Documentation of #eta should mention times being measured in ticks (or we change them to seconds)
  • #axis help says it sets goal to x=0 or z=0; x=z and x=-z and the restriction to y=axisHeight are missing
  • Documentation of the return value of ToolSet.materialCost omits -1 for non-tools
commented

* Syntax same as <a href="https://baritone.leijurv.com/baritone/api/Settings.html#buildSubstitutes">buildSubstitutes</a>

Should be a javadoc link ({@link #buildSubstitutes})

commented

Whilst doing this we should probably also edit some messages such as:

System.out.println("But I'm going to do it anyway, because yolo");

commented

This line shouldn't exist

commented

We should mention that Baritone doesn't support all formats or even list the supported formats here

throw new CommandInvalidStateException("Couldn't load the schematic. Make sure to use the FULL file name, including the extension (e.g. blah.schematic).");

There's so many people opening bug reports because Baritone outputs this message for .litematic and .nbt

commented

"cannot" is one word

"Tab completion will suggest only cached blocks and uncached blocks can not be found.",

commented

can not is valid

commented

this comment is obsolete

return ImmutableSet.of(src, dest); // src.above means that we don't get caught in an infinite loop in water

commented

Settings javadoc should describe the setting, not the default value (it is ok to use the default as an example though). These descriptions currently read as if the setting was a toggle between not using the feature and using it with that one specific value.

* It doesn't actually take twenty ticks to place a block, this cost is so high
* Stop 5 movements before anything that made the path COST_INF.
* If we are more than 300 movements into the current path, discard the oldest segments, as they are no longer useful
* Rescan for the goal once every 5 ticks.
* Take the 10 closest chunks, even if they aren't strictly tied for distance metric from origin.

commented

We should mention what kind of jumps Baritone can currently do.

* You know what it is

commented

This should be removed or turned into debug output

System.out.println("Currently have " + curr + " valid items");

commented

This should be "Paste"

baritone.getBuilderProcess().build("Fill", clipboard, pos.add(clipboardOffset));