Interface ItemSkillAction
-
- All Superinterfaces:
SkillAction
- All Known Implementing Classes:
CookingAction
,CraftingAction
,FiremakingAction
,FishingAction
,FletchingAction
,HerbloreAction
,MiningAction
,PrayerAction
,RunecraftAction
,SmithingAction
,WoodcuttingAction
public interface ItemSkillAction extends SkillAction
An object representing a single skill action involving an item which grants some xp.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
getIcon()
Gets the item icon ID for this skill action.int
getItemId()
Gets the item ID used for this action.default String
getName(ItemManager itemManager)
Gets the name of this skill action's associated item.default boolean
isMembers(ItemManager itemManager)
-
Methods inherited from interface net.runelite.client.plugins.skillcalculator.skills.SkillAction
getExcludedSkillBonuses, getLevel, getSprite, getXp, isBonusApplicable
-
-
-
-
Method Detail
-
getItemId
int getItemId()
Gets the item ID used for this action.- Returns:
- The item ID used for this action.
- See Also:
ItemID
-
getIcon
default int getIcon()
Gets the item icon ID for this skill action.- Specified by:
getIcon
in interfaceSkillAction
- Returns:
- The item icon ID of this skill action.
- See Also:
ItemID
,getItemId()
-
getName
default String getName(ItemManager itemManager)
Gets the name of this skill action's associated item.- Specified by:
getName
in interfaceSkillAction
- Parameters:
itemManager
- Anitem manager
instance.- Returns:
- The name of this skill action item.
- See Also:
getItemId()
-
isMembers
default boolean isMembers(ItemManager itemManager)
- Specified by:
isMembers
in interfaceSkillAction
-
-