Enum MiningAction
- java.lang.Object
-
- java.lang.Enum<MiningAction>
-
- net.runelite.client.plugins.skillcalculator.skills.MiningAction
-
- All Implemented Interfaces:
Serializable
,Comparable<MiningAction>
,ItemSkillAction
,SkillAction
public enum MiningAction extends Enum<MiningAction> implements ItemSkillAction
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getItemId()
Gets the item ID used for this action.int
getLevel()
Gets the level required to perform this skill action.float
getXp()
Gets the amount of xp granted for performing this skill action.static MiningAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static MiningAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface net.runelite.client.plugins.skillcalculator.skills.ItemSkillAction
getIcon, getName, isMembers
-
Methods inherited from interface net.runelite.client.plugins.skillcalculator.skills.SkillAction
getExcludedSkillBonuses, getSprite, isBonusApplicable
-
-
-
-
Enum Constant Detail
-
CLAY
public static final MiningAction CLAY
-
RUNE_ESSENCE
public static final MiningAction RUNE_ESSENCE
-
COPPER_ORE
public static final MiningAction COPPER_ORE
-
TIN_ORE
public static final MiningAction TIN_ORE
-
LIMESTONE
public static final MiningAction LIMESTONE
-
BARRONITE_SHARDS
public static final MiningAction BARRONITE_SHARDS
-
BARRONITE_DEPOSIT
public static final MiningAction BARRONITE_DEPOSIT
-
IRON_ORE
public static final MiningAction IRON_ORE
-
SILVER_ORE
public static final MiningAction SILVER_ORE
-
PURE_ESSENCE
public static final MiningAction PURE_ESSENCE
-
COAL
public static final MiningAction COAL
-
SANDSTONE_1KG
public static final MiningAction SANDSTONE_1KG
-
SANDSTONE_2KG
public static final MiningAction SANDSTONE_2KG
-
SANDSTONE_5KG
public static final MiningAction SANDSTONE_5KG
-
SANDSTONE_10KG
public static final MiningAction SANDSTONE_10KG
-
DENSE_ESSENCE_BLOCK
public static final MiningAction DENSE_ESSENCE_BLOCK
-
GEM_ROCKS
public static final MiningAction GEM_ROCKS
-
GOLD_ORE
public static final MiningAction GOLD_ORE
-
CALCIFIED_ROCKS
public static final MiningAction CALCIFIED_ROCKS
-
GRANITE_500G
public static final MiningAction GRANITE_500G
-
GRANITE_2KG
public static final MiningAction GRANITE_2KG
-
GRANITE_5KG
public static final MiningAction GRANITE_5KG
-
MITHRIL_ORE
public static final MiningAction MITHRIL_ORE
-
SOFT_CLAY
public static final MiningAction SOFT_CLAY
-
ADAMANTITE_ORE
public static final MiningAction ADAMANTITE_ORE
-
RUNITE_ORE
public static final MiningAction RUNITE_ORE
-
AMETHYST
public static final MiningAction AMETHYST
-
-
Method Detail
-
values
public static MiningAction[] 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 (MiningAction c : MiningAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MiningAction valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getItemId
public int getItemId()
Description copied from interface:ItemSkillAction
Gets the item ID used for this action.- Specified by:
getItemId
in interfaceItemSkillAction
- Returns:
- The item ID used for this action.
- See Also:
ItemID
-
getLevel
public int getLevel()
Description copied from interface:SkillAction
Gets the level required to perform this skill action.- Specified by:
getLevel
in interfaceSkillAction
- Returns:
- The level required to perform this skill action.
-
getXp
public float getXp()
Description copied from interface:SkillAction
Gets the amount of xp granted for performing this skill action.- Specified by:
getXp
in interfaceSkillAction
- Returns:
- The amount of xp granted for performing this skill action.
-
-