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

feat: offhand module #4183

Merged
merged 22 commits into from
Oct 25, 2024
Merged

feat: offhand module #4183

merged 22 commits into from
Oct 25, 2024

Conversation

ccetl
Copy link
Contributor

@ccetl ccetl commented Oct 17, 2024

Adds a new module: Offhand.
This module contains the entire Auto-Totem module, the swap mode setting has been made obsolete by a smarter algorithm that independently decides whether to use switch or pickup.
The player will now also switch if there is an explosion that could affect the player's health, if the player falls, or if the player has no armor.
There is also a safety option now, where a custom health threshold can be selected for when the player is in holes, protecting them from explosions - very useful for crystal combat.

The new module also currently has - new items can be easily added - 2 additional items that can be placed in the offhand, either when certain events occur or when the player uses a direct bind / cycle bind.

@ccetl ccetl marked this pull request as ready for review October 19, 2024 21:09
@ccetl ccetl marked this pull request as draft October 20, 2024 10:00
@ccetl ccetl marked this pull request as ready for review October 20, 2024 16:35
@1zun4 1zun4 added this to the 0.17.0 milestone Oct 24, 2024
# Conflicts:
#	src/main/kotlin/net/ccbluex/liquidbounce/utils/block/BlockExtensions.kt
@ccetl
Copy link
Contributor Author

ccetl commented Oct 24, 2024

@1zun4 there should be an option to exclude the BindAction from bind settings, because here for example it's useless.

@1zun4 1zun4 merged commit 37905b3 into CCBlueX:nextgen Oct 25, 2024
2 checks passed
@ccetl ccetl deleted the offhand branch October 25, 2024 22:36
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.

4 participants