Enum Class ExpSource

java.lang.Object
java.lang.Enum<ExpSource>
com.sucy.skill.api.enums.ExpSource
All Implemented Interfaces:
Serializable, Comparable<ExpSource>, Constable

public enum ExpSource extends Enum<ExpSource>
Deprecated.
Use ExpSource instead
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated.
    Experience resulted from breaking a block
    Deprecated.
    Experience resulted from placing a block
    Deprecated.
    Experience resulted from an issued command
    Deprecated.
    Experience resulted from crafting an item
    Deprecated.
    Experience from Bottles o' Enchanting
    Deprecated.
    Experience resulted from defeating a monster
    Deprecated.
    Experience given through a plugin.
    Deprecated.
    Experience from a quest
    Deprecated.
    Experience from smelting ore
    Deprecated.
    Experience resulted from an unspecified reason
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated.
    Retrieves the ID of the experience source.
    static ExpSource
    Deprecated.
    Returns the enum constant of this class with the specified name.
    static ExpSource[]
    Deprecated.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • MOB

      public static final ExpSource MOB
      Deprecated.
      Experience resulted from defeating a monster
    • BLOCK_BREAK

      public static final ExpSource BLOCK_BREAK
      Deprecated.
      Experience resulted from breaking a block
    • BLOCK_PLACE

      public static final ExpSource BLOCK_PLACE
      Deprecated.
      Experience resulted from placing a block
    • CRAFT

      public static final ExpSource CRAFT
      Deprecated.
      Experience resulted from crafting an item
    • COMMAND

      public static final ExpSource COMMAND
      Deprecated.
      Experience resulted from an issued command
    • SPECIAL

      public static final ExpSource SPECIAL
      Deprecated.
      Experience resulted from an unspecified reason
    • EXP_BOTTLE

      public static final ExpSource EXP_BOTTLE
      Deprecated.
      Experience from Bottles o' Enchanting
    • SMELT

      public static final ExpSource SMELT
      Deprecated.
      Experience from smelting ore
    • QUEST

      public static final ExpSource QUEST
      Deprecated.
      Experience from a quest
    • PLUGIN

      public static final ExpSource PLUGIN
      Deprecated.
      Experience given through a plugin. This exp is not shared
  • Method Details

    • values

      public static ExpSource[] values()
      Deprecated.
      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 ExpSource valueOf(String name)
      Deprecated.
      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
    • getId

      public int getId()
      Deprecated.

      Retrieves the ID of the experience source.

      Returns:
      ID of the experience source