yeelp / Scaling-Feast

A simple, balanced way to increase your maximum hunger in Minecraft over the course of a world.
MIT License
0 stars 1 forks source link

Alternate `VANILLA-LIKE` behavior for hunger-based HP regen (90% threshold) #106

Closed James103 closed 2 years ago

James103 commented 2 years ago

Is your feature request related to a problem? Please describe. Players (especially those that use the vanilla hunger bar style despite the increased max hunger) may want the ability to regenerate health when hunger is 90% or higher, but that is not an option unless they want to write the script themselves, which not many people can do.

Describe the feature you'd like To fix this, a new option should be added to the hunger regen settings, named 90_PERCENT. Selecting this option means that your hunger level must be at least 90% of your max hunger (9 full shanks out of 10 on the DEFAULT hunger bar display) in order for hunger regen to kick in.

For example, suppose a player has 95 out of 100 hunger and /gamerule naturalRegeneration is enabled.

Another example: Suppose a player has 8 out of 10 hunger and /gamerule naturalRegeneration is enabled.

Describe why this feature belongs in Scaling Feast Scaling Feast includes an option to modify hunger-based HP regen behavior, however, the "intuitive" option of the 90% threshold does not currently exist as one of the options, which is why I'm suggesting that option.

Describe alternatives you've considered It may be possible to write a CraftTweaker script to do what you wanted, however, that requires CraftTweaker to be installed, which not all players will want to have to use for just that one thing. A separate mod would likely lead to the same problem, and data packs are out of the question as the Minecraft version (1.12) is too old for that.