跳到正文

Combat Numbers

作者:cromveil

See how much damage you deal, with style! Different indicators for different damage types.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Hero text saying

A mod dedicated to displaying fancy damage numbers.

Showcase of what a combat number looks like

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

  • 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.

常见问题

Combat Numbers 支持哪些 Minecraft 版本?

Combat Numbers 支持 Minecraft Java 版 1.21.1–26.2,共 6 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Combat Numbers 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分