Interface DamageEffect
public interface DamageEffect
Represents a type of effect that occurs when damage is inflicted. Currently,
effects only determine the sound that plays.
- Since:
- 1.20.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DamageEffectA single burn tick (fire, lava, etc.).static final DamageEffectDrowning.static final DamageEffectFreeze tick (powder snow).static final DamageEffectThe default damage effect.static final DamageEffectPoked by a berry bush.static final DamageEffectThorns. -
Method Summary
-
Field Details
-
HURT
-
THORNS
-
DROWNING
-
BURNING
-
POKING
-
FREEZING
-
-
Method Details
-
getSound
Get theSoundplayed for thisDamageEffect.- Returns:
- the sound
- Since:
- 1.20.4
-