@Environment(value=CLIENT) public enum AoMode extends Enum<AoMode>
Modifier and Type | Field and Description |
---|---|
private int |
id |
private String |
translationKey |
private static AoMode[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
static AoMode |
byId(int id) |
int |
getId() |
String |
getTranslationKey() |
static AoMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AoMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AoMode OFF
public static final AoMode MIN
public static final AoMode MAX
private static final AoMode[] VALUES
private final int id
private final String translationKey
public static AoMode[] values()
for (AoMode c : AoMode.values()) System.out.println(c);
public static AoMode 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 int getId()
public String getTranslationKey()
public static AoMode byId(int id)