跳转至

附加包实体损伤来源

文档版本:2025-02-11

描述

本页列出Microsoft Learn“Default Minecraft Entity Damage Source Listings”公开的实体损伤来源字符串。该表用于实体过滤器、伤害判定与事件触发条件核对。

损伤来源
all
anvil
block_explosion
campfire
charging
contact
drowning
entity_attack
entity_explosion
fall
falling_block
fire
fire_tick
fireworks
fly_into_wall
freezing
lava
lightning
mace_smash
magic
magma
none
override
piston
projectile
ram_attack
self_destruct
sonic_boom
soul_campfire
stalactite
stalagmite
starve
suffocation
temperature
thorns
void
wither