Package org.rspeer.game
Enum Class ItemCategory
- All Implemented Interfaces:
Serializable
,Comparable<ItemCategory>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExcludes rune essence -
Method Summary
Modifier and TypeMethodDescriptionint[]
getIds()
static boolean
is
(int id, ItemCategory[] categories) static ItemCategory
Returns the enum constant of this class with the specified name.static ItemCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AXE
-
PICKAXE
-
HARPOON
-
MACHETE
-
HAMMER
-
SAW
-
NAILS
-
BOW
-
CROSSBOW
-
SWORD
-
METAL_ARROW
-
ARROW
-
BRUTAL_ARROW
-
FIRE_ARROW
-
SPECIAL_ARROW
-
ARROWTIPS
-
AIR_RUNE
-
AIR_STAFF
-
FIRE_RUNE
-
FIRE_STAFF
-
WATER_RUNE
-
WATER_STAFF
-
EARTH_RUNE
-
EARTH_STAFF
-
ANTIPOISON
-
ANTIVENOM
-
ANTIDISEASE
-
ANTIFIRE
-
PRAYER_POTION
-
RESTORE_POTION
-
SUPER_RESTORE_POTION
-
SARADOMIN_BREW
-
RUN_RESTORE_ITEM
-
STAMINA_POTION
-
AGILITY_POTION
-
ANTI_FIRE_POTION
-
EDIBLE_FOOD
-
COOKED_FISH
-
GNOME_FOOD
-
STEW
-
PIZZA
-
POTATO_FOOD
-
PIE
-
GAMES_NECKLACE
-
RING_OF_DUELING
-
BURNING_AMULET
-
NECKLACE_OF_PASSAGE
-
SKILLS_NECKLACE
-
RING_OF_WEALTH
-
COMBAT_BRACELET
-
AMULET_OF_GLORY
-
DIGSITE_PENDANT
-
SLAYER_RING
-
PHAROAH_SCEPTRE
-
BURNABLE_LOGS
-
BONES
-
GREEGREE
-
ANTIFIRE_SHIELD
-
ANTI_WYVERN_SHIELD
-
GHOSTSPEAK
-
LIGHT_SOURCE
-
CAT
-
HUNTING_CAT
-
FLOWERS
-
ROD_OF_IVANDIS
-
SALVE_AMULET
-
WATERING_CAN
-
ENCHANTED_LYRE
-
SKILL_CAPE
-
SLAYER_HELMET
-
RAW_FISH
-
COMPOST
-
FAIRY_STAFF
-
EARTH_ALTAR
-
ESSENCE
-
ESSENCE_HIGH
Excludes rune essence -
COINS
-
COOKING_GUILD_ENTRY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
is
-
getIds
public int[] getIds()
-