meteor-client icon indicating copy to clipboard operation
meteor-client copied to clipboard

AutoEat forces slot until Health Threshold is satisfied

Open un-ited opened this issue 1 year ago • 1 comments

Describe the bug

I am using the Auto Eat module with the following settings:

- General settings do not matter -
- Threshold -
Threshold Mode: Any
Health Threshold: 10
Hunger Threshold 16

Once I take damage, the Auto Eat module forces my hotbar to stay on one specific slot, the one it found food in, until my Health is above the defined Threshold again. The issue with that is that if I do not have enough food to recover to the defined Health Threshold, it still won't let go of the slot. This also happens when all the food in your inventory has been used up, it will not unclip from the slot it found food in before the health is not (in my example) at least at 10 again.

I would expect it to temporarily release the slot once hunger is saturated (unless using enchanted/golden apples, which ignore saturation) and start eating again when possible or abort the eating once all food has been consumed.

Steps to reproduce

  1. Enable AutoEat
  2. Set Threshold Mode to Health
  3. Set Health Threshold to 18 (can be anything)
  4. Put only 1 piece of food in your hotbar (must be an insufficient amount to reach the threshold)
  5. Take some damage

Meteor Version

meteor-client-0.5.8-2151

Minecraft Version

Minecraft 1.21.1 with Fabric Loader 0.15.11

Operating System

Windows

Before submitting a bug report

  • [x] This bug wasn't already reported (I have searched bug reports on GitHub).

  • [X] This is a valid bug (I am able to reproduce this on the latest dev build).

un-ited avatar Aug 17 '24 15:08 un-ited

The problem is still present, but I don’t think it’s a bug. If he waited until he could eat again, it would be just like the 'Both' mode. The only thing that could probably be changed is that he shouldn’t force the slot until he can actually eat again.

Markrealhd avatar Sep 23 '24 17:09 Markrealhd

13e10f851219cda295059d21f18262438bccd782

Wide-Cat avatar Jul 18 '25 13:07 Wide-Cat