Enum AlchemyItem
- java.lang.Object
-
- java.lang.Enum<AlchemyItem>
-
- net.runelite.client.plugins.mta.alchemy.AlchemyItem
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlchemyItem>
public enum AlchemyItem extends java.lang.Enum<AlchemyItem>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAMANT_KITESHIELD
ADAMANT_MED_HELM
EMERALD
EMPTY
LEATHER_BOOTS
POSSIBLY_EMPTY
RUNE_LONGSWORD
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlchemyItem
find(java.lang.String item)
int
getId()
java.lang.String
getName()
static AlchemyItem
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlchemyItem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEATHER_BOOTS
public static final AlchemyItem LEATHER_BOOTS
-
ADAMANT_KITESHIELD
public static final AlchemyItem ADAMANT_KITESHIELD
-
ADAMANT_MED_HELM
public static final AlchemyItem ADAMANT_MED_HELM
-
EMERALD
public static final AlchemyItem EMERALD
-
RUNE_LONGSWORD
public static final AlchemyItem RUNE_LONGSWORD
-
EMPTY
public static final AlchemyItem EMPTY
-
POSSIBLY_EMPTY
public static final AlchemyItem POSSIBLY_EMPTY
-
UNKNOWN
public static final AlchemyItem UNKNOWN
-
-
Method Detail
-
values
public static AlchemyItem[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlchemyItem c : AlchemyItem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlchemyItem valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
find
public static AlchemyItem find(java.lang.String item)
-
getId
public int getId()
-
getName
public java.lang.String getName()
-
-