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 Details

    • HURT

      static final DamageEffect HURT
      The default damage effect.
    • THORNS

      static final DamageEffect THORNS
      Thorns.
    • DROWNING

      static final DamageEffect DROWNING
      Drowning.
    • BURNING

      static final DamageEffect BURNING
      A single burn tick (fire, lava, etc.).
    • POKING

      static final DamageEffect POKING
      Poked by a berry bush.
    • FREEZING

      static final DamageEffect FREEZING
      Freeze tick (powder snow).
  • Method Details