> 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/enchantedmobs-zhong-wen-wen-dang/features/bian-ji-guai-wu-neng-li/shang-hai-lai-yuan.md).

# 伤害来源

### 爆炸类

**BLOCK\_EXPLOSION**\
由 **方块爆炸** 造成的伤害，例如：

* TNT
* 床在地狱/末地爆炸
* 重生锚爆炸

**ENTITY\_EXPLOSION**\
由 **实体爆炸** 造成的伤害，例如：

* 苦力怕（Creeper）爆炸
* 末影水晶爆炸

### 火焰与高温类

**FIRE**\
直接接触火焰造成的伤害。

**FIRE\_TICK**\
被火焰点燃后持续燃烧造成的伤害。

**LAVA**\
直接接触岩浆造成的伤害。

**HOT\_FLOOR**\
踩在 **岩浆块（Magma Block）** 上造成的伤害。

**CAMPFIRE**\
踩在

* 营火（Campfire）
* 灵魂营火（Soul Campfire）\
  上造成的伤害。

### 环境伤害

**CONTACT**\
接触危险方块造成的伤害，例如：

* 仙人掌（Cactus）
* 浆果丛（Sweet Berry Bush）
* 钟乳石（Dripstone）

**SUFFOCATION**\
被方块 **卡住窒息** 造成的伤害。

**CRAMMING**\
由于 **实体数量过多挤压**（受 `maxEntityCramming` 游戏规则影响）造成的伤害。

**FLY\_INTO\_WALL**\
飞行时 **撞墙** 造成的伤害（例如鞘翅飞行）。

**FALLING\_BLOCK**\
被 **下落的方块**（如沙子、铁砧、钟乳石）砸中造成的伤害。

### 物理伤害

**FALL**\
从 **高处跌落**（超过 3 格）造成的伤害。

**PROJECTILE**\
被 **投射物** 攻击造成的伤害，例如：

* 箭
* 火球
* 三叉戟
* 雪球

### 实体攻击

**ENTITY\_ATTACK**\
被实体 **普通攻击** 造成的伤害，例如：

* 玩家攻击
* 僵尸攻击
* 骷髅近战攻击

**ENTITY\_SWEEP\_ATTACK**\
被实体 **横扫攻击（Sweep Attack）** 造成的伤害（玩家剑横扫）。

**THORNS**\
受到 **荆棘附魔（Thorns）反伤** 造成的伤害。

### 魔法与状态伤害

**MAGIC**\
魔法伤害，例如：

* 瞬间伤害药水
* 一些魔法攻击

**POISON**\
**中毒效果（Poison）** 持续造成的伤害。

**WITHER**\
**凋零效果（Wither）** 持续造成的伤害。

**DRAGON\_BREATH**\
末影龙 **龙息攻击** 造成的伤害。

**SONIC\_BOOM**\
**监守者（Warden）声波攻击** 造成的伤害。

### 生存类伤害

**DROWNING**\
在水中 **缺氧溺水** 造成的伤害。

**STARVATION**\
**饥饿值为 0** 时造成的伤害。

**FREEZE**\
在 **细雪（Powder Snow）中冻结** 造成的伤害。

**DRYOUT**\
需要水生存的生物 **缺水** 造成的伤害（例如：鱼）。

**MELTING**\
雪傀儡 **在炎热环境融化** 造成的伤害。

### 特殊伤害

**LIGHTNING**\
被 **闪电击中** 造成的伤害。

**VOID**\
掉入 **虚空（Void）** 造成的伤害。

**WORLD\_BORDER**\
被 **世界边界（World Border）** 挤压造成的伤害。

**KILL**\
由 **/kill 指令** 造成的伤害。

**SUICIDE**\
实体 **自杀** 造成的伤害。

**CUSTOM**\
**自定义伤害**（插件或 NMS 手动触发）。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://enchantedmobs.superiormc.cn/enchantedmobs-zhong-wen-wen-dang/features/bian-ji-guai-wu-neng-li/shang-hai-lai-yuan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
