Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baritone doesn't use the correct tool breaking for any block that uses an axe, shovel or hoe #4319

Open
Redhawk18 opened this issue Apr 1, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@Redhawk18
Copy link

It feels like baritone does not have the tool for mushroom blocks set within the code, because I know it can switch to the proper tool for mining with an axe or shovel.

@Redhawk18 Redhawk18 added the bug Something isn't working label Apr 1, 2024
@Redhawk18 Redhawk18 changed the title Baritone doesn't use the correct tool breaking for mushroom block Baritone doesn't use the correct tool breaking for mushroom blocks Apr 1, 2024
@ZacSharp
Copy link
Collaborator

ZacSharp commented Apr 1, 2024

Is this the situation/behavior you mean? (recorded using tweaker:runClient on 354b26b)

2024-04-01.23-54-09.mp4

@Redhawk18
Copy link
Author

Redhawk18 commented Apr 2, 2024

Is this the situation/behavior you mean? (recorded using tweaker:runClient on 354b26b)
2024-04-01.23-54-09.mp4

Very strange, is there a way to get the commit latest commit number for my version of baritone? the version command gives a dev release null. Also I'm using the litematica command if that affects anything.

@Redhawk18
Copy link
Author

I found the problem, if an axe is in the hotbar baritone will use it. Else it will not switch the item to the hotbar to use it. I wonder how many blocks this affects and it has to do with how fast it can break the block.

@ZacSharp
Copy link
Collaborator

ZacSharp commented Apr 2, 2024

Else it will not switch the item to the hotbar to use it. I wonder how many blocks this affects and it has to do with how fast it can break the block.

Baritone unconditionally moves a pickaxe to your hotbar and no other tools so this affects anything for which a pickaxe is not the fastest tool. There was a pr to fix this (and much more) but it sadly died (#4037).

@Redhawk18
Copy link
Author

Else it will not switch the item to the hotbar to use it. I wonder how many blocks this affects and it has to do with how fast it can break the block.

Baritone unconditionally moves a pickaxe to your hotbar and no other tools so this affects anything for which a pickaxe is not the fastest tool. There was a pr to fix this (and much more) but it sadly died (#4037).

why did it die? I dont see any problems, looks like it never got merged.

@ZacSharp
Copy link
Collaborator

ZacSharp commented Apr 2, 2024

I don't know. It's still a draft so I think Brady (ZeroMemes) had further plans for it, but to know why he didn't finish it you'd have to ask him.

@Redhawk18
Copy link
Author

whats the best way to reach out to him? I'm sure I could dm him on discord but that is bad practice for open source projects.

@ZacSharp
Copy link
Collaborator

ZacSharp commented Apr 2, 2024

Discord and pinging him here is the ways I know.

@Redhawk18
Copy link
Author

@ZeroMemes

@figloalds
Copy link

Yeah, but it won't use a hoe for gathering carrots when running the farm command

@ZacSharp
Copy link
Collaborator

@figloalds carrots break instantly without using a tool and there is no tool assigned to them. Why would you expect Baritone to use a hoe to break them?

@figloalds
Copy link

figloalds commented Apr 28, 2024

@ZacSharp because of the fortune enchantment which the wiki states to increase drop rates
Fully grown carrot crops drop 2 to 5 carrots (3 5⁄7 per crop harvested on average). Yield can be increased using a tool enchanted with [Fortune](https://minecraft.fandom.com/wiki/Fortune), with Fortune III harvesting an average of 5 3⁄7 carrots.
https://minecraft.fandom.com/wiki/Carrot

@ZacSharp
Copy link
Collaborator

@figloalds ok, though that's a separate concern from this issue (because considering fortune is not an intended feature). I'd ask you to open a new issue, but there probably is one already.

@Redhawk18
Copy link
Author

After hours more of testing its any block that uses an axe, shovel or hoe as its tool.

@Redhawk18 Redhawk18 changed the title Baritone doesn't use the correct tool breaking for mushroom blocks Baritone doesn't use the correct tool breaking for any block that uses an axe, shovel or hoe Apr 30, 2024
@ZacSharp
Copy link
Collaborator

Yes, as already stated here, anything but pickaxes behaves like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants