Enum GenTierActionType
- All Implemented Interfaces:
Serializable,Comparable<GenTierActionType>,java.lang.constant.Constable
Represents the different types of Gen Tier Actions
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDestroys all remaining beds within an arenaThe tier that officially ends the gameAffects drop rates of in game spawnersCustom Gen Tier ActionSpawns in dragons to aid in ending the game faster -
Method Summary
Modifier and TypeMethodDescriptionGet the default handler Id for this action typestatic GenTierActionTypeReturns the enum constant of this type with the specified name.static GenTierActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GEN_UPGRADE
Affects drop rates of in game spawners -
BED_DESTROY
Destroys all remaining beds within an arena -
SUDDEN_DEATH
Spawns in dragons to aid in ending the game faster -
GAME_OVER
The tier that officially ends the game -
PLUGIN
Custom Gen Tier Action
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getDefaultHandlerId
Get the default handler Id for this action type- Returns:
- The default handler Id
- Throws:
UnsupportedOperationException- if this action type is PLUGIN
-