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_LOGS
ARCTIC_PINE_LOGS
BARK
BLISTERWOOD_LOGS
JUNIPER_LOGS
LOGS
MAGIC_LOGS
MAHOGANY_LOGS
MAPLE_LOGS
OAK_LOGS
REDWOOD_LOGS
SULLIUSCEPS
TEAK_LOGS
WILLOW_LOGS
YEW_LOGS
-
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 WoodcuttingAction
valueOf(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: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.
-
-