Enum WoodcuttingAction
- java.lang.Object
-
- java.lang.Enum<WoodcuttingAction>
-
- net.runelite.client.plugins.skillcalculator.skills.WoodcuttingAction
-
- All Implemented Interfaces:
Serializable,Comparable<WoodcuttingAction>,ItemSkillAction,SkillAction
public enum WoodcuttingAction extends Enum<WoodcuttingAction> implements ItemSkillAction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACHEY_TREE_LOGSARCTIC_PINE_LOGSBARKBLISTERWOOD_LOGSJUNIPER_LOGSLOGSMAGIC_LOGSMAHOGANY_LOGSMAPLE_LOGSOAK_LOGSREDWOOD_LOGSSULLIUSCEPSTEAK_LOGSWILLOW_LOGSYEW_LOGS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetItemId()Gets the item ID used for this action.intgetLevel()Gets the level required to perform this skill action.floatgetXp()Gets the amount of xp granted for performing this skill action.static WoodcuttingActionvalueOf(String name)Returns the enum constant of this type with the specified name.static WoodcuttingAction[]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
-
ACHEY_TREE_LOGS
public static final WoodcuttingAction ACHEY_TREE_LOGS
-
LOGS
public static final WoodcuttingAction LOGS
-
OAK_LOGS
public static final WoodcuttingAction OAK_LOGS
-
WILLOW_LOGS
public static final WoodcuttingAction WILLOW_LOGS
-
TEAK_LOGS
public static final WoodcuttingAction TEAK_LOGS
-
JUNIPER_LOGS
public static final WoodcuttingAction JUNIPER_LOGS
-
BARK
public static final WoodcuttingAction BARK
-
MAPLE_LOGS
public static final WoodcuttingAction MAPLE_LOGS
-
MAHOGANY_LOGS
public static final WoodcuttingAction MAHOGANY_LOGS
-
ARCTIC_PINE_LOGS
public static final WoodcuttingAction ARCTIC_PINE_LOGS
-
YEW_LOGS
public static final WoodcuttingAction YEW_LOGS
-
BLISTERWOOD_LOGS
public static final WoodcuttingAction BLISTERWOOD_LOGS
-
SULLIUSCEPS
public static final WoodcuttingAction SULLIUSCEPS
-
MAGIC_LOGS
public static final WoodcuttingAction MAGIC_LOGS
-
REDWOOD_LOGS
public static final WoodcuttingAction REDWOOD_LOGS
-
-
Method Detail
-
values
public static WoodcuttingAction[] 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 (WoodcuttingAction c : WoodcuttingAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WoodcuttingAction 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:ItemSkillActionGets the item ID used for this action.- Specified by:
getItemIdin interfaceItemSkillAction- Returns:
- The item ID used for this action.
- See Also:
ItemID
-
getLevel
public int getLevel()
Description copied from interface:SkillActionGets the level required to perform this skill action.- Specified by:
getLevelin interfaceSkillAction- Returns:
- The level required to perform this skill action.
-
getXp
public float getXp()
Description copied from interface:SkillActionGets the amount of xp granted for performing this skill action.- Specified by:
getXpin interfaceSkillAction- Returns:
- The amount of xp granted for performing this skill action.
-
-