public static enum ItemMicromissiles.FireMode extends java.lang.Enum<ItemMicromissiles.FireMode> implements ITranslatableEnum
| Modifier and Type | Method and Description |
|---|---|
static ItemMicromissiles.FireMode |
fromString(java.lang.String mode) |
java.lang.String |
getTranslationKey() |
static ItemMicromissiles.FireMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemMicromissiles.FireMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemMicromissiles.FireMode SMART
public static final ItemMicromissiles.FireMode DUMB
public static ItemMicromissiles.FireMode[] values()
for (ItemMicromissiles.FireMode c : ItemMicromissiles.FireMode.values()) System.out.println(c);
public static ItemMicromissiles.FireMode 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 static ItemMicromissiles.FireMode fromString(java.lang.String mode)
public java.lang.String getTranslationKey()
getTranslationKey in interface ITranslatableEnum