Just Backpacks Enhanced - V1.0.2.mcaddon
What's new
v1.0.2 — Food Complement Rework
Full rewrite of the Food Complement system, fixing feeding and saturation not working correctly.
Food Complement
- Rewrote the Food Complement system from scratch.
- Replaced the old
addEffect("saturation")approach with direct manipulation of the hunger and saturation components. - Saturation is now correctly capped to its maximum allowed value, preventing errors on high-saturation foods.
- Vanilla foods are now recognized via an internal lookup table, since Bedrock does not expose the
minecraft:foodcomponent for native items through scripting. - Custom foods from other addons are now supported automatically — any item that defines
minecraft:foodin its behavior pack will work without additional configuration. - The complement now only activates in Survival mode, and only when the player's hunger bar is not full.
- The best available food in the backpack is chosen by highest nutrition value, with saturation used as a tiebreaker.

This mod has no additional files

