跳到正文

DamagePhysics

作者:TheKryzzz_

Client-side floating damage numbers with 2D physics, collision handling, sparks, and configurable colors.

收藏

截图

介绍

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

DamagePhysics

DamagePhysics is a client-side mod for Minecraft (NeoForge 1.21.1) that displays floating damage and healing numbers with 2D physics simulation.

Since the mod is entirely client-side, it functions in single-player worlds and on multiplayer servers without requiring the mod to be installed on the server.

image


Features

2D Physics Simulation

  • Numbers are projected from entity positions onto the screen and simulated with gravity, air resistance, and initial upward impulses.
  • Damage numbers possess mass and dynamic velocity decay.

Text Collisions

  • Active damage numbers on the screen detect collisions with one another and gently push apart to prevent unreadable stacking during rapid attacks.

Hit Types & Visual Effects

  • Normal Hits: Standard numbers with customizable color.
  • Critical Hits: Larger font size, increased upward velocity, and screen-space spark particles.
  • Healing: Displays health gains prefixed with a + symbol in a configurable color.
  • Damage Scaling: Text scale adjusts dynamically depending on the amount of damage dealt relative to a configurable reference value.

Configuration

The mod includes an in-game configuration screen accessible via the Mod List

image

Available Settings:

  • Physics Parameters: Adjust gravity, air drag, spawn impulse, and critical hit velocity multipliers.
  • Performance & Lifetime: Configure lifetime ticks (duration before fading) and the maximum concurrent number limit.
  • Toggles: Enable or disable number collisions, critical hit spark particles, and healing numbers.
  • Scaling: Set minimum and maximum font scale bounds, as well as the reference damage threshold.
  • Color Customization: Built-in RGB sliders with a real-time preview box for Normal, Critical, and Healing text colors.

常见问题

DamagePhysics 支持哪些 Minecraft 版本?

DamagePhysics 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

DamagePhysics 怎么安装?

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

评论

登录后评论和评分

TheKryzzz_ 的其他作品

查看全部 →