Enum Class TriggerType

java.lang.Object
java.lang.Enum<TriggerType>
me.deecaad.weaponmechanics.weapon.trigger.TriggerType
All Implemented Interfaces:
Serializable, Comparable<TriggerType>, Constable

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

    • START_SNEAK

      public static final TriggerType START_SNEAK
    • END_SNEAK

      public static final TriggerType END_SNEAK
    • DOUBLE_SNEAK

      public static final TriggerType DOUBLE_SNEAK
    • START_SPRINT

      public static final TriggerType START_SPRINT
    • END_SPRINT

      public static final TriggerType END_SPRINT
    • RIGHT_CLICK

      public static final TriggerType RIGHT_CLICK
    • LEFT_CLICK

      public static final TriggerType LEFT_CLICK
    • MELEE

      public static final TriggerType MELEE
    • DROP_ITEM

      public static final TriggerType DROP_ITEM
    • JUMP

      public static final TriggerType JUMP
    • DOUBLE_JUMP

      public static final TriggerType DOUBLE_JUMP
    • START_SWIM

      public static final TriggerType START_SWIM
    • END_SWIM

      public static final TriggerType END_SWIM
    • START_GLIDE

      public static final TriggerType START_GLIDE
    • END_GLIDE

      public static final TriggerType END_GLIDE
    • SWAP_HANDS

      public static final TriggerType SWAP_HANDS
    • START_WALK

      public static final TriggerType START_WALK
    • END_WALK

      public static final TriggerType END_WALK
    • START_IN_MIDAIR

      public static final TriggerType START_IN_MIDAIR
    • END_IN_MIDAIR

      public static final TriggerType END_IN_MIDAIR
    • START_STAND

      public static final TriggerType START_STAND
    • END_STAND

      public static final TriggerType END_STAND
  • Method Details

    • values

      public static TriggerType[] 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 TriggerType 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
    • isSprintType

      public boolean isSprintType()
    • isRightOrLeft

      public boolean isRightOrLeft()