-
-
Notifications
You must be signed in to change notification settings - Fork 513
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(nextgen): SmartEat #1766
feat(nextgen): SmartEat #1766
Conversation
wrong deafults and not working with inventory cleaner
I was waiting for a reply from @superblaubeere27. Other than merging, everything should be ready. |
One thing that's still not perfect is that Sometimes it won't trigger silentoffhand, like when right clicking with an empty hand. |
If you have trouble testing, you could try testing our test framework:
|
any progress/update here? |
My apologies for the late response. While it's not flawless yet, I haven't encountered any significant issues with it. Therefore, I'm opening it for merge now. I may improve it at a later time, but i sadly just don't currently have the time for it. |
Yes, sorry! I will check it out soon. |
Thanks! |
*/ | ||
|
||
object ModuleSmartEat : Module("SmartEat", Category.PLAYER) { | ||
private val HOTBAR_OFFHAND_LEFT_TEXTURE = Identifier("hud/hotbar_offhand_left") |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs some attention from the Frontend :o @SenkJu
src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/combat/ModuleSmartEat.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/combat/ModuleSmartEat.kt
Outdated
Show resolved
Hide resolved
val x = i - 91 - 26 - offset | ||
val y = scaledHeight - 16 - 3 | ||
dc.drawItemInSlot(mc.textRenderer, currentFood.second, x, y) | ||
dc.drawItem(currentFood.second, x, y) | ||
dc.drawGuiTexture( | ||
HOTBAR_OFFHAND_LEFT_TEXTURE, i - 91 - 29 - offset, | ||
scaledHeight - 23, 29, 24 | ||
) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/combat/ModuleSmartEat.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/combat/ModuleSmartEat.kt
Outdated
Show resolved
Hide resolved
@superblaubeere27 Merge this when you think it is ready. |
# Conflicts: # src/main/kotlin/net/ccbluex/liquidbounce/features/module/ModuleManager.kt
Thanks for your contribution! |
Features:
Silent offhand
Essentially adds a extra offhand for food, so you can use your main offhand for things like totem of undying. As well works on 1.8 servers that don't support a offhand
AutoEat
Automatically eats when the hunger gets too low
todo: