promotional bannermobile promotional banner

[DAI] Damage Indicators (Data)

Floating combat damage numbers for DAI with large readable values, smooth upward movement, and no resource pack required. Designed to stack cleanly with other DAI addons.
Back to Files

Damage_Indicators_Data_v2.0.0.zip

File nameDamage_Indicators_Data_v2.0.0.zip
Uploader
J12H36HJ12H36H
Uploaded
Sep 24, 2026
Downloads
16
Size
26.7 KB
File ID
8965017
Type
R
Release
Supported game versions
  • 26.2

What's new

Damage Indicators Data v2.0.0

DAI Engine 4.2 Integration

  • Updated Damage Indicators for DAI Engine 4.2
  • Added native DAI datapack keybind integration
  • Added Damage Indicator Customization keybind
  • Default customization key is V
  • Added DAI reaction handling to detect the customization key and open the new interface
  • Added DAI logic definitions for client-accessible skin selection

New Damage Indicator Customization Screen

  • Added a fully data-driven DAI customization screen

  • Added selectable indicator skins:

    • Default
    • Vanilla / Overworld
    • Nether
    • End
    • Custom Resource Pack
  • Added themed skin cards, icons, labels, and selection controls

  • Skin selection automatically closes the customization screen after applying

Per-Player Skin Selection

  • Added persistent di_skin tracking for each player
  • Each player can independently choose their preferred damage indicator appearance
  • Existing players default safely to the original visual style when no skin preference exists
  • Skin preferences persist across reloads and reconnects

Custom Resource Pack Support

  • Added a dedicated Custom skin slot for creator-made indicator styles
  • Custom skins can override the public dai_damage_indicators:custom font
  • Added support for custom digit textures while preserving the built-in indicator logic
  • Allows additional resource packs to visually reskin Damage Indicators without modifying the data pack

Damage Detection Improvements

  • Damage continues to be sampled at 20 TPS to preserve accurate detection of rapid hits, projectiles, and DAI-native combat
  • Improved cumulative damage_dealt tracking by calculating only the damage dealt during the current tick
  • Damage values are separated into whole and decimal components for stable one-decimal display
  • Damage information is stored before the visual indicator is created

Target Resolution Improvements

  • Reworked victim detection to resolve the nearby damaged entity once per hit
  • Reduced repeated nearest-target searches used by previous versions
  • Added tightly scoped temporary attacker and victim tags
  • Maintains compatibility with vanilla living entities, DAI-native entities, and other normal living targets
  • Preserved attacker-relative fallback positioning when a target disappears during a killing blow

Damage Severity Routing

  • Added dedicated routing for:

    • Light damage
    • Medium damage
    • Heavy damage
  • Only the appropriate severity route is executed for each hit

  • Each severity can use its own themed indicator presentation

Performance Improvements

  • Separated combat sampling from visual animation updates
  • Combat detection remains at 20 TPS for accuracy
  • Damage indicator animation updates now operate at 10 TPS
  • Uses text_display interpolation to maintain smooth client-side movement despite the reduced server update rate
  • Reduced recurring entity-command overhead
  • Consolidated victim lookup instead of repeating the same selector across every severity tier

Display Behavior

  • Damage indicators spawn above the damaged target for improved melee readability
  • Indicators continue moving upward during their lifetime
  • Preserved the established approximately 3.5-second indicator lifetime
  • Added automatic cleanup of expired display entities

Reload & Initialization Safety

  • Players now initialize against their current lifetime damage statistic
  • Prevents /reload from displaying all historical player damage as one enormous damage number
  • Added cleanup of stale temporary attacker/victim state on reload
  • Added cleanup of leftover Damage Indicator text displays during initialization
  • Improved recovery if Minecraft statistics are reset or changed externally

Enable / Disable Support

  • Preserved the existing:

    • Enable function
    • Disable function
    • Toggle function
  • Player enabled/disabled preference remains supported across reloads

  • Re-enabling Damage Indicators resynchronizes damage tracking to prevent false indicators

Compatibility

  • Built for Minecraft Java 26.2
  • Built for DAI Engine 4.2
  • Designed to pair with Damage Indicators Resource Pack v2.0.0
  • Default indicators remain safe without the companion resource pack
  • Vanilla, Nether, End, an

This mod has no additional files