What Hit Me?

See exactly what killed you: a death recap with damage, armor mitigation, attacker and tips. Works in any modpack.
Back to Files

What Hit Me? 1.2.0 (Forge 26.3)

File namewhathitme-forge-26.3-1.2.0.jar
Uploader
junjun1zjunjun1z
Uploaded
Nov 16, 2026
Downloads
5
Size
356.4 KB
Mod Loaders
Forge
File ID
9642547
Type
R
Release
Supported game versions
  • 26.3

Curse Maven Snippet

Forge

implementation "curse.maven:what-hit-me-1802864:9642547"

Learn more about Curse Maven

What's new

New features for players and modpack makers on every supported version: Forge 1.7.10 - 26.3, Fabric 1.14 - 26.3, NeoForge 1.20.1 - 26.3 (63 files, each started and tested in game). Existing config files keep working.

Permission change: /whm rename, /whm sethint, /whm dump and /whm reload now need op (permission level 2), or single player with cheats enabled, also when run on the client. /whm inspect in single player now also needs cheats. Personal settings stay open to everyone through /whm config and the settings screen.

Added

  • Pack folder config/whathitme/pack/: every .json in it (any subfolder, alphabetical path order) is merged. Keys: renameMap, hintMap, defaultIgnoredDamageIds, lockedFeatures, deathTriggers. Created on first start with commented-out examples in hints/, renames/, ignored/, triggers/ and custom/. Priority: .cfg files > pack JSON > automatic tips.
  • lockedFeatures: config keys that cannot be changed from the settings screen or /whm config, even in single player; shown greyed out in the settings screen.
  • Composite match keys for renameMap, hintMap, ignoredDamageIds and deathTriggers: damage id, @entity_id / @mob:entity_id, @item:modid:item_id (attacker main hand) and @dim:dimension_id in any order (separated by spaces or &, or written directly before an @ such as *@twilightforest:lich), with * / ? wildcards. The most specific key wins: more conditions (a bare * does not count), then fewer wildcards.
  • deathTriggers: server commands run with console permission when a death matches. Placeholders {player}, {x}, {y}, {z}, {damage}; options oncePerPlayer and cooldownSeconds.
  • /whm test <damage_id> [entity_id] [item_id] [dim_id]: shows the name, tip, matching death triggers (not run) and the chat preview of a dummy death.
  • /whm stats: total deaths, total damage taken and the top 5 causes. Saved to .cache/stats_<uuid>.json on death, logout and world save.
  • Damage id scanner: mod damage ids are listed before anyone takes that damage. On 1.7.10 - 1.19.3 the mod files are read on a background thread (first start, mod list change, /whm reload) and the result is cached; on 1.19.4+ the game's damage type registry is read. Shown in /whm search (#scanned), /whm test completion and /whm dump (new source column).
  • Smart catalog cache (.cache/catalog_cache.json): damage types, mobs and effects are scanned once per mod list (SHA-256 of the sorted modid:version list) and loaded from the cache while the mods stay the same.
  • Settings screen on every version and loader: Mods list on Forge and NeoForge, Mod Menu on Fabric when installed (optional, never required). /whm config without arguments opens it.
  • Max HP share: [-12.0 ❤ (30% Max HP)] (showMaxHpPercentage).
  • Health-overhaul mods: a death with total health still above zero (First Aid style) is marked [Localized / Vital Hit (Died with X.X ❤ total HP left)].
  • Environment context for damage without an attacker: block / fluid at the feet and body, items in both hands, each with its mod (showEnvironmentContext).
  • [⚡ Reflected / Thorns] badge and tip for thorns and for damage from an entity the player hit within the last 50 ms (showReflectedBadge).
  • Armor break lines [⚠ Broken: <armor>] in the timeline (showArmorBreakEvents).
  • [Copy Recap] adds dimension, coordinates, max health, armor with enchantments and break state, and effects as Markdown (includeEquipmentInCopy, includeCoordsInCopy).
  • renameMap / hintMap values that are plain translation keys are translated like lang: values.
  • Tip switches enableAutoHints, enableCustomHints (common) and showHints (client).

Changed

  • No server tick handlers: time windows, merging, reflection and cooldowns use timestamps; checks after a hit are queued once on the server task queue.
  • Every event hook, packet handler, scan and screen is guarded with try/catch and null checks; broken data from other mods falls back to "unknown".
  • showHintsAndTips is replaced by the three tip switches. An old showHintsAndTips=false turns all three off.
  • /whm dump writes whathitme_dump.csv to config/whathitme/.cache/ (was the game or server folder).
  • /whm reload also re-reads the pack folder, rescans the catalog and reports pack files with errors.
  • /whm config <key> on a server can be read by everyone; changing a common key needs op.
  • Features turned off on the server (common config or lockedFeatures) are removed from the packets the server builds. Network protocol 2; 1.0 / 1.1 clients and servers keep working with 1.2.
  • The client fallback compares the local player's health and records [Client Est.] entries only when it drops.

Fixed

  • A death without any damage event before it (for example a mod calling setHealth(0)) no longer leaves the recap empty: the killing blow is taken from the death event.

This mod has no additional files