? 身体生命值系统
适用于 Minecraft 1.21.1 · NeoForge
厌倦了单一的生命值条?Body Health System 用身体部位系统取代了原版生命值:你的头部、躯干、手臂和腿部各自拥有独立的心形图标、独立的危急状态以及独立的后果。
? 请在 服务器端和客户端 都安装此模组。 ? 完全关闭:在服务器配置文件中设置
enabled = false,游戏将恢复为纯粹的原版体验。
⚙️ 伤害机制
每次攻击都会落在特定的身体部位,并根据该区域进行倍率计算:
| 区域 | 伤害倍率 |
|---|---|
| 头部 | ×1.5 |
| 躯干 | ×1.0 |
| 腿部 | ×0.9 |
| 手臂 | ×0.85 |
攻击落点取决于其来源:
| 来源 | 受击部位 |
|---|---|
| 近战与投射物 | 根据撞击位置判定(射向头部的箭矢会击中头部) |
| 跌落、高温地面 | 腿部 |
| 掉落铁砧/方块/钟乳石撞击、撞墙 | 头部 |
| 爆炸、闪电 | 随机部位 |
| 溺水、饥饿、窒息、火焰、岩浆 | 躯干 |
| 中毒、凋蚀、魔法 | 随机一只手臂或腿 — 绝不会是头部或躯干,因此中毒效果不会直接导致死亡 |
盔甲附魔应用于每一次命中:保护、火焰/爆炸/弹射物保护、摔落缓冲(腿部),以及抗性提升和缓降效果。
? 危急状态与效果
- 头部和躯干在低于最大生命值的 ⅓ 时进入危急状态。
- 手臂和腿部没有中间状态 — 它们在 0 HP 时被摧毁。
| 条件 | 后果 |
|---|---|
| 头部或躯干危急 | 虚弱 |
| 头部危急 | 恶心(视野模糊) |
| 手臂被摧毁 | 挖掘疲劳 |
| 腿部被摧毁 | 缓慢 |
| 右臂被摧毁 | 无法破坏或放置方块 |
| 左臂被摧毁 | 丢弃副手物品 |
| 躯干生命值归零 | 死亡 |
效果是静默应用的(不会让你的屏幕布满效果图标)。警告信息显示在快捷栏上方,可以关闭。
? 吸收之心
金苹果(以及不死图腾相关的“Notch苹果”即下界之星合成苹果)会在受伤最严重的身体部位提供黄色吸收之心。不死图腾能救你一次并赋予躯干 +2 ❤。吸收之心的消耗优先于真实生命值。
? 医疗物品
| 物品 | 配方 | 效果 |
|---|---|---|
| ? 绷带 | 羊毛 + 线 (×4) | 在最受伤的部位恢复 +1.5 ❤ (3秒) |
| ? 急救包 | 绷带 + 箱子 + 金锭 | 在所有部位恢复 +3 ❤ (5秒) |
| ? 吗啡注射器 | 玻璃瓶 + 烈焰粉 + 铁锭 (×2) | 压制效果持续 30 秒并获得抗性提升 II,但会阻止自然恢复 — 2分钟内注射3次会导致过量 |
| ? 生存指南 | 书 + 骨头 | 右键查看当前状态及快速参考手册 |
身体部位也会缓慢自行再生,食物和药水也能治疗你的身体部位。
?️ 界面显示 (HUD)
右下角有一个像素艺术风格的角色,每个身体部位对应一个精灵图,颜色从绿色(健康)经过橙色和红色到黑色(被摧毁)编码,每个部位旁边都有对应的心形图标。吸收之心在红心之后以黄心显示。
按 H 键(可在 控制 中重新绑定)移动和调整其大小。创造模式下隐藏此界面。
? 配置
服务器端 — bodyhealth-server.toml
| 选项 | 功能说明 |
|---|---|
enabled |
false 完全恢复原版行为(生命值条、食物、药水、金苹果、不死图腾) |
startingHearts |
新玩家每个身体部位的初始心数 |
actionBarMessages |
显示或隐藏快捷栏上方的警告信息 |
enableNausea, enableSlowness, enableOffhandDrop, enableBlockingDisable |
切换个别效果的启用/禁用 |
[regeneration], [food] |
自然恢复速率以及食物治疗效果 |
客户端 — bodyhealth-client.toml
| 选项 | 功能说明 |
|---|---|
compactGuide |
生存指南仅列出受伤部位,而非完整参考列表 |
你的数据保存两次:保存在玩家的 NBT 数据中,以及作为可读的 world/bodyhealth/<UUID>.json 文件。
? 命令 (仅限操作员)
/bodyhealth heal <players> [part]
/bodyhealth set <players> <part> <hp>
/bodyhealth setmax <players> <part|all> <hp>
/bodyhealth addhearts <players> <hearts>
/bodyhealth status <players>
/bodyhealth reset <players>
部位参数:head(头部)、torso(躯干)、arm_right(右臂)、arm_left(左臂)、leg_right(右腿)、leg_left(左腿)。
?? 开发者接口
float hp = BodyHealthAPI.getHealth(player, BodyPart.HEAD);
boolean dead = BodyHealthAPI.isDead(player, BodyPart.TORSO);
BodyHealthAPI.heal(player, BodyPart.HEAD, 4f);
BodyHealthAPI.fullHeal(player);
BodyHealthAPI.addMaxHealthAll(player, 4f);
// 所有玩家 — 在线或离线(在他们下次登录时应用)
BodyHealthAPI.applyToAll(data -> data.addMaxHealthAll(4f));
添加此模组作为依赖项,以便在你的模组或 MCreator 自定义代码块中使用它。
? 语言支持
英语和法语已完整翻译。物品提示文本还翻译成了德语、西班牙语、葡萄牙语、意大利语、荷兰语、俄语、乌克兰语、波兰语、捷克语、中文、日语、韩语、土耳其语和阿拉伯语。任何未翻译的内容将回退显示为英文。
✅ 前置要求
- Minecraft 1.21.1
- NeoForge 21.1.172+
? 源代码和更新日志:
? 致谢
急救包纹理和危急效果设计灵感来源于 SrGnis 的 Body-Health-System(MIT 协议)。
🫀 Body Health System
Localized injuries for Minecraft 1.21.1 · NeoForge
Tired of a single health bar? Body Health System replaces vanilla health with a body-part system: your head, torso, arms and legs each have their own hearts, their own critical state and their own consequences.
📦 Install on both the server and the clients. 🔁 Full off switch: set
enabled = falsein the server config and the game goes back to pure vanilla.
⚙️ How damage works
Every hit lands on a specific body part and is multiplied by that zone:
| Zone | Damage |
|---|---|
| Head | ×1.5 |
| Torso | ×1.0 |
| Legs | ×0.9 |
| Arms | ×0.85 |
Where a hit lands depends on its source:
| Source | Body part |
|---|---|
| Melee and projectiles | Resolved from the impact position (an arrow to the head hits the head) |
| Falling, hot floor | A leg |
| Falling anvil / block / stalactite, flying into a wall | Head |
| Explosions, lightning | Random part |
| Drowning, starvation, suffocation, fire, lava | Torso |
| Poison, wither, magic | A random arm or leg — never head or torso, so a poison tick can't kill you outright |
Armor enchantments are applied to every hit: Protection, Fire / Blast / Projectile Protection, Feather Falling (legs), and the Resistance and Slow Falling effects.
🩸 Critical states and effects
- Head and torso become critical below ⅓ of their max HP.
- Arms and legs have no intermediate state — they are destroyed at 0 HP.
| Condition | Consequence |
|---|---|
| Head or torso critical | Weakness |
| Head critical | Nausea (blurred vision) |
| Arms destroyed | Mining Fatigue |
| Legs destroyed | Slowness |
| Right arm destroyed | Cannot break or place blocks |
| Left arm destroyed | Drops the offhand item |
| Torso at 0 HP | Death |
Effects are applied silently (no effect icons cluttering your screen). Warnings appear above the hotbar and can be switched off.
💛 Absorption
Golden apples (and Notch apples) give yellow absorption hearts on the most injured body part. The Totem of Undying saves you once and grants +2 ❤ on the torso. Absorption is consumed before real HP.
💊 Medical items
| Item | Recipe | Effect |
|---|---|---|
| 🩹 Bandage | Wool + String (×4) | +1.5 ❤ on the most injured part (3 s) |
| 🏥 Medical Kit | Bandages + Chest + Gold | +3 ❤ on every part (5 s) |
| 💉 Morphine Syringe | Glass + Blaze Powder + Iron (×2) | Suppresses effects for 30 s and grants Resistance II, but blocks regeneration — 3 injections in 2 minutes cause an overdose |
| 📖 Survival Guide | Book + Bone | Right-click for your current status and a quick reference |
Parts also regenerate slowly on their own, and food and potions heal your body parts.
🖥️ HUD
A pixel-art character in the bottom-right corner, one sprite per body part, colour-coded from green (healthy) through orange and red to black (destroyed), with each part's hearts next to it. Absorption shows as yellow hearts after the red ones.
Press H (rebindable in Controls) to move and resize it. It is hidden in Creative mode.
🔧 Configuration
Server — bodyhealth-server.toml
| Option | What it does |
|---|---|
enabled |
false restores vanilla behaviour completely (health bar, food, potions, golden apples, totem) |
startingHearts |
Hearts per body part for new players |
actionBarMessages |
Show or hide the warnings above the hotbar |
enableNausea, enableSlowness, enableOffhandDrop, enableBlockingDisable |
Toggle individual effects |
[regeneration], [food] |
Natural regeneration rate and how much food heals |
Client — bodyhealth-client.toml
| Option | What it does |
|---|---|
compactGuide |
The Survival Guide only lists injured parts instead of the full reference |
Your data is saved twice: in the player's NBT and as a readable world/bodyhealth/<UUID>.json.
🧰 Commands (operators)
/bodyhealth heal <players> [part]
/bodyhealth set <players> <part> <hp>
/bodyhealth setmax <players> <part|all> <hp>
/bodyhealth addhearts <players> <hearts>
/bodyhealth status <players>
/bodyhealth reset <players>
Parts: head, torso, arm_right, arm_left, leg_right, leg_left.
👨💻 For developers
float hp = BodyHealthAPI.getHealth(player, BodyPart.HEAD);
boolean dead = BodyHealthAPI.isDead(player, BodyPart.TORSO);
BodyHealthAPI.heal(player, BodyPart.HEAD, 4f);
BodyHealthAPI.fullHeal(player);
BodyHealthAPI.addMaxHealthAll(player, 4f);
// Every player — online now, or offline (applied at their next login)
BodyHealthAPI.applyToAll(data -> data.addMaxHealthAll(4f));
Add the mod as a dependency to use it from your own mod or from MCreator custom-code blocks.
🌍 Languages
English and French are complete. Item tooltips are also translated into German, Spanish, Portuguese, Italian, Dutch, Russian, Ukrainian, Polish, Czech, Chinese, Japanese, Korean, Turkish and Arabic. Anything untranslated falls back to English.
✅ Requirements
- Minecraft 1.21.1
- NeoForge 21.1.172+
📂 Source code and release notes:
🙏 Credits
The Medical Kit texture and the critical-effect design are inspired by Body-Health-System by SrGnis (MIT).
下载 Body Health
下载 Body Health
下载 Body Health
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Body Health
下载 Body Health
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Body Health
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Body Health
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Body Health
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Body Health
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Body Health
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
添加了最新的翻译,并为 HUD 实现了更高级的自定义系统。
添加多种语言
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
一个基于构建器的 Minecraft 配置库!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
让你能够在世界中的任何位置定位结构。
模组
添加睡袋和吊床,分别用于便携性和昼夜转换,同时不会设置新的出生点。共有16种颜色可选!
评论 0
登录后参与评分
还没有评论,来抢沙发吧