Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

noXRay mode

bphd opened this issue ยท 5 comments

commented

Like the bot don't search ores with xray, instead he play normally like exploring caves or use a normal mining optimisation technique, and if he find an ore he mine it, if not he continues to walk/mine randomly (but efficiently) to find new ones

THAT'S the ultimate legitMining

commented

legitMine does not use xray, and it is truly legit. It will never go towards an ore that it cannot actually see visually.

commented

I suggest that because the XRay legitMine mode is way to obvious. Like yeah he use caves, but he goes DIRECTLY to the ores, especially when they're underground and thats not natural at all
I say that you should naturally continues to improve the XRay more but you should propose a non XRay mode to play a maximum legitimely too because XRay is way too much obvious

commented

Or yeah, you'll tell me that it isn't an AI but a bot, that he cannot "see" but only make path to an objective
So okay, use XRay but not to find a path to ores, but to help him to go to them to mine it, but considerate that he can mine those only if he has see it (like direct vision for example), and maybe other conditions to define to act more naturally

commented

legitMine does not use xray, and it is truly legit. It will never go towards an ore that it cannot actually see visually.

But it does appear to mine towards open spots with xray, no? A legit "legitmine" would just keep digging forward until it finds a cave, explores the cave (digging up visible ores), then continues on it's way.

image

In this example, baritone shouldn't have known that there was a cave upwards and start digging towards it.

image

Bot took a left up towards a cave it shouldn't have known that was there. If someone were to follow the path of the bot, one could assume the player was going the other way and went towards the sound of lava.

image

But this here is clearly suspicious. Bot was on the tunnel in the right, took a sudden angle to the left immediately to the tip of a cave. Once again, if someone were to follow the tunnel backwards, it'd look a little fine - like the player dug in a little and just decided to head west or whatever. But if someone was spectating..

image

Don't even get me started on this one. My ass would be immediately banned if anyone caught me digging straight down into a mineshaft. So much for "legitmine" never using xray.

That being said, I'd imagine a fix for this would to have the bot not path into areas beyond blocks. The bot, just as a player would, shouldn't know what's behind a wall. So if the bot wants to mine through a wall, it should mine to the wall first, then initiate tunneler feature until it either hits a cave / air again.

commented

I think for this to work the AI should ignore any path that involves breaking any block that is followed by an open area (except if it is at the mining Y level and mining straight, that should be allowed).