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

Added Left Click Mine (1.21) #168

Merged
merged 4 commits into from
Jul 22, 2024
Merged

Added Left Click Mine (1.21) #168

merged 4 commits into from
Jul 22, 2024

Conversation

AS1100K
Copy link
Contributor

@AS1100K AS1100K commented Jul 20, 2024

This PR is similar to #156 but instead this is on 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.

Copy link
Collaborator

@mat-1 mat-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LeftClickMine struct should probably have docs, but not a blocker for merging, lgtm otherwise ¯\_(ツ)_/¯

@mat-1 mat-1 merged commit 832f960 into azalea-rs:main Jul 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants