cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.16k stars 1.44k forks source link

Mining blocks more than specified #4293

Open bulieme opened 6 months ago

bulieme commented 6 months ago

mine diamond_ore iron_ore to mine diamond ore or iron ore (turn on the setting legitMine to only mine ores that it can actually see. It will explore randomly around y=11 until it finds them.) An amount of blocks can also be specified, for example, mine 64 diamond_ore.

I tried that in readme.md, but the baritone is mining more than 64 specified blocks. anyone know why?

ZacSharp commented 6 months ago

Someone already reported this in #4228. As you can see there, nobody explained why it happens and there is no known fix. Last time I tried it did stop after the specified amount of items, but maybe I just tried the wrong block. I suspect it's because the actual drops are not what Baritone thinks they should be. Are you perhaps using silk touch?

bulieme commented 6 months ago

i did not use silk touch

bulieme commented 6 months ago

maybe yea i think the baritone thinks the item must be the same as it specified

bulieme commented 6 months ago

UPDATE: I tried oak_log (winch is the same item when dropped) and still wont work

CheeseEater3000Turbo commented 4 months ago

Someone already reported this in #4228. As you can see there, nobody explained why it happens and there is no known fix. Last time I tried it did stop after the specified amount of items, but maybe I just tried the wrong block. I suspect it's because the actual drops are not what Baritone thinks they should be. Are you perhaps using silk touch?

I think this bug is not in the impact client which has custom baritone so go there ask for it or get it and compare the code fix it :)