Damage Info

Quick rating

Community listing page, reviews here may not be monitored by the author.

Damage Info

No reviews yet

Displays floating damage numbers when entities take damage, with fully customizable styles.

Mod Loaders
Minecraft
26.3 26.2

About

Description

High performance — damage records are batched per tick and rendered through the modern submission pipeline, with negligible impact on client performance.

Customizing the Damage Display

All damage number styles are defined in a JSON file:

  • Path: assets/damage_info/damage_info/damage_info.json (resource location: damage_info:damage_info/damage_info.json)
  • Reload with /reload after editing.

Example

{
  "default": {
    "damage_type": "default",
    "texture": "damage_info:textures/damage_font.png",
    "texture_width": 55,
    "texture_height": 7,
    "glyph_spacing": 0,
    "render_size": 0.2,
    "max_life": 40,
    "color": "ff9104",
    "critical_color": "ff5a28"
  },
  "entries": [
    {
      "damage_type": "lyra:servant",
      "texture": "damage_info:textures/damage_font.png",
      "texture_width": 55,
      "texture_height": 7,
      "glyph_spacing": 0,
      "render_size": 0.2,
      "max_life": 40,
      "color": "68dfff",
      "critical_color": "049fff"
    }
  ]
}

Fields

Field Description
damage_type Damage type id. default is the fallback style for all unlisted types.
texture Glyph texture. Layout: digits 0-9 in order, followed by a decimal point (index 10).
texture_width / texture_height Texture size in pixels. Glyph width is derived as texture_width / 11.
glyph_spacing Horizontal spacing between glyphs, in pixels.
render_size Render size in the world.
max_life Lifetime of a damage number, in ticks.
color / critical_color Normal / critical color, hex RGB (no #).