public enum NewcharStat extends java.lang.Enum<NewcharStat>
Enum Constant and Description |
---|
CHA
Charisma.
|
CON
Constitution.
|
DEX
Dexterity.
|
INT
Intelligence.
|
POW
Power.
|
STR
Strength.
|
WIS
Wisdom.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.lang.String |
getName()
Returns the display name.
|
int |
getPriority()
Returns the display priority of the related error message.
|
int |
getStat()
Returns the stat.
|
@NotNull java.lang.String |
getStatName()
Returns the statname in the ceateplayer command.
|
static NewcharStat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NewcharStat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewcharStat STR
public static final NewcharStat DEX
public static final NewcharStat CON
public static final NewcharStat INT
public static final NewcharStat WIS
public static final NewcharStat POW
public static final NewcharStat CHA
public static NewcharStat[] values()
for (NewcharStat c : NewcharStat.values()) System.out.println(c);
public static NewcharStat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getStat()
@NotNull public @NotNull java.lang.String getName()
@NotNull public @NotNull java.lang.String getStatName()
public int getPriority()