public static enum RepelItem.EnumRepel extends java.lang.Enum<RepelItem.EnumRepel>
Enum Constant and Description |
---|
MAX_REPEL |
REPEL |
SUPER_REPEL |
Modifier and Type | Field and Description |
---|---|
int |
ticks |
Modifier and Type | Method and Description |
---|---|
static RepelItem.EnumRepel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepelItem.EnumRepel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepelItem.EnumRepel REPEL
public static final RepelItem.EnumRepel SUPER_REPEL
public static final RepelItem.EnumRepel MAX_REPEL
public static RepelItem.EnumRepel[] values()
for (RepelItem.EnumRepel c : RepelItem.EnumRepel.values()) System.out.println(c);
public static RepelItem.EnumRepel 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 null