-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Pause if Inventory open. #4826
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
base: 1.19.4
Are you sure you want to change the base?
Pause if Inventory open. #4826
Conversation
Used @babbaj's code to add conditional item moving. |
I found another issue while testing this, which is that pillaring makes the player continuously jump when you have a high |
Looking back on this, the thing that servers are able to detect is when the player interacts with their inventory while moving. I'm thinking that instead of stopping Baritone when an inventory is open, we could just add a setting that doesn't let the player interact with anything in the inventory when Baritone is running. This would be better because the player might still want to see what's in their inventory while the bot is running. To actually interact with the inventory, the player can just pause the bot. |
Closes #4825
Closes #4715
Stops executing any movements when it's in the inventory. Also should send inventory open events to server when it's changing item positions.
Servers are able to detect if a player has interacted with their inventory while they are still moving. This would stop Baritone to prevent that.