Modern Damage Control
一款为 Minecraft 带来真实身体部位伤害、高级护甲机制以及战术医疗系统的模组。
⚠️ 注意:本模组中的所有医疗物品仅用于游戏设计目的,不构成现实世界的医疗建议。
依赖项
- Minecraft Forge 1.20.1
- TACZ (Timeless and Classics Zero) – 必需!子弹命中位置检测完全依赖于 TACZ。
- Cloth Config API – 用于配置管理。
如果没有安装 TACZ 和 Cloth Config API,该模组将无法启动。
核心功能
两种伤害模型
- SOFT(软)模式:原版单一生命值池。死亡条件:原版生命值降至零。仅在身体部位受到攻击时产生状态效果。
- HARDCORE(硬核)模式:玩家和所有实体拥有 7 个独立的身体部位。死亡条件:头部或胸部生命值归零,或者所有身体部位总生命值归零。当某个部位被摧毁时,会应用溢出伤害和破坏效果。
可通过配置文件切换。
身体部位伤害系统
- 7 个身体部位:头部、胸部、腹部、左臂、右臂、左腿、右腿。
- 子弹命中位置通过 TACZ 的命中检测进行精确计算。
- 每个部位均可配置受击时和被摧毁时的药水效果(例如:流血、骨折、眩晕)。
护甲与穿透机制
- 护甲为每个身体部位提供防护点数(1–100),并随耐久度线性衰减(最低保留 50%)。
- 可通过属性添加自然护甲,其作用方式类似于穿戴的护甲。
- 使用 TACZ 的 armor_ignore(护甲忽略) 属性(1% = 1 点穿透值)来判断是完全穿透、部分穿透还是钝击伤害。
- 支持为任何物品(包括来自其他模组的物品)定义防护数据:受保护的部位及每部位的防护点数。
战术医疗系统
- 伤口处理:无菌纱布、CAT-7 止血带、以色列绷带(止血)。
- 骨折治疗:SAM 夹板(固定)、3M 石膏胶带(完全愈合)。
- 创伤修复:Dr. Stitch 缝合线、皮肤订书机(修复严重创伤)。
- 药物:布洛芬 / 曲马多(止痛)、肌酸(力量+速度+抗疲劳)、咖啡因(耐力)、莫达非尼(专注)。
- 静脉输液:生理盐水、林格氏液、白蛋白等——提供持续的生命值恢复。
- 医疗包:6 种不同用途的多功能医疗包(止血、止痛、创伤修复)。
负面状态效果与抗性
- 流血:轻微 / 严重——周期性伤害。
- 骨折:手臂(近战伤害和精度降低)/ 腿部(缓慢,无法奔跑)。
- 严重创伤:周期性伤害,随机疼痛爆发。
- 眩晕:严重减速、恶心、无法奔跑。
- 疼痛:移动受限、黑暗效果。
- 抗性:疼痛抑制、凝血增强、眩晕抗性、中毒抗性、感染抗性。
生物身体部位(硬核模式)
- 硬核模式下可为非玩家实体启用身体部位。
- 可配置怪物的受击和被摧毁效果(例如:僵尸断腿 → 缓慢)。
客户端 HUD(硬核模式)
- 显示玩家 7 个身体部位的生命值状态(纹理随生命值百分比变化)。
- 受伤时的闪烁效果。
- 位置和缩放比例可配置。
命令
| 命令 |
描述 |
/moderndamage parthealth [target] |
查看自己、其他玩家或怪物(硬核模式)的身体部位生命值 |
/moderndamage debug hitbox <target> |
调试输出目标实体的碰撞箱和检测到的身体部位 |
/moderndamage generate entity_config |
生成默认实体配置文件(碰撞箱范围、自然护甲) |
配置
- 位于
.minecraft/config/ 的文件:
moderndamage.json5 – 主配置文件(伤害模型、部位比例、药水效果、HUD 等)
- 位于
.minecraft/config/moderndamage/ 的文件:
armor_properties.json – 自定义护甲防护数据
entity_config.json – 实体碰撞箱范围和自然护甲
兼容性
- EnhancedVisuals(可选):疼痛/眩晕时的心跳声、耳鸣、模糊效果。
- Spore(可选):感染抗性可清除菌丝体感染。
- tacz_attributes(可选):肌酸效果可调整后坐力属性。
- staminafortweakers(可选):咖啡因和肌酸会影响耐力系统。
缺失的可选依赖项不会导致模组崩溃;相关功能将自动禁用。
安装
- 安装 Forge 1.20.1。
- 安装 TACZ 和 Cloth Config API。
- 将模组的 JAR 文件放入
mods 文件夹。
- 启动游戏——配置文件将自动生成。
开发与开源
愿每一颗子弹都击中正确的位置。 ?
Modern Damage Control
A mod that brings realistic body part damage, advanced armor mechanics, and a tactical medical system to Minecraft.
⚠️ Note: All medical items in this mod are for game design purposes only and do not constitute real-world medical advice.
Dependencies
- Minecraft Forge 1.20.1
- TACZ (Timeless and Classics Zero) – Required! Bullet hit location detection depends entirely on TACZ.
- Cloth Config API – Required for configuration management.
The mod will not start without TACZ and Cloth Config API.
Core Features
Two Damage Models
- SOFT mode: Vanilla single health pool. Death condition: vanilla health reaches zero. Only status effects on body part hits.
- HARDCORE mode: 7 independent body parts for players and all entities. Death condition: head/chest health reaches zero OR total body part health reaches zero. Overflow damage and destruction effects apply when a part is destroyed.
Switchable via config file.
Body Part Damage System
- 7 body parts: Head, Chest, Stomach, Left Arm, Right Arm, Left Leg, Right Leg.
- Bullet impact location is precisely calculated using TACZ's hit detection.
- Each part can be configured with on-hit and on-destroy potion effects (e.g., bleeding, fractures, dizziness).
Armor & Penetration Mechanics
- Armor provides protection points (1–100) per body part, which degrade linearly with durability (minimum 50% retained).
- Natural armor can be added via attributes, which functions like worn armor.
- TACZ's armor_ignore stat (1% = 1 penetration point) is used to determine complete penetration, partial penetration, or blunt damage.
- Supports defining protection data for any item (including from other mods): protected parts and protection points per part.
Tactical Medical System
- Wound treatment: Sterile Gauze, CAT-7 Tourniquet, Israeli Bandage (stop bleeding).
- Fracture treatment: SAM Splint (stabilize), 3M Cast Tape (full healing).
- Trauma repair: Dr. Stitch Suture, Skin Stapler (repair severe trauma).
- Medications: Ibuprofen / Tramadol (pain relief), Creatine (strength+speed+fatigue resistance), Caffeine (stamina), Modafinil (focus).
- IV fluids: Saline, Ringer's Solution, Albumin, etc. – provide sustained health regeneration.
- Medical kits: 6 different multi‑purpose kits (stop bleeding, pain relief, trauma repair).
Negative Status Effects & Resistances
- Bleeding: Minor / Major – periodic damage.
- Fracture: Arm (reduced melee damage and accuracy) / Leg (slowness, cannot sprint).
- Severe trauma: Periodic damage, random pain spikes.
- Dizziness: Severe slowness, nausea, cannot sprint.
- Pain: Movement restriction, darkness effect.
- Resistances: Pain suppression, coagulation boost, dizziness resistance, poison resistance, infection resistance.
Creature Body Parts (Hardcore mode)
- Hardcore mode can enable body parts for non‑player entities.
- Configurable on‑hit and on‑destroy effects for mobs (e.g., zombie broken leg → slowness).
Client HUD (Hardcore mode)
- Displays health status of the player's 7 body parts (texture changes with health percentage).
- Flash effect on injury.
- Position and scale configurable.
Commands
| Command |
Description |
/moderndamage parthealth [target] |
View body part health of yourself, another player, or a mob (Hardcore mode) |
/moderndamage debug hitbox <target> |
Debug output of target entity's hitbox and detected body part |
/moderndamage generate entity_config |
Generate default entity configuration file (hitbox ranges, natural armor) |
Configuration
- File located in
.minecraft/config/:
moderndamage.json5 – Main config (damage model, part ratios, potion effects, HUD, etc.)
- Files located in
.minecraft/config/moderndamage/:
armor_properties.json – Custom armor protection data
entity_config.json – Entity hitbox ranges and natural armor
Compatibility
- EnhancedVisuals (optional): Heartbeat, ringing, blur effects for pain/dizziness.
- Spore (optional): Infection resistance can remove mycelium infection.
- tacz_attributes (optional): Creatine effect can adjust recoil attributes.
- staminafortweakers (optional): Caffeine and creatine affect stamina system.
Missing optional dependencies will not crash the mod; related features are automatically disabled.
Installation
- Install Forge 1.20.1.
- Install TACZ and Cloth Config API.
- Put the mod's JAR file into the
mods folder.
- Launch the game – config files will be generated automatically.
Development & Open Source
May every bullet hit the right spot. ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧