Package org.rspeer.game
Enum ItemCategory
- java.lang.Object
-
- java.lang.Enum<ItemCategory>
-
- org.rspeer.game.ItemCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<ItemCategory>
public enum ItemCategory extends Enum<ItemCategory>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getIds()
static boolean
is(int id, ItemCategory[] categories)
static ItemCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static ItemCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AXE
public static final ItemCategory AXE
-
PICKAXE
public static final ItemCategory PICKAXE
-
HARPOON
public static final ItemCategory HARPOON
-
MACHETE
public static final ItemCategory MACHETE
-
HAMMER
public static final ItemCategory HAMMER
-
SAW
public static final ItemCategory SAW
-
NAILS
public static final ItemCategory NAILS
-
BOW
public static final ItemCategory BOW
-
CROSSBOW
public static final ItemCategory CROSSBOW
-
SWORD
public static final ItemCategory SWORD
-
METAL_ARROW
public static final ItemCategory METAL_ARROW
-
ARROW
public static final ItemCategory ARROW
-
BRUTAL_ARROW
public static final ItemCategory BRUTAL_ARROW
-
FIRE_ARROW
public static final ItemCategory FIRE_ARROW
-
SPECIAL_ARROW
public static final ItemCategory SPECIAL_ARROW
-
ARROWTIPS
public static final ItemCategory ARROWTIPS
-
AIR_RUNE
public static final ItemCategory AIR_RUNE
-
AIR_STAFF
public static final ItemCategory AIR_STAFF
-
FIRE_RUNE
public static final ItemCategory FIRE_RUNE
-
FIRE_STAFF
public static final ItemCategory FIRE_STAFF
-
WATER_RUNE
public static final ItemCategory WATER_RUNE
-
WATER_STAFF
public static final ItemCategory WATER_STAFF
-
EARTH_RUNE
public static final ItemCategory EARTH_RUNE
-
EARTH_STAFF
public static final ItemCategory EARTH_STAFF
-
ANTIPOISON
public static final ItemCategory ANTIPOISON
-
ANTIVENOM
public static final ItemCategory ANTIVENOM
-
ANTIDISEASE
public static final ItemCategory ANTIDISEASE
-
ANTIFIRE
public static final ItemCategory ANTIFIRE
-
PRAYER_POTION
public static final ItemCategory PRAYER_POTION
-
RESTORE_POTION
public static final ItemCategory RESTORE_POTION
-
SUPER_RESTORE_POTION
public static final ItemCategory SUPER_RESTORE_POTION
-
SARADOMIN_BREW
public static final ItemCategory SARADOMIN_BREW
-
RUN_RESTORE_ITEM
public static final ItemCategory RUN_RESTORE_ITEM
-
STAMINA_POTION
public static final ItemCategory STAMINA_POTION
-
AGILITY_POTION
public static final ItemCategory AGILITY_POTION
-
ANTI_FIRE_POTION
public static final ItemCategory ANTI_FIRE_POTION
-
EDIBLE_FOOD
public static final ItemCategory EDIBLE_FOOD
-
COOKED_FISH
public static final ItemCategory COOKED_FISH
-
GNOME_FOOD
public static final ItemCategory GNOME_FOOD
-
STEW
public static final ItemCategory STEW
-
PIZZA
public static final ItemCategory PIZZA
-
POTATO_FOOD
public static final ItemCategory POTATO_FOOD
-
PIE
public static final ItemCategory PIE
-
GAMES_NECKLACE
public static final ItemCategory GAMES_NECKLACE
-
RING_OF_DUELING
public static final ItemCategory RING_OF_DUELING
-
BURNING_AMULET
public static final ItemCategory BURNING_AMULET
-
NECKLACE_OF_PASSAGE
public static final ItemCategory NECKLACE_OF_PASSAGE
-
SKILLS_NECKLACE
public static final ItemCategory SKILLS_NECKLACE
-
RING_OF_WEALTH
public static final ItemCategory RING_OF_WEALTH
-
COMBAT_BRACELET
public static final ItemCategory COMBAT_BRACELET
-
AMULET_OF_GLORY
public static final ItemCategory AMULET_OF_GLORY
-
DIGSITE_PENDANT
public static final ItemCategory DIGSITE_PENDANT
-
SLAYER_RING
public static final ItemCategory SLAYER_RING
-
PHAROAH_SCEPTRE
public static final ItemCategory PHAROAH_SCEPTRE
-
BURNABLE_LOGS
public static final ItemCategory BURNABLE_LOGS
-
BONES
public static final ItemCategory BONES
-
GREEGREE
public static final ItemCategory GREEGREE
-
ANTIFIRE_SHIELD
public static final ItemCategory ANTIFIRE_SHIELD
-
ANTI_WYVERN_SHIELD
public static final ItemCategory ANTI_WYVERN_SHIELD
-
GHOSTSPEAK
public static final ItemCategory GHOSTSPEAK
-
LIGHT_SOURCE
public static final ItemCategory LIGHT_SOURCE
-
CAT
public static final ItemCategory CAT
-
HUNTING_CAT
public static final ItemCategory HUNTING_CAT
-
FLOWERS
public static final ItemCategory FLOWERS
-
ROD_OF_IVANDIS
public static final ItemCategory ROD_OF_IVANDIS
-
SALVE_AMULET
public static final ItemCategory SALVE_AMULET
-
WATERING_CAN
public static final ItemCategory WATERING_CAN
-
ENCHANTED_LYRE
public static final ItemCategory ENCHANTED_LYRE
-
SKILL_CAPE
public static final ItemCategory SKILL_CAPE
-
SLAYER_HELMET
public static final ItemCategory SLAYER_HELMET
-
RAW_FISH
public static final ItemCategory RAW_FISH
-
COMPOST
public static final ItemCategory COMPOST
-
FAIRY_STAFF
public static final ItemCategory FAIRY_STAFF
-
EARTH_ALTAR
public static final ItemCategory EARTH_ALTAR
-
ESSENCE
public static final ItemCategory ESSENCE
-
ESSENCE_HIGH
public static final ItemCategory ESSENCE_HIGH
Excludes rune essence
-
COINS
public static final ItemCategory COINS
-
COOKING_GUILD_ENTRY
public static final ItemCategory COOKING_GUILD_ENTRY
-
-
Method Detail
-
values
public static ItemCategory[] 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 (ItemCategory c : ItemCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ItemCategory 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
-
is
public static boolean is(int id, ItemCategory[] categories)
-
getIds
public int[] getIds()
-
-