public enum ClientCommand extends Enum<ClientCommand>
| Modifier and Type | Method and Description |
|---|---|
static ClientCommand |
from(int id) |
static ClientCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientCommand RESPAWN
public static final ClientCommand STATS
public static ClientCommand[] values()
for (ClientCommand c : ClientCommand.values()) System.out.println(c);
public static ClientCommand 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 nullpublic static ClientCommand from(int id)
Copyright © 2023. All rights reserved.