public static enum ParkourPlayerFailEvent.FailCause extends Enum<ParkourPlayerFailEvent.FailCause>
Enum Constant and Description |
---|
CUSTOM |
ELYTRA_USE |
FLY |
LEAVE |
NEW_PARKOUR |
NOT_ENOUGH_CHECKPOINTS |
TELEPORTATION |
Modifier and Type | Method and Description |
---|---|
static ParkourPlayerFailEvent.FailCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkourPlayerFailEvent.FailCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkourPlayerFailEvent.FailCause FLY
public static final ParkourPlayerFailEvent.FailCause ELYTRA_USE
public static final ParkourPlayerFailEvent.FailCause TELEPORTATION
public static final ParkourPlayerFailEvent.FailCause NOT_ENOUGH_CHECKPOINTS
public static final ParkourPlayerFailEvent.FailCause NEW_PARKOUR
public static final ParkourPlayerFailEvent.FailCause LEAVE
public static final ParkourPlayerFailEvent.FailCause CUSTOM
public static ParkourPlayerFailEvent.FailCause[] values()
for (ParkourPlayerFailEvent.FailCause c : ParkourPlayerFailEvent.FailCause.values()) System.out.println(c);
public static ParkourPlayerFailEvent.FailCause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2025. All rights reserved.