Enum Class BankLocation
- All Implemented Interfaces:
Serializable,Comparable<BankLocation>,Constable
Enumeration of all bank locations throughout the game world.
BankLocation provides a comprehensive list of all accessible bank areas in Old School RuneScape, including their world area bounds and any requirements needed to access them.
Bank Categories
- Free-to-play Banks - Lumbridge, Varrock, Falador, etc.
- Member Banks - Catherby, Seers Village, Ardougne, etc.
- Quest-locked Banks - Burgh de Rott, Darkmeyer, Lletya, etc.
- Skill-locked Banks - Crafting Guild, Mining Guild, etc.
- Regional Banks - Kourend, Varlamore, Fossil Island, etc.
Requirements
Bank locations can have various requirements:
- Quest completion (e.g., Priest in Peril for Canifis)
- Skill levels (e.g., 60 Mining for Mining Guild)
- Region visitation (e.g., visiting Kourend/Varlamore)
- Diary completion (e.g., for certain teleport destinations)
Usage Example
// Find nearest bank
BankLocation nearest = BankLocation.getNearest();
// Find nearest bank considering path distance and teleports
BankLocation nearestPath = BankLocation.getNearestPath(true);
// Check if a specific bank is accessible
if (BankLocation.GRAND_EXCHANGE_BANK.canUse()) {
// Walk to GE bank
}
- 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 bank location can be used (all requirements met).static BankLocationFinds the nearest bank using multi-area pathfinding with default options.static BankLocationfindNearest(List<BankLocation> locations, WalkOptions options) Finds the nearest bank and returns both the bank location and path.static BankLocationFinds the nearest bank by straight-line distance.static BankLocationFinds the nearest bank by path distance without using teleports.static BankLocationgetNearestPath(boolean useTeleports) Finds the nearest bank by path distance, optionally using teleports.toString()Returns a formatted display name for this bank location.static BankLocationReturns the enum constant of this class with the specified name.static BankLocation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALCHEMICAL_SOCIETY
-
AL_KHARID_BANK
-
ALDARIN_BANK
-
ARCEUUS_BANK
-
ARDOUGNE_NORTH_BANK
-
ARDOUGNE_SOUTH_BANK
-
AUBURNVALE
-
BARBARIAN_OUTPOST_BANK
-
BLAST_FURNACE
-
BURGH_DE_ROTT_BANK
-
CAM_TORUM
-
CANIFIS_BANK
-
CASTLE_WARS_BANK
-
CATHERBY_BANK
-
CHAMBERS_OF_XERIC
-
CHARCOAL_BURNERS_BANK
-
CIVITAS_EAST
-
CIVITAS_WEST
-
COLOSSEUM
-
CORSAIR_COVE_BANK
-
CRAFTING_GUILD
-
DARKFROST
-
DARKMEYER_BANK
-
DEEPFIN_WEST
-
DEEPFIN_EAST
-
DRAYNOR_BANK
-
DUEL_ARENA_BANK
-
EDGEVILLE_BANK
-
ETCETERIA_BANK
-
FALADOR_EAST_BANK
-
FALADOR_WEST_BANK
-
FARMING_GUILD_NORTH
-
FARMING_GUILD_SOUTH
-
FEROX_ENCLAVE_BANK
-
FOSSIL_ISLAND
-
FOSSIL_ISLAND_TENT
-
GRAND_EXCHANGE_BANK
-
GRAND_TREE_SOUTH_BANK
-
GRAND_TREE_WEST_BANK
-
HALLOWED_SEPULCHRE
-
HOSIDIUS_BANK
-
HOSIDIUS_KITCHEN
-
HOSIDIUS_VINE_YARD
-
HUNTER_GUILD
-
JATIZSO_BANK
-
KOUREND_CASTLE_BANK
-
LLETYA_BANK
-
LUMB_CELLAR
-
LUMBRIDGE_BANK
-
MARIM
-
LUNAR_ISLE
-
MINING_GUILD
-
MISTROCK
-
MOR_UL_REK
-
MOS_LEHARMLESS_EAST
-
MOS_LEHARMLESS_WEST
-
MOUNT_KARUULM
-
MYTHS_GUILD
-
NARDAH
-
NEITIZNOT_BANK
-
NEMUS_RETREAT
-
NEX_BANK
-
PANDEMONIUM
-
PORT_KHAZARD_BANK
-
PORT_PHASMATYS_BANK
-
PORT_PISCARILIUS_BANK
-
PRIFDDINAS_NORTH
-
PRIFDDINAS_SOUTH
-
QUETZACALLI_GORGE
-
ROGUES_DEN
-
SEERS_VILLAGE_BANK
-
SHANTAY_PASS_BANK
-
SHAYZIEN_ENCAMPMENT
-
SHAYZIEN_NORTH
-
SHILO_VILLAGE_BANK
-
SOUL_WARS
-
TAL_TEKLAN
-
TEMPLE_OF_THE_EYE
-
TEMPOROSS
-
TOMBS_OF_AMASCUT
-
TREE_GNOME_STRONGHOLD_BANK
-
TZHAAR
-
VARROCK_EAST_BANK
-
VARROCK_WEST_BANK
-
VER_SINHAZA_BANK
-
WARRIORS_GUILD
-
WINTERTODT_BANK
-
WOODCUTTING_GUILD
-
YANILLE_BANK
-
FISHING_GUILD
-
LANDS_END
-
-
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
-
getNearest
Finds the nearest bank by straight-line distance.Only considers banks whose requirements are fulfilled.
- Returns:
- the nearest accessible bank, or null if none found
-
getNearestPath
Finds the nearest bank by path distance, optionally using teleports.Calculates actual walking paths to each bank and returns the one with the shortest path. Teleports can be included in pathfinding.
- Parameters:
useTeleports- whether to consider teleports in pathfinding- Returns:
- the nearest accessible bank by path, or null if none found
-
getNearestPath
Finds the nearest bank by path distance without using teleports.- Returns:
- the nearest accessible bank by walking path
-
findNearest
Finds the nearest bank using multi-area pathfinding with default options.Uses teleports, transports, home teleports, minigame teleports, and avoids wilderness.
- Returns:
- the nearest accessible bank, or null if no path found
-
findNearest
Finds the nearest bank and returns both the bank location and path.This method efficiently finds the nearest bank by pathfinding to all usable banks simultaneously using multi-area pathfinding.
- Parameters:
options- walk options for pathfinding- Returns:
- result containing bank, or null if not found
-
canUse
public boolean canUse()Checks if this bank location can be used (all requirements met).- Returns:
- true if the bank is accessible, false otherwise
-
toString
Returns a formatted display name for this bank location.- Overrides:
toStringin classEnum<BankLocation>- Returns:
- the formatted bank name
-