体力值数据包 | Stamina Datapack
让玩家拥有体力值。| Grant players stamina. By Printernet
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
体力值数据包 | Stamina Datapack
简体中文
这个数据包能让玩家拥有体力。
目前功能:
- 会损失体力的行为有:疾跑、跳跃、游泳、攀爬、攻击、受到伤害、盾牌格挡攻击; - 潜行可加快体力恢复; - 体力少于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