Skip to content

AutoEat forces slot until Health Threshold is satisfied #4836

@un-ited

Description

@un-ited

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions