Enum Class TeleportItem
- All Implemented Interfaces:
Serializable,Comparable<TeleportItem>,Constable
Enumeration of all teleport items including tablets and reusable teleport items.
TeleportItem defines item-based teleport methods categorized into:
- Teleport Tablets - Single-use tablets (Varrock, Lumbridge, Ancient tablets, etc.)
- Consumable Items - Items destroyed on use (Icy Basalt, Hallowed Crystal Shard)
- Reusable Items - Items with charges or unlimited uses (Royal Seed Pod, Ectophial)
- Achievement Diary Items - Cloaks, rings, and capes with teleport abilities
Item Categories
- Standard Tablets - Varrock, Lumbridge, Falador, Camelot, Ardougne
- POH Tablets - Rimmington, Taverley, Rellekka, etc.
- Ancient Tablets - Paddewwa, Senntisten, Kharyrll, etc.
- Lunar Tablets - Moonclan, Waterbirth, Barbarian, etc.
- Necromancy Tablets - Arceuus Library, Battlefront, Barrows, etc.
- Achievement Items - Ardougne Cloak, Explorer's Ring, Quest Cape
Usage Example
TeleportItem item = TeleportItem.VARROCK_TELEPORT_TAB;
if (item.canUse()) {
WorldPoint dest = item.getDestination();
// Use the teleport item
}
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse()Checks if this teleport item can be used with current inventory/equipment.booleanChecks if this teleport item can be used, considering additional items.net.runelite.api.coords.WorldPointGets the destination world point for this teleport item.booleanChecks if all requirements for this teleport item are met.static TeleportItemReturns the enum constant of this class with the specified name.static TeleportItem[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WATERBIRTH_TELEPORT_TAB
-
KHAZARD_TELEPORT_TAB
-
VARROCK_TELEPORT_TAB
-
LUMBRIDGE_TELEPORT_TAB
-
FALADOR_TELEPORT_TAB
-
CAMELOT_TELEPORT_TAB
-
SEERS_TELEPORT_TAB
-
ARDOUGNE_TELEPORT_TAB
-
WEST_ARDOUGNE_TELEPORT_TAB
-
RIMMINGTON_TELEPORT_TAB
-
TAVERLEY_TELEPORT_TAB
-
RELLEKKA_TELEPORT_TAB
-
BRIMHAVEN_TELEPORT_TAB
-
POLLNIVNEACH_TELEPORT_TAB
-
YANILLE_TELEPORT_TAB
-
HOSIDIUS_TELEPORT_TAB
-
SALVE_GRAVEYARD_TELEPORT_TAB
-
DRAYNOR_MANOR_TELEPORT_TAB
-
FENKENSTRAINS_CASTLE_TELEPORT_TAB
-
TROLLHEIM_TELEPORT_TAB
-
PRIFDDINAS_TELEPORT_TAB
-
MOONCLAN_TELEPORT_TAB
-
OURANIA_TELEPORT_TAB
-
BARBARIAN_TELEPORT_TAB
-
FISHING_GUILD_TELEPORT_TAB
-
CATHERBY_TELEPORT_TAB
-
HOUSE_OUTSIDE_TELEPORT_TAB
-
CIVITAS_TELEPORT_TAB
-
KOUREND_CASTLE_TELEPORT_TAB
-
ICE_PLATEAU_TELEPORT_TAB
-
PADDEWWA_TELEPORT_TAB
-
SENNTISTEN_TELEPORT_TAB
-
KHARYRLL_TELEPORT_TAB
-
LASSAR_TELEPORT_TAB
-
DAREEYAK_TELEPORT_TAB
-
CRAB_TELEPORT_TAB
-
CARRALLANGAR_TELEPORT_TAB
-
ANNAKARL_TELEPORT_TAB
-
GHORROCK_TELEPORT_TAB
-
ARCEUUS_LIBRARY_TELEPORT_TAB
-
BATTLEFRONT_TELEPORT_TAB
-
MIND_ALTAR_TELEPORT_TAB
-
HARMONY_ISLAND_TELEPORT_TAB
-
CEMETERY_TELEPORT_TAB
-
BARROWS_TELEPORT_TAB
-
APE_ATOLL_TELEPORT_TAB
-
WEISS_ICY_BASALT
-
TROLL_STRONGHOLD
-
TROLL_STRONGHOLD_OUTSIDE
-
BLUE_RUM
-
RED_RUM
-
HALLOWED_CRYSTAL_SHARD
-
MOKHAIOTL_WAYSTONE
-
ROYAL_SEED_POD
-
ECTOPHIAL
-
TELEPORT_CRYSTAL_LLETYA
-
TELEPORT_CRYSTAL_PRIFDDINAS
-
CHAMPIONS_GUILD_CHRONICLE
-
RELLEKKKA_LYRE
-
WATERBIRTH_ISLAND_LYRE
-
NEITIZNOT_LYRE
-
JATIZSO_LYRE
-
MYTHICAL_CAPE
-
ARDOUGNE_CLOAK
-
QUEST_POINT_CAPE
-
EXPLORERS_RING
-
DESERT_AMULET_KALPHITE
-
DESERT_AMULET_NARDAH
-
KANDARIN_HEADGEAR
-
MORYTANIA_LEGS_BURGH
-
MORYTANIA_LEGS_ECTO
-
WESTERN_BANNER
-
-
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
-
getDestination
public net.runelite.api.coords.WorldPoint getDestination()Gets the destination world point for this teleport item.For house outside teleport tablet, dynamically calculates the nearest walkable tile to the house location.
- Returns:
- the destination world point
-
canUse
Checks if this teleport item can be used, considering additional items.- Parameters:
items- additional item IDs to check against (e.g., bank items)- Returns:
- true if the item can be used, false otherwise
-
canUse
public boolean canUse()Checks if this teleport item can be used with current inventory/equipment.- Returns:
- true if the item can be used, false otherwise
-
hasRequirements
public boolean hasRequirements()Checks if all requirements for this teleport item are met.Handles special cases for items with additional requirements beyond the base requirement, such as diary completion or skill levels.
- Returns:
- true if all requirements are satisfied, false otherwise
-