> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/docs/configs/bian-ji-guai-wu-neng-li/shang-hai-lai-yuan.md).

# 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.
