体力值数据包 | Stamina Datapack

体力值数据包 | Stamina Datapack

让玩家拥有体力值。| Grant players stamina. By Printernet

by
424 Downloads
datapackfabricforgeneoforgequiltgame-mechanics
Rent Server with this Mod

Screenshots

预览图 | Preview image

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_stamina Set infinite stamina for the command runner
  • /function printernet:stamina/extra/unset_inf_stamina Cancel infinite stamina for the command runner
  • /function printernet:stamina/extra/set_no_re_stamina Prevent the command runner's stamina from recovering
  • /function printernet:stamina/extra/unset_no_re_stamina Allow the command runner's stamina to recover
  • /function printernet:stamina/extra/set_max_stamina Fully restore the command runner's stamina
  • /function printernet:stamina/extra/set_to_rest Deplete the command runner's stamina to trigger exhaustion

Available Versions

1.21.2~1.21.5 V1.0 Mod 模组beta
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, forge, neoforge, quilt
May 10, 2025
1.21.2~1.21.5 V1.0 Datapack 数据包beta
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5datapack
May 10, 2025
1.21~1.21.1 V1.0 Mod 模组beta
MC 1.21, 1.21.1fabric, forge, neoforge, quilt
May 10, 2025
1.21~1.21.1 V1.0 Datapack 数据包beta
MC 1.21, 1.21.1datapack
May 10, 2025
1.20.5~1.20.6 V1.0 Mod 模组beta
MC 1.20.5, 1.20.6fabric, forge, neoforge, quilt
May 10, 2025

How to Install 体力值数据包 | Stamina Datapack on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set datapack Loader

In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.5).

3

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

datapackfabricforgeneoforgequilt

Minecraft Versions

1.21.5, 1.21.4, 1.21.3 (+5 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install 体力值数据包 | Stamina Datapack with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.51.21.41.21.31.21.21.21.11.211.20.61.20.5