Skip to content

Damage ids & badges ​

Every hit gets a damage id. You need it for rules and your own names, tips and hidden damage. Find it in the hover text (ID: ...), with [Copy ID], with /whm search or with the damage id picker of the pack editor.

How ids are built ​

DamageIdExamples
Attack by an entity (melee)mob:<entity id>mob:minecraft:zombie, mob:minecraft:player, mob:lycanitesmobs:ventoraptor
Everything else<modid>:<damage type>minecraft:fall, minecraft:lava, minecraft:arrow, minecraft:outOfWorld, minecraft:explosion.player
Unknown modunknown:<damage type>
Hidden by a rulewhathitme:hidden

The mod id of a damage type is found from the vanilla type list, the jar of the damage source class, a modid. prefix in the type name, or (once per new type) the mod class that dealt the damage.

For projectiles the attacker is the shooter; the projectile is shown as "via Arrow". The attacker's entity id is kept separately, so a match key like minecraft:arrow @minecraft:skeleton can tell skeleton arrows from player arrows.

Damage type names differ between versions

Older versions use names like outOfWorld and inFire; 1.19.4+ uses registry names like out_of_world. Check the ids with /whm search or the pack editor's damage id picker on the version of your pack, or use a wildcard (minecraft:out*world).

Properties ​

PropertyMeaning
Bypasses ArmorArmor does not reduce it
Bypasses MagicArmor, enchantments and effects do not reduce it (absolute)
MagicMagic damage
FireFire damage
ExplosionExplosion
ProjectileProjectile
Through ShieldHit while blocking with a shield
Ignores I-FramesA fresh hit within the invulnerability time of the previous one
Bypasses CreativeAlso hurts in creative mode

Badges ​

BadgeMeaning
☠Killing blow
[Invisible]The attacker was invisible
[Totem]The hit triggered a Totem of Undying
[Heavy Hit]The hit took at least heavyHitThreshold of max health
[⚡ Reflected / Thorns]Thorns, or damage from an entity you hit within 50 ms
[⚠ Broken: <armor>]An armor piece broke
[Localized / Vital Hit (...)]Death with total health above zero (body-part health mods)
[Client Est.]Estimated by the client (server without the mod)
x12 hitsMerged repeated damage

Automatic tips ​

Without a custom tip, the mod picks a tip from the damage type and its properties: fall, fire, lava, drowning, void, explosion, projectile, bypasses armor, absolute, magic, wither, invisible attacker, melee, player, reflected damage and more. Replace them per damage with a rule tip, or turn them off with enableAutoHints=false.

Made by junjun1z. The mods are MIT licensed.