public static enum ProxiedPlayer.MainHand extends Enum<ProxiedPlayer.MainHand>
Modifier and Type | Method and Description |
---|---|
static ProxiedPlayer.MainHand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxiedPlayer.MainHand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxiedPlayer.MainHand LEFT
public static final ProxiedPlayer.MainHand RIGHT
public static ProxiedPlayer.MainHand[] values()
for (ProxiedPlayer.MainHand c : ProxiedPlayer.MainHand.values()) System.out.println(c);
public static ProxiedPlayer.MainHand 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 © 2012–2020 SpigotMC. All rights reserved.