跳转至

EntityDamageCause

文档版本:1.21.0.24

EntityDamageCause枚举。script_api.minecraft/server.entitydamagecause.description

常量

anvil
static read-only anvil = "anvil";
blockExplosion
static read-only blockExplosion = "blockExplosion";
charging
static read-only charging = "charging";
contact
static read-only contact = "contact";
drowning
static read-only drowning = "drowning";
entityAttack
static read-only entityAttack = "entityAttack";
entityExplosion
static read-only entityExplosion = "entityExplosion";
fall
static read-only fall = "fall";
fallingBlock
static read-only fallingBlock = "fallingBlock";
fire
static read-only fire = "fire";
fireTick
static read-only fireTick = "fireTick";
fireworks
static read-only fireworks = "fireworks";
flyIntoWall
static read-only flyIntoWall = "flyIntoWall";
freezing
static read-only freezing = "freezing";
lava
static read-only lava = "lava";
lightning
static read-only lightning = "lightning";
magic
static read-only magic = "magic";
magma
static read-only magma = "magma";
none
static read-only none = "none";
override
static read-only override = "override";
piston
static read-only piston = "piston";
projectile
static read-only projectile = "projectile";
selfDestruct
static read-only selfDestruct = "selfDestruct";
stalactite
static read-only stalactite = "stalactite";
stalagmite
static read-only stalagmite = "stalagmite";
starve
static read-only starve = "starve";
suffocation
static read-only suffocation = "suffocation";
suicide
static read-only suicide = "suicide";
temperature
static read-only temperature = "temperature";
thorns
static read-only thorns = "thorns";
void
static read-only void = "void";
wither
static read-only wither = "wither";