Baritone: [Feature request] Search for multiple blocks

Created on 1 Jun 2019  Â·  13Comments  Â·  Source: cabaletta/baritone

Right now I can search for a single block type, for example #goto portal, or #goto stone. What I would like to see possible, is the ability to tell baritone to look for multiple different blocks, something like #lookfor white_shulker_box orange_shulker_box.
While at it, the user should have to add blocks to the search, since the minecraft chat character limit does not allow for typing all of the different shulker box types. Maybe the usage could look like this: the user enters one or multiple #lookfor commands, and then uses something like #golookto actually start the pathfinding process.

All 13 comments

.goto block_name block_name

When I use using #goto white_shulker_box orange_shulker_box I get this:
image
and if I use .goto white_shulker_box orange_shulker_box I get this:
image
Neither Impact nor Baritone understands this kind of syntax.

This is due to a 2 argument length go to command expects the syntax <x> <z>.

Your specific issue could be solved by support for block tags, so you could do something along the lines of goto #shulker_box and it would cover all blocks that have that tag.

mine white_shulker_box orange_shulker_box

then disable allowBreak and its gamer time 😎

smallest brain is disabling allowBreak, largest brain is adding each color individually to blocksToAvoid

other way around idiot

I have already tried to use the mine command. There are two issues though:

  1. When Baritones can't detect a location of a certain block, it simply gives up:
    image
  2. As I have stated in my first message, the amount of variation in the shulker box colour makes a mine command with all of the shulker box types over 300 characters long, while minecraft chat allows for only 256 characters, because of that there should be a way to add blocks to such command while not overriding current search.

I will write a mixin extending the chat limit to 300 when baritone is installed :+1:

:elmo:

Well, it is over 300 characters. Looking into other color-variable blocks like, I think that glass panes have the longest comination — 339 characters for each coloured variation and a colourless one.
While a mixin like that will definitely be helpul, it does not change the fact that mine doesn't explore for blocks automatically and this is an issue I deem feature-worthy.

Close the game.
Open .minecraft/baritone
Edit settings.txt and add all shulkerboxes to blocksToAvoid 👌

How should I add them?

updated message

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RealIndrit picture RealIndrit  Â·  3Comments

BluSpectrum picture BluSpectrum  Â·  3Comments

Hackerokuz picture Hackerokuz  Â·  3Comments

leijurv picture leijurv  Â·  3Comments

AlexandreFinne picture AlexandreFinne  Â·  3Comments