Package org.bukkit.damage
Interface DamageEffect
@Experimental
public interface DamageEffect
Represents a type of effect that occurs when damage is inflicted. Currently,
effects only determine the sound that plays.
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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. -
Method Summary
-
Field Details
-
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).
-
-
Method Details
-
getSound
Get theSound
played for thisDamageEffect
.- Returns:
- the sound
-