Energy Bar Indicator
This datapack/mod introduces a stamina system to Minecraft that is displayed on screen via a custom user interface.
When the player runs, their stamina reserve gradually decreases. After 20 seconds of continuous running, the indicator becomes depleted, triggering fatigue effects such as slowness.

Key Features
Stamina Indicator: A bar displayed at the bottom of the screen or above the hotbar, showing the current energy level.

Stamina Depletion: Continuous running for 20 seconds depletes the stamina reserve, after which negative effects are activated that slow down player movement.
Energy Recovery: Stamina automatically regenerates during normal walking or while standing still.
Parameter Customization: Maximum running time, recovery speed, and duration of negative effects can be adjusted.
