Enum Class CauseType

java.lang.Object
java.lang.Enum<CauseType>
dev.yowsef.stealablock.api.cause.CauseType
All Implemented Interfaces:
Serializable, Comparable<CauseType>, Constable

public enum CauseType extends Enum<CauseType>
Standard causes for economy, block, progression, and gameplay mutations.
  • Enum Constant Details

    • GAMEPLAY

      public static final CauseType GAMEPLAY
    • INCOME_TICK

      public static final CauseType INCOME_TICK
    • INCOME_COLLECT

      public static final CauseType INCOME_COLLECT
    • BLOCK_SELL

      public static final CauseType BLOCK_SELL
    • BLOCK_STEAL

      public static final CauseType BLOCK_STEAL
    • BLOCK_FUSION

      public static final CauseType BLOCK_FUSION
    • MYSTERY_UNBOX

      public static final CauseType MYSTERY_UNBOX
    • REBIRTH

      public static final CauseType REBIRTH
    • PRESTIGE

      public static final CauseType PRESTIGE
    • MILESTONE_REWARD

      public static final CauseType MILESTONE_REWARD
    • CONTRACT_REWARD

      public static final CauseType CONTRACT_REWARD
    • CONTRACT_COST

      public static final CauseType CONTRACT_COST
    • GEAR_PURCHASE

      public static final CauseType GEAR_PURCHASE
    • COSMETIC_PURCHASE

      public static final CauseType COSMETIC_PURCHASE
    • LOCKBASE_BYPASS

      public static final CauseType LOCKBASE_BYPASS
    • GAME_EVENT

      public static final CauseType GAME_EVENT
    • ADMIN_COMMAND

      public static final CauseType ADMIN_COMMAND
    • VAULT

      public static final CauseType VAULT
    • PLUGIN_API

      public static final CauseType PLUGIN_API
  • Method Details

    • values

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