Enum TitheFarmPlantType
- java.lang.Object
-
- java.lang.Enum<TitheFarmPlantType>
-
- net.runelite.client.plugins.tithefarm.TitheFarmPlantType
-
- All Implemented Interfaces:
Serializable
,Comparable<TitheFarmPlantType>
public enum TitheFarmPlantType extends Enum<TitheFarmPlantType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOLOGANO
EMPTY
GOLOVANOVA
LOGAVANO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBaseId()
String
getName()
int[]
getObjectIds()
static TitheFarmPlantType
getPlantType(int objectId)
static TitheFarmPlantType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TitheFarmPlantType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final TitheFarmPlantType EMPTY
-
GOLOVANOVA
public static final TitheFarmPlantType GOLOVANOVA
-
BOLOGANO
public static final TitheFarmPlantType BOLOGANO
-
LOGAVANO
public static final TitheFarmPlantType LOGAVANO
-
-
Method Detail
-
values
public static TitheFarmPlantType[] 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 (TitheFarmPlantType c : TitheFarmPlantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TitheFarmPlantType 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
-
getPlantType
public static TitheFarmPlantType getPlantType(int objectId)
-
getName
public String getName()
-
getBaseId
public int getBaseId()
-
getObjectIds
public int[] getObjectIds()
-
-