Mob Dice Attributes
每一个生物。每一次生成。全新的投掷结果。
Mob Dice Attributes 用桌面 RPG 的骰子投掷取代了 Minecraft 固定的生物属性。
僵尸不一定总是 20 点生命值——它可能投出 13 或 27。骷髅可能会从两倍于正常距离外追踪你,或者隔着房间几乎察觉不到你。每次遭遇战都截然不同。
平衡性在设计上得到保留。 骰子公式经过构建,确保平均投掷值始终等于原版数值。生物并没有被全局增强或削弱——它们只是存在差异。
⚔️ 核心特性
? 所有生物属性的骰子投掷
八个属性在生成时使用 xdn + b 公式进行投掷:
- 最大生命值、移动速度、攻击伤害、击退抗性
- 护甲、护甲韧性、攻击速度、跟随范围
骰子类型根据生物的原版数值自动选择(低生命值的生物使用 d6,Boss 使用 d20)。每个属性均可单独配置。
? 稀有度层级
每次生物生成都会从加权稀有度池中抽取——就像 RPG 的战利品表,但针对的是生物。
| 层级 |
默认概率 |
效果 |
| 普通 (Common) |
60% |
基础投掷结果 |
| 优秀 (Uncommon) |
25% |
略高于平均值 |
| 稀有 (Rare) |
10% |
蓝色名称,经验值翻倍,额外战利品 |
| 传说 (Legendary) |
5% |
紫色名称,经验值 x5,额外战利品 x3,所有属性提升 |
层级权重和配置文件可通过数据包完全自定义。
⭐ 精英生物
投掷出显著高于平均生命值的生物会自动标记为 Elite ——
获得自定义名称并(可选地)显示可见的名称标签。阈值和前缀均可配置。
? 战利品与经验值缩放
高于平均水平的生物会掉落更多物品。可以全局配置经验值倍率和额外战利品投掷次数,
也可以为每个稀有度层级配置文件单独设置。稀有的生物值得去猎杀。
? 生成钩子
将特定的生成上下文映射到配置文件。总是给予袭击生物传说层级的配置文件。
强制刷怪笼生成的生物为稀有层级。或者将其留给稀有度抽取。由你决定。
有效上下文:natural, spawner, chunk_generation, structure, breeding,
mob_summoned, jockey, event, conversion, reinforcement, triggered,
bucket, spawn_egg, command, patrol
?️ 数据包自定义
所有内容均由位于 data/mobdiceattribs/ 下的数据包驱动:
| 文件夹 |
用途 |
spawn_profiles/ |
命名状态组合(名称、颜色、经验值、战利品、骰子覆盖) |
rarity_tiers/ |
每次生成时抽取的配置文件加权池 |
spawn_hooks/ |
上下文 → 配置文件映射 |
mob_overrides/ |
按生物或按标签的骰子覆盖 |
dimension_rules/ |
按维度启用/禁用投掷或缩放属性 |
difficulty_rules/ |
按世界难度缩放属性 |
所有更改通过 /reload 实时重载——无需重启服务器。
?️ 命令
| 命令 |
描述 |
/mda reroll <targets> |
强制重掷匹配到的实体(需要 op 等级 2) |
/mda inspect <target> |
打印当前状态、生命值比例和分配的配置文件 |
⚙️ 配置
完整的 server.toml 配置文件控制每个属性的独立设置:
- 按属性启用/禁用
- 自动骰子选择或手动指定骰子类型
- 波动系数(投掷结果的波动程度)
- 生物白名单 / 黑名单
- 距出生点距离的生命值缩放(默认禁用)
- 精英生物阈值、前缀和名称标签可见性
? 兼容性
- 仅服务端 — 客户端无需安装模组
- Jade / The One Probe — 悬停时可看到自定义名称
- 支持
/reload 重载 — 与数据包管理器完全兼容
? 文档
? 源代码与问题反馈
GitHub
Mob Dice Attributes
Every mob. Every spawn. A fresh roll.
Mob Dice Attributes replaces Minecraft's fixed mob stats with tabletop RPG dice rolls.
A zombie isn't always 20 HP — it might roll 13 or 27. A skeleton might track you from
twice its normal range, or barely notice you across the room. Every encounter is different.
Balance is preserved by design. The dice formula is constructed so the average rolled
value always equals the vanilla value. Mobs aren't globally buffed or nerfed — they vary.
⚔️ Core Features
? Dice Rolling for All Mob Attributes
Eight attributes are rolled on spawn using the xdn + b formula:
- Max Health, Movement Speed, Attack Damage, Knockback
- Armor, Armor Toughness, Attack Speed, Follow Range
Die type is auto-selected per mob based on its vanilla value (low-HP mobs use d6,
bosses use d20). Everything is configurable per attribute.
? Rarity Tiers
Every mob spawn draws from a weighted rarity pool — like an RPG loot table, but for mobs.
| Tier |
Default chance |
Effect |
| Common |
60% |
Baseline rolls |
| Uncommon |
25% |
Slightly above average |
| Rare |
10% |
Blue name, 2× XP, bonus loot |
| Legendary |
5% |
Purple name, 5× XP, 3× bonus loot, all stats boosted |
Tier weights and profiles are fully customizable via datapack.
⭐ Elite Mobs
Mobs that roll significantly above their average HP are automatically tagged as Elite —
given a custom name and (optionally) a visible name tag. Threshold and prefix are configurable.
? Loot & XP Scaling
Above-average mobs drop more. Configure the XP multiplier and bonus loot rolls globally,
or set them per rarity tier profile. Rare mobs are worth hunting.
? Spawn Hooks
Map specific spawn contexts to profiles. Always give raid mobs a legendary profile.
Force spawner mobs to be rare. Or leave it to the rarity draw. Your call.
Valid contexts: natural, spawner, chunk_generation, structure, breeding,
mob_summoned, jockey, event, conversion, reinforcement, triggered,
bucket, spawn_egg, command, patrol
?️ Datapack Customization
Everything is driven by datapacks under data/mobdiceattribs/:
| Folder |
Purpose |
spawn_profiles/ |
Named stat bundles (name, color, XP, loot, dice overrides) |
rarity_tiers/ |
Weighted pool of profiles drawn on every spawn |
spawn_hooks/ |
Context → profile mappings |
mob_overrides/ |
Per-mob or per-tag dice overrides |
dimension_rules/ |
Enable/disable rolling or scale stats per dimension |
difficulty_rules/ |
Scale stats per world difficulty |
All reloaded live with /reload — no restart required.
?️ Commands
| Command |
Description |
/mda reroll <targets> |
Force-reroll matched entities (op level 2) |
/mda inspect <target> |
Print current stats, HP ratio, and assigned profile |
⚙️ Configuration
A full server.toml config controls every attribute independently:
- Enable/disable per attribute
- Auto dice selection or manual die type
- Range factor (how swingy the rolls are)
- Mob whitelist / blacklist
- Distance-from-spawn health scaling (disabled by default)
- Elite mob threshold, prefix, and name tag visibility
? Compatibility
- Server-side only — clients do not need the mod installed
- Jade / The One Probe — custom names are visible on hover
- Reloads on
/reload — fully compatible with datapack managers
? Documentation
? Source & Issues
GitHub
评论 0
登录后参与评分
还没有评论,来抢沙发吧