public static enum ParkourPlayerTeleportEvent.TeleportReason extends Enum<ParkourPlayerTeleportEvent.TeleportReason>
Enum Constant and Description |
---|
COMMAND_CHECKPOINT
Use command /parkour checkpoint
|
COMMAND_RESET
Use command /parkour reset
|
FALL
Player dropped from platform
|
ITEM_CLICK_CHECKPOINT
Click gui item checkpoint
|
ITEM_CLICK_RESET
Click gui item reset
|
LAVA
Player fall in lava
|
UNKNOWN
Unknow reason
|
WATER
Player fall in water
|
Modifier and Type | Method and Description |
---|---|
static ParkourPlayerTeleportEvent.TeleportReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkourPlayerTeleportEvent.TeleportReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkourPlayerTeleportEvent.TeleportReason UNKNOWN
public static final ParkourPlayerTeleportEvent.TeleportReason COMMAND_RESET
public static final ParkourPlayerTeleportEvent.TeleportReason COMMAND_CHECKPOINT
public static final ParkourPlayerTeleportEvent.TeleportReason ITEM_CLICK_RESET
public static final ParkourPlayerTeleportEvent.TeleportReason ITEM_CLICK_CHECKPOINT
public static final ParkourPlayerTeleportEvent.TeleportReason FALL
public static final ParkourPlayerTeleportEvent.TeleportReason WATER
public static final ParkourPlayerTeleportEvent.TeleportReason LAVA
public static ParkourPlayerTeleportEvent.TeleportReason[] values()
for (ParkourPlayerTeleportEvent.TeleportReason c : ParkourPlayerTeleportEvent.TeleportReason.values()) System.out.println(c);
public static ParkourPlayerTeleportEvent.TeleportReason 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.