public enum DefaultMessages extends Enum<DefaultMessages>
| Enum Constant and Description |
|---|
ARROWS_RIGHT |
BALL |
COMMAND_NO_PERMISSION |
COMMAND_REQUIRES_ARGUMENTS |
COMMAND_SENDER_NOT_PLAYER |
| Modifier and Type | Method and Description |
|---|---|
String |
parse()
Alternative for toString.
|
String |
parse(String... p)
Replaces all REPLACE{x} strings with the given parameters.
|
String |
toString() |
static DefaultMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultMessages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultMessages COMMAND_NO_PERMISSION
public static final DefaultMessages COMMAND_REQUIRES_ARGUMENTS
public static final DefaultMessages COMMAND_SENDER_NOT_PLAYER
public static final DefaultMessages ARROWS_RIGHT
public static final DefaultMessages BALL
public static DefaultMessages[] values()
for (DefaultMessages c : DefaultMessages.values()) System.out.println(c);
public static DefaultMessages 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 String toString()
toString in class Enum<DefaultMessages>public String parse()
Copyright © 2018. All rights reserved.