Added Left Click Mine Functionality#156
Merged
mat-1 merged 5 commits intoazalea-rs:1.20.6from Jul 22, 2024
AS1100K:feature/1.20.6-auto-mine
Merged
Added Left Click Mine Functionality#156mat-1 merged 5 commits intoazalea-rs:1.20.6from AS1100K:feature/1.20.6-auto-mine
mat-1 merged 5 commits intoazalea-rs:1.20.6from
AS1100K:feature/1.20.6-auto-mine
Conversation
|
lgtm, even though I have no permissions to say that |
mat-1
requested changes
Jul 19, 2024
…nt and also send stop mining event if mining a block that is not reachable.
Contributor
Author
|
Should I also open this PR on main branch. Currently the error |
Collaborator
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? |
Contributor
Author
I have opened a PR #168 on the main branch. |
mat-1
approved these changes
Jul 22, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does?
This PR, will introduce a function in
azalea::Clienti.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.21and introduces changes inazalea-client/interact.rswhich interferes withleft_click_mine. This issue makesleft_click_minenot work in1.21. But I am working on a fix, and will soon open a PR to the main branch.