Enum FarmingAction
- java.lang.Object
-
- java.lang.Enum<FarmingAction>
-
- net.runelite.client.plugins.skillcalculator.skills.FarmingAction
-
- All Implemented Interfaces:
Serializable
,Comparable<FarmingAction>
,NamedSkillAction
,SkillAction
public enum FarmingAction extends Enum<FarmingAction> implements NamedSkillAction
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIcon()
Gets the item icon ID for this skill action, if applicable.int
getLevel()
Gets the level required to perform this skill action.String
getName()
Gets the name of this skill action, usually the item or object created, or the spell cast.float
getXp()
Gets the amount of xp granted for performing this skill action.boolean
isMembers(ItemManager itemManager)
static FarmingAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static FarmingAction[]
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.NamedSkillAction
getName
-
Methods inherited from interface net.runelite.client.plugins.skillcalculator.skills.SkillAction
getExcludedSkillBonuses, getSprite, isBonusApplicable
-
-
-
-
Enum Constant Detail
-
POTATOES
public static final FarmingAction POTATOES
-
WINTER_SQIRK
public static final FarmingAction WINTER_SQIRK
-
DOCK_LEAF
public static final FarmingAction DOCK_LEAF
-
FERN_BIG_PLANT
public static final FarmingAction FERN_BIG_PLANT
-
PLANT
public static final FarmingAction PLANT
-
SHORT_PLANT
public static final FarmingAction SHORT_PLANT
-
SPRING_SQIRK
public static final FarmingAction SPRING_SQIRK
-
AUTUMN_SQIRK
public static final FarmingAction AUTUMN_SQIRK
-
SUMMER_SQIRK
public static final FarmingAction SUMMER_SQIRK
-
BUSH
public static final FarmingAction BUSH
-
LARGE_LEAF_BUSH
public static final FarmingAction LARGE_LEAF_BUSH
-
SMALL_FERN
public static final FarmingAction SMALL_FERN
-
THISTLE
public static final FarmingAction THISTLE
-
FERN_SMALL_PLANT
public static final FarmingAction FERN_SMALL_PLANT
-
HUGE_PLANT
public static final FarmingAction HUGE_PLANT
-
REEDS
public static final FarmingAction REEDS
-
TALL_PLANT
public static final FarmingAction TALL_PLANT
-
ONIONS
public static final FarmingAction ONIONS
-
CABBAGES
public static final FarmingAction CABBAGES
-
GUAM_LEAF
public static final FarmingAction GUAM_LEAF
-
TOMATOES
public static final FarmingAction TOMATOES
-
MARRENTILL
public static final FarmingAction MARRENTILL
-
OAK_TREE
public static final FarmingAction OAK_TREE
-
TARROMIN
public static final FarmingAction TARROMIN
-
SWEETCORN
public static final FarmingAction SWEETCORN
-
GIANT_SEAWEED
public static final FarmingAction GIANT_SEAWEED
-
HARRALANDER
public static final FarmingAction HARRALANDER
-
LIMPWURT_PLANT
public static final FarmingAction LIMPWURT_PLANT
-
APPLE_TREE
public static final FarmingAction APPLE_TREE
-
GOUTWEED
public static final FarmingAction GOUTWEED
-
WILLOW_TREE
public static final FarmingAction WILLOW_TREE
-
STRAWBERRIES
public static final FarmingAction STRAWBERRIES
-
RANARR_WEED
public static final FarmingAction RANARR_WEED
-
BANANA_TREE
public static final FarmingAction BANANA_TREE
-
TEAK_TREE
public static final FarmingAction TEAK_TREE
-
TOADFLAX
public static final FarmingAction TOADFLAX
-
ORANGE_TREE
public static final FarmingAction ORANGE_TREE
-
CURRY_TREE
public static final FarmingAction CURRY_TREE
-
IRIT_LEAF
public static final FarmingAction IRIT_LEAF
-
MAPLE_TREE
public static final FarmingAction MAPLE_TREE
-
WATERMELONS
public static final FarmingAction WATERMELONS
-
AVANTOE
public static final FarmingAction AVANTOE
-
PINEAPPLE_PLANT
public static final FarmingAction PINEAPPLE_PLANT
-
MAHOGANY_TREE
public static final FarmingAction MAHOGANY_TREE
-
KWUARM
public static final FarmingAction KWUARM
-
PAPAYA_TREE
public static final FarmingAction PAPAYA_TREE
-
WHITE_LILY
public static final FarmingAction WHITE_LILY
-
YEW_TREE
public static final FarmingAction YEW_TREE
-
SNAPE_GRASS
public static final FarmingAction SNAPE_GRASS
-
SNAPDRAGON
public static final FarmingAction SNAPDRAGON
-
HUASCA
public static final FarmingAction HUASCA
-
HESPORI
public static final FarmingAction HESPORI
-
CADANTINE
public static final FarmingAction CADANTINE
-
PALM_TREE
public static final FarmingAction PALM_TREE
-
CALQUAT_TREE
public static final FarmingAction CALQUAT_TREE
-
LANTADYME
public static final FarmingAction LANTADYME
-
CRYSTAL_TREE
public static final FarmingAction CRYSTAL_TREE
-
MAGIC_TREE
public static final FarmingAction MAGIC_TREE
-
DWARF_WEED
public static final FarmingAction DWARF_WEED
-
DRAGONFRUIT_TREE
public static final FarmingAction DRAGONFRUIT_TREE
-
SPIRIT_TREE
public static final FarmingAction SPIRIT_TREE
-
TORSTOL
public static final FarmingAction TORSTOL
-
CELASTRUS_TREE
public static final FarmingAction CELASTRUS_TREE
-
REDWOOD_TREE
public static final FarmingAction REDWOOD_TREE
-
-
Method Detail
-
values
public static FarmingAction[] 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 (FarmingAction c : FarmingAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FarmingAction 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
-
isMembers
public boolean isMembers(ItemManager itemManager)
- Specified by:
isMembers
in interfaceSkillAction
-
getName
public String getName()
Description copied from interface:NamedSkillAction
Gets the name of this skill action, usually the item or object created, or the spell cast.- Specified by:
getName
in interfaceNamedSkillAction
- Returns:
- The name of this skill action.
-
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.
-
getIcon
public int getIcon()
Description copied from interface:SkillAction
Gets the item icon ID for this skill action, if applicable.Note: Either this method or
SkillAction.getSprite()
will always return-1
, and the other will return some value0
or greater.- Specified by:
getIcon
in interfaceSkillAction
- Returns:
- The item icon ID of this skill action, or
-1
if its icon should be represented using a sprite. - See Also:
ItemID
,SkillAction.getSprite()
-
-