
体力值数据包 | Stamina Datapack
让玩家拥有体力值。| Grant players stamina. By Printernet
Screenshots

About this Mod
简体中文
这个数据包能让玩家拥有体力。
目前功能:
- 会损失体力的行为有:疾跑、跳跃、游泳、攀爬、攻击、受到伤害、盾牌格挡攻击;
- 潜行可加快体力恢复;
- 体力少于50%时获得饥饿debuff,移动速度、挖掘速度、攻击速度略微减慢;
- 体力少于25%时饥饿debuff提升等级,移动速度、挖掘速度、攻击速度更慢,攻击伤害降低;
- 体力为0%时会过劳,饥饿debuff等级更高且无法移动、挖掘、攻击;
过劳时体力恢复更慢,当体力恢复到50%时解除过劳状态; - 以及一些适用于开发者(整合包作者、服主、地图作者和本数据包作者)的命令。
命令:
/function printernet:stamina/extra/set_inf_stamina设置命令执行者有无限体力/function printernet:stamina/extra/unset_inf_stamina命令执行者取消设置无限体力/function printernet:stamina/extra/set_no_re_stamina使命令执行者体力无法恢复/function printernet:stamina/extra/unset_no_re_stamina让命令执行者体力可以恢复/function printernet:stamina/extra/set_max_stamina将命令执行者的体力回满/function printernet:stamina/extra/set_to_rest将命令执行者的体力清零以让其处于过劳状态
English
This data pack grants players stamina.
Current Features:
- Actions that drain stamina: sprinting, jumping, swimming, climbing, attacking, taking damage, and blocking attacks with a shield;
- Stealth increases stamina regeneration;
- When stamina drops below 50%, the hunger debuff is applied, slightly slowing movement speed, mining speed, and attack speed;
- When stamina falls below 25%, the hunger debuff level increases, further slowing movement speed, mining speed, and attack speed, and attack damage is reduced;
- When stamina hits 0%, exhaustion occurs, with the hunger debuff level increasing even higher, making movement, mining, and attacking impossible;
- During exhaustion, stamina recovery slows down, and exhaustion ends when stamina regenerates to 50%;
- Displays stamina icons and percentage in the action bar (in red when exhausted, white otherwise);
- Includes some commands for developers (modpack authors, server owners, map creators, and the author of this data pack).
Commands:
/function printernet:stamina/extra/set_inf_staminaSet infinite stamina for the command runner/function printernet:stamina/extra/unset_inf_staminaCancel infinite stamina for the command runner/function printernet:stamina/extra/set_no_re_staminaPrevent the command runner's stamina from recovering/function printernet:stamina/extra/unset_no_re_staminaAllow the command runner's stamina to recover/function printernet:stamina/extra/set_max_staminaFully restore the command runner's stamina/function printernet:stamina/extra/set_to_restDeplete the command runner's stamina to trigger exhaustion
Available Versions
How to Install 体力值数据包 | Stamina Datapack on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.5).
Install Mod
Open the mod browser in the dashboard and search for "体力值数据包 | Stamina Datapack". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.5, 1.21.4, 1.21.3 (+5 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
体力值数据包 | Stamina Datapack server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.
Is 体力值数据包 | Stamina Datapack compatible with datapack and fabric and forge and neoforge and quilt?
体力值数据包 | Stamina Datapack officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.5, 1.21.4, 1.21.3. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with 体力值数据包 | Stamina Datapack – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if 体力值数据包 | Stamina Datapack consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install 体力值数据包 | Stamina Datapack with just one click on your server.