public static enum RespawnPacket.State extends Enum<RespawnPacket.State>
| Enum Constant and Description |
|---|
CLIENT_READY |
SERVER_READY |
SERVER_SEARCHING |
| Modifier and Type | Method and Description |
|---|---|
static RespawnPacket.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RespawnPacket.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RespawnPacket.State SERVER_SEARCHING
public static final RespawnPacket.State SERVER_READY
public static final RespawnPacket.State CLIENT_READY
public static RespawnPacket.State[] values()
for (RespawnPacket.State c : RespawnPacket.State.values()) System.out.println(c);
public static RespawnPacket.State 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 © 2018–2022 NukkitX. All rights reserved.