Enum ArenaRegenerationStartEvent.Result
java.lang.Object
java.lang.Enum<ArenaRegenerationStartEvent.Result>
de.marcely.bedwars.api.event.arena.ArenaRegenerationStartEvent.Result
- All Implemented Interfaces:
Serializable
,Comparable<ArenaRegenerationStartEvent.Result>
,java.lang.constant.Constable
- Enclosing class:
ArenaRegenerationStartEvent
public static enum ArenaRegenerationStartEvent.Result
extends Enum<ArenaRegenerationStartEvent.Result>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWill keep the status as it is and won't start the regeneration processState will stay asArenaStatus.RESETTING
, but won't start the regeneration process.Arena will regenerate like normal -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static ArenaRegenerationStartEvent.Result[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REGENERATE
Arena will regenerate like normal -
DO_NOT_REGENERATE
State will stay asArenaStatus.RESETTING
, but won't start the regeneration process. This allows you to use your own regenerator. -
CANCEL
Will keep the status as it is and won't start the regeneration process
-
-
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
-