杂项伤害数字
当实体受到伤害时,会从其身上弹出一个数字,显示其损失的生命值以及造成伤害的来源。治疗也会以数字形式显示。这些数字会弹跳一两次后逐渐消失。

工作原理
- 数字表示扣除护甲后实体实际损失的生命值。
- 玩家攻击时,会显示其手持武器的名称;实体攻击时,会显示该实体的名称;投射物攻击时,会显示投射物自身的名称,例如“Arrow”(箭)。
- 其他类型的伤害会显示其来源,例如 Fire(火焰)、Fall(摔落)、Drowning(溺水)、Explosion(爆炸)、Magic(魔法)、Freezing(冻结)或 Lightning(闪电)。
- 每种伤害类型都有专属颜色。近战伤害为红色,火焰为橙色,魔法为紫色,冻结为浅蓝色,闪电为黄色,溺水为蓝色,治疗为绿色。
- 来自其他模组且不属于上述分类的伤害,会获得固定且独特的颜色与名称。
- 玩家、动物和怪物都会显示数字。你自己的数字仅在第三人称视角下显示。
- 整数保持为整数,小数部分保留一位小数,例如 2.5。
- 只需在你的客户端安装即可,因此兼容任何服务器。
配置
这些设置位于 assorteddamagenumbers-client 配置文件中。它们仅影响你本地的游戏,因此每位玩家都可以自行设置。
damageNumbers.showSource:在数字旁显示伤害来源。默认开启。damageNumbers.showHealing:同时显示治疗数值。默认开启。damageNumbers.range:数字仍然可见的最大距离。默认为 24 格。damageNumbers.lifetime:数字在屏幕上停留的刻数。默认为 40 刻,即 2 秒。
依赖
- Assorted Lib
- NeoForge,或带有 Fabric API 的 Fabric Loader
如果你希望将所有模组整合到一个下载中,Assorted Util 中也包含了 Damage Numbers 以及其他五个 Util 模组。
更多信息
完整指南请参见 assortedmods.com。游戏内也可通过 Assorted Lib 提供的《操作手册》查阅。
发现 Bug?请在 GitHub 上报告。
Assorted Damage Numbers
When something gets hurt a number pops off it showing how much health it lost, along with what did it. Healing shows up too. The numbers bounce once or twice and fade away.

How it works
- The number is how much health the creature actually lost, after armor.
- A hit from a player names the weapon they were holding. A hit from a creature names the creature, and a projectile names itself, like Arrow.
- Other damage says where it came from, like Fire, Fall, Drowning, Explosion, Magic, Freezing or Lightning.
- Each kind has its own color. Hits are red, fire is orange, magic is purple, freezing is light blue, lightning is yellow, drowning is blue and healing is green.
- Damage from other mods that doesn't fit one of those gets a color and name of its own, the same every time.
- Players, animals and monsters all get numbers. Your own numbers only show in third person.
- Whole numbers stay whole and anything in between shows one decimal, like 2.5.
- It only needs to be installed in your own game, so it works on any server.
Config
These are in the assorteddamagenumbers-client config file. They only change your own game, so everyone can set their own.
damageNumbers.showSourceshows what did the damage beside the number. On by default.damageNumbers.showHealingshows healing as well as damage. On by default.damageNumbers.rangeis how far away numbers still show. 24 blocks by default.damageNumbers.lifetimeis how long a number stays in ticks. 40 by default, which is 2 seconds.
Requirements
- Assorted Lib
- NeoForge, or Fabric Loader with Fabric API
Damage Numbers also comes in Assorted Util with the other five Util mods, if you'd rather have them all in one download.
More
The full guide is at assortedmods.com. It's also in the game, in the Instruction Manual from Assorted Lib.
Found a bug? Report it on GitHub.
下载 Assorted Damage Numbers
下载 Assorted Damage Numbers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Assorted Damage Numbers
下载 Assorted Damage Numbers
下载 Assorted Damage Numbers
下载 Assorted Damage Numbers
21.1.0.0
这是针对 Minecraft 1.21.1 的首个版本,适用于 NeoForge 和 Fabric。1.21.1 版本的发布编号为 21.1.x.y,其中 21.1 代表 Minecraft 的版本号。
- 与 Minecraft 26.3 的 Assorted Damage Numbers 2.0.0 相匹配
- 需要 Assorted Lib 21.1.0.0
2.0.0
更新到 Minecraft 26.3,适用于 NeoForge 和 Fabric。
- 需要 Assorted Lib 5.0.0
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧