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