Enum Class InteractAction

java.lang.Object
java.lang.Enum<InteractAction>
ml.karmaconfigs.api.bukkit.region.event.InteractAction
All Implemented Interfaces:
Serializable, Comparable<InteractAction>, java.lang.constant.Constable

public enum InteractAction extends Enum<InteractAction>
Valid PlayerInteractAtRegionEvent interact actions
  • Enum Constant Details

    • UNKNOWN

      public static final InteractAction UNKNOWN
      Default action, should be never seen
    • LEFT_CLICK_BLOCK

      public static final InteractAction LEFT_CLICK_BLOCK
      Left-clicked a block
    • RIGHT_CLICK_BLOCK

      public static final InteractAction RIGHT_CLICK_BLOCK
      Right-clicked a block
    • LEFT_CLICK_AIR

      public static final InteractAction LEFT_CLICK_AIR
      Left-clicked in air
    • RIGHT_CLICK_AIR

      public static final InteractAction RIGHT_CLICK_AIR
      Right-clicked in air
    • DROP_ITEM

      public static final InteractAction DROP_ITEM
      Item dropped
    • PICKUP_ITEM

      public static final InteractAction PICKUP_ITEM
      Item pickup-ed
    • JUMP_SOIL

      public static final InteractAction JUMP_SOIL
      Entity jumped on soil
    • PRESSURE_PLATE

      public static final InteractAction PRESSURE_PLATE
      Entity press pressure plate
    • REDSTONE_ORE

      public static final InteractAction REDSTONE_ORE
      Entity triggers redstone ore
    • TRIPWIRE

      public static final InteractAction TRIPWIRE
      Entity triggers tripwire
  • Method Details

    • values

      public static InteractAction[] 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 InteractAction 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