Enum Class DeathCause

java.lang.Object
java.lang.Enum<DeathCause>
me.lokka30.levelledmobs.customdrops.DeathCause
All Implemented Interfaces:
Serializable, Comparable<DeathCause>, Constable

public enum DeathCause extends Enum<DeathCause>
  • Enum Constant Details

    • BLOCK_EXPLOSION

      public static final DeathCause BLOCK_EXPLOSION
    • CONTACT

      public static final DeathCause CONTACT
    • CRAMMING

      public static final DeathCause CRAMMING
    • CUSTOM

      public static final DeathCause CUSTOM
    • DRAGON_BREATH

      public static final DeathCause DRAGON_BREATH
    • DROWNING

      public static final DeathCause DROWNING
    • DRYOUT

      public static final DeathCause DRYOUT
    • ENTITY_ATTACK

      public static final DeathCause ENTITY_ATTACK
    • ENTITY_EXPLOSION

      public static final DeathCause ENTITY_EXPLOSION
    • ENTITY_SWEEP_ATTACK

      public static final DeathCause ENTITY_SWEEP_ATTACK
    • FALL

      public static final DeathCause FALL
    • FALLING_BLOCK

      public static final DeathCause FALLING_BLOCK
    • FIRE

      public static final DeathCause FIRE
    • FIRE_TICK

      public static final DeathCause FIRE_TICK
    • FLY_INTO_WALL

      public static final DeathCause FLY_INTO_WALL
    • FREEZE

      public static final DeathCause FREEZE
    • HOT_FLOOR

      public static final DeathCause HOT_FLOOR
    • KILL

      public static final DeathCause KILL
    • LAVA

      public static final DeathCause LAVA
    • LIGHTNING

      public static final DeathCause LIGHTNING
    • MAGIC

      public static final DeathCause MAGIC
    • MELTING

      public static final DeathCause MELTING
    • POISON

      public static final DeathCause POISON
    • PROJECTILE

      public static final DeathCause PROJECTILE
    • SONIC_BOOM

      public static final DeathCause SONIC_BOOM
    • STARVATION

      public static final DeathCause STARVATION
    • SUFFOCATION

      public static final DeathCause SUFFOCATION
    • SUICIDE

      public static final DeathCause SUICIDE
    • THORNS

      public static final DeathCause THORNS
    • VOID

      public static final DeathCause VOID
    • WITHER

      public static final DeathCause WITHER
    • PLAYER_CAUSED

      public static final DeathCause PLAYER_CAUSED
  • Method Details

    • values

      public static DeathCause[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DeathCause valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null