Enum Class JewelryBox
- All Implemented Interfaces:
Serializable,Comparable<JewelryBox>,Constable
Enumeration of Player-Owned House jewelry box tiers.
JewelryBox represents the different levels of jewelry storage that can be built in a POH. Each tier provides access to different sets of teleport jewelry without needing to carry the items.
Jewelry Box Tiers
- NONE - No jewelry box built
- BASIC - Ring of Dueling, Games Necklace
- FANCY - Basic + Combat Bracelet, Skills Necklace, Ring of Wealth
- ORNATE - Fancy + Amulet of Glory, additional teleports
Available Teleports (Ornate)
- Ring of Dueling - Duel Arena, Castle Wars, Ferox Enclave
- Games Necklace - Burthorpe, Barbarian Outpost, Corporeal Beast, etc.
- Combat Bracelet - Warriors' Guild, Champions' Guild, etc.
- Skills Necklace - Fishing/Mining/Crafting/Cooking/Woodcutting Guilds
- Ring of Wealth - Miscellania, Grand Exchange, Falador Park
- Amulet of Glory - Edgeville, Karamja, Draynor Village, Al Kharid
Usage Example
JewelryBox box = JewelryBox.ORNATE;
int objectId = box.getObjectId();
// Find the jewelry box object
ITileObject boxObject = Static.getTileObjects().getNearest(objectId);
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic JewelryBoxReturns the enum constant of this class with the specified name.static JewelryBox[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No jewelry box is built. -
BASIC
Basic jewelry box - Ring of Dueling, Games Necklace. -
FANCY
Fancy jewelry box - Basic + Combat Bracelet, Skills Necklace, Ring of Wealth. -
ORNATE
Ornate jewelry box - All jewelry teleports available.
-
-
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
-