-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Added Left Click Mine Functionality #156
Conversation
lgtm, even though I have no permissions to say that |
…nt and also send stop mining event if mining a block that is not reachable.
Should I also open this PR on main branch. Currently the error |
Yeah, I forgot that this PR isn't targeted at the main branch, I'd appreciate that.
Wdym? Your branch and the main branch both work fine for me (at least when running the testbot example). What's your code that triggers that error? |
I have opened a PR #168 on the main branch. |
What this PR does?
This PR, will introduce a function in
azalea::Client
i.e.left_click_mine
, once it is enabled it will make the bot mine the blocks it is looking at if it is within it's range In simpler words, it is a simple left-click implementation for mining blocks.Why this was added?
Although, it is quite basic functionality which could be used either for digging tunnels, mining stones in stone generator, etc. But I thought having it out of the box supported by azalea would be great, that's why I opened this PR.
Why this PR was not opened on the main branch of azalea?
The main branch currently, supports Minecraft version
1.21
and introduces changes inazalea-client/interact.rs
which interferes withleft_click_mine
. This issue makesleft_click_mine
not work in1.21
. But I am working on a fix, and will soon open a PR to the main branch.