For the complete documentation index, see llms.txt. This page is also available as Markdown.

Damage Source

Projectile Damage

PROJECTILE Damage caused by being hit by a projectile, such as:

  • Arrows

  • Fireballs

  • Tridents

  • Snowballs


Entity Attack Damage

ENTITY_ATTACK Damage caused by a normal melee attack from an entity, such as:

  • Player attacks

  • Zombie attacks

  • Skeleton melee attacks

ENTITY_SWEEP_ATTACK Damage caused by a sweep attack performed with a sword (player sweep attack).

THORNS Damage caused by the Thorns enchantment reflecting damage back to the attacker.


Magic and Status Damage

MAGIC Magic-based damage, such as:

  • Instant Damage potions

  • Certain magical attacks

POISON Damage over time caused by the Poison effect.

WITHER Damage over time caused by the Wither effect.

DRAGON_BREATH Damage caused by the Ender Dragon's breath attack.

SONIC_BOOM Damage caused by the Warden's sonic boom attack.


Survival Damage

DROWNING Damage caused by running out of air while underwater.

STARVATION Damage caused when the hunger bar reaches zero.

FREEZE Damage caused by freezing in Powder Snow.

DRYOUT Damage caused when aquatic creatures that require water dry out (e.g., fish).

MELTING Damage caused when Snow Golems melt in hot environments.


Special Damage

LIGHTNING Damage caused by being struck by lightning.

VOID Damage caused by falling into the Void.

WORLD_BORDER Damage caused by being pushed by the World Border.

KILL Damage caused by the /kill command.

SUICIDE Damage caused when an entity kills itself.

CUSTOM Custom damage triggered by plugins or NMS.

Last updated