Package com.sucy.skill.api.enums
Enum Class ExpSource
- All Implemented Interfaces:
Serializable
,Comparable<ExpSource>
,Constable
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Experience resulted from breaking a blockDeprecated.Experience resulted from placing a blockDeprecated.Experience resulted from an issued commandDeprecated.Experience resulted from crafting an itemDeprecated.Experience from Bottles o' EnchantingDeprecated.Experience resulted from defeating a monsterDeprecated.Experience given through a plugin.Deprecated.Experience from a questDeprecated.Experience from smelting oreDeprecated.Experience resulted from an unspecified reason -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Deprecated.Retrieves the ID of the experience source.static ExpSource
Deprecated.Returns the enum constant of this class with the specified name.static ExpSource[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOB
Deprecated.Experience resulted from defeating a monster -
BLOCK_BREAK
Deprecated.Experience resulted from breaking a block -
BLOCK_PLACE
Deprecated.Experience resulted from placing a block -
CRAFT
Deprecated.Experience resulted from crafting an item -
COMMAND
Deprecated.Experience resulted from an issued command -
SPECIAL
Deprecated.Experience resulted from an unspecified reason -
EXP_BOTTLE
Deprecated.Experience from Bottles o' Enchanting -
SMELT
Deprecated.Experience from smelting ore -
QUEST
Deprecated.Experience from a quest -
PLUGIN
Deprecated.Experience given through a plugin. This exp is not shared
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getId
public int getId()Deprecated.Retrieves the ID of the experience source.
- Returns:
- ID of the experience source
-
ExpSource
instead