接口 DamageEffect
Represents a type of effect that occurs when damage is inflicted. Currently,
effects only determine the sound that plays.
-
字段概要
修饰符和类型字段说明static final DamageEffect
A single burn tick (fire, lava, etc.).static final DamageEffect
Drowning.static final DamageEffect
Freeze tick (powder snow).static final DamageEffect
The default damage effect.static final DamageEffect
Poked by a berry bush.static final DamageEffect
Thorns. -
方法概要
-
字段详细资料
-
HURT
The default damage effect. -
THORNS
Thorns. -
DROWNING
Drowning. -
BURNING
A single burn tick (fire, lava, etc.). -
POKING
Poked by a berry bush. -
FREEZING
Freeze tick (powder snow).
-
-
方法详细资料
-
getSound
Get theSound
played for thisDamageEffect
.- 返回:
- the sound
-