public static enum PlayerRespawnEvent.RespawnFlag extends Enum<PlayerRespawnEvent.RespawnFlag>
| Enum Constant and Description |
|---|
ANCHOR_SPAWN
Will use the respawn anchor location
|
BED_SPAWN
Will use the bed spawn location
|
END_PORTAL
Is caused by going to the end portal in the end.
|
| Modifier and Type | Method and Description |
|---|---|
static PlayerRespawnEvent.RespawnFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerRespawnEvent.RespawnFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerRespawnEvent.RespawnFlag BED_SPAWN
public static final PlayerRespawnEvent.RespawnFlag ANCHOR_SPAWN
public static final PlayerRespawnEvent.RespawnFlag END_PORTAL
public static PlayerRespawnEvent.RespawnFlag[] values()
for (PlayerRespawnEvent.RespawnFlag c : PlayerRespawnEvent.RespawnFlag.values()) System.out.println(c);
public static PlayerRespawnEvent.RespawnFlag 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 © 2022. All rights reserved.