public enum SenderType extends Enum<SenderType>
| Enum Constant and Description |
|---|
CMD_BLOCK |
CONSOLE |
PLAYER |
PROXY_PLAYER |
| Modifier and Type | Method and Description |
|---|---|
static SenderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SenderType PLAYER
public static final SenderType PROXY_PLAYER
public static final SenderType CONSOLE
public static final SenderType CMD_BLOCK
public static SenderType[] values()
for (SenderType c : SenderType.values()) System.out.println(c);
public static SenderType 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. All rights reserved.