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 intgetIcon()Gets the item icon ID for this skill action.intgetItemId()Gets the item ID used for this action.default StringgetName(ItemManager itemManager)Gets the name of this skill action's associated item.default booleanisMembers(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:
getIconin 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:
getNamein interfaceSkillAction- Parameters:
itemManager- Anitem managerinstance.- Returns:
- The name of this skill action item.
- See Also:
getItemId()
-
isMembers
default boolean isMembers(ItemManager itemManager)
- Specified by:
isMembersin interfaceSkillAction
-
-