
一款专注于展示华丽伤害数字的模组。

注意:如果您将 GUI 缩放比例调得较低,浮动文本可能会看起来太小。您可以在模组配置界面中调整“基础字体大小”以改善此情况。
功能
主题 - 内置多种样式!
伤害类型 - 根据伤害类型显示不同的样式。
治疗 - 显示实际受到的治疗量。隐藏再生产生的数字以避免刷屏。
暴击 - 拥有特殊的暴击动画?这个模组已为您搞定。
完全可定制 - 伤害皮肤、动画甚至规则均可通过数据包和资源包进行修改。
v0.2.x 亮点
- 已更新适配 26.3。如有任何问题,请在 GitHub 上提出!
- NeoForge 下对 1.21.1 的实验性支持
- [仅限 1.21.1] 兼容 Iron's Spellbooks 与 Apothic Attributes
- Forge 下对 1.21.11 的实验性支持
安装
这是一个客户端 + 服务端模组。如果您运行的是专用服务器,则必须在服务器以及所有连接至该服务器的客户端上都安装此模组。
本模组依赖服务端钩子来获取实际的伤害数值和类型。如果没有它,原版客户端仅从服务器接收生命值变化信息,而仅凭这些信息我们能做的有限。
兼容性
Combat Numbers 应当与大多数模组兼容。
可与 Iris 光影配合使用,只需确保模组的渲染模式配置设置为“屏幕”(默认值)即可。
请在 GitHub 上报任何模组兼容性问题。
自定义
您可以添加自定义的伤害皮肤和动画。模组开箱即用即提供内置主题,但您可以通过资源包或数据包轻松覆盖或扩展它们。
您还可以通过数据包自定义服务端规则。这也是您为其他模组添加兼容性的方式。规则示例如下:
示例:对魔法伤害使用不同的动画
{ "when": { "tags": ["minecraft:witch_resistant_to"] }, "then": { "animation": "combatnumbers:wave" } }
示例:支持其他模组
{ "when": { "type": "your_mod:fire_spell" }, "then": { "skin": "combatnumbers:fire", "animation": "combatnumbers:impact" } }
访问 GitHub 页面 获取关于为此模组制作自定义资源包/数据包的完整指南。
动机
最初是作为旧版 MC 的一个玩具项目开始的,后来像我的其他 90% 的项目一样被弃置了。我喜欢 RPG 整合包,但遗憾的是,我得出一个令人失望的结论:缺乏那种夸张的、类似冒险岛风格的、可自定义的伤害数字显示效果,而且除了我之外似乎没有人会要求这种功能。
未来计划
- 向后移植至 1.20.1 版本,以支持流行的整合包。
- 我确实有计划尝试实现“仅客户端模式”,它将回退到使用不太准确的生命值差值计算,但至少您能看到漂亮的数字。
- 欢迎贡献,尤其是新增主题。

A mod dedicated to displaying fancy damage numbers.

NOTE: If you are on a lower GUI scale, the floating text may look too small. You can adjust Base Font Size on the mod config screen to help with that.
Features
Themes - Comes with built-in styles!
Damage Types - Shows different styles based on damage type.
Healing - Shows actual healing received. Hides numbers from regeneration to avoid being spammy.
Critical Hits - Special animations for crits? This mod got you covered.
Fully customizable - Damage skins, animations, even rules can be modified via datapacks and resource packs.
Highlights for v0.2.x
- Updated for 26.3. Please raise any issues on GitHub!
- Experimental support for 1.21.1 on NeoForge
- [1.21.1 only] Compat with Iron's Spellbooks & Apothic Attributes
- Experimental support for Forge on 1.21.11
Installation
This is a client + server mod. If you are running a dedicated server, it has to be installed on the server as well as any clients connecting to it.
This mod relies on server hooks to figure out the actual damage amount and type. Without it, a vanilla client only receives health changes from the server and there's only so much we can do with just that info.
Compatibility
Combat Numbers should be compatible with most mods.
Works with Iris shaders, just make sure the mod's Render Mode config is set to "Screen" (default).
Please report any mod compatibility issues on GitHub.
Customization
You can add custom damage skins and animations. The mod provides built-in themes out of the box, but you can easily overwrite or extend them via resource packs or datapacks.
You can also customize server-side rules through datapacks. This is also how you can add compatibility for other mods. Examples of rules:
Example: Using a different animation for magic damage
{ "when": { "tags": ["minecraft:witch_resistant_to"] }, "then": { "animation": "combatnumbers:wave" } }
Example: Supporting other mods
{ "when": { "type": "your_mod:fire_spell" }, "then": { "skin": "combatnumbers:fire", "animation": "combatnumbers:impact" } }
Visit the GitHub page for the full guide on making a custom resource pack / datapack for this mod.
Motivation
Started off as a toy project in an older version of MC and later abandoned like 90% of my other projects. I like RPG modpacks, but sadly I came to the disappointing conclusion there's a lack of extravagrant Maplestory-style customizable damage numbers that nobody else other than me is going to ask for.
Future Plans
- Backporting all the way to version 1.20.1 to support popular modpacks.
- I do have plans to try and get a "client-only mode" going, it will fall back to using the not-so-accurate health deltas but hey at least you get to see pretty numbers.
- Contributions are welcome, especially additional themes.
评论 0
登录后参与评分
还没有评论,来抢沙发吧