Class Traversal
- java.lang.Object
-
- com.runemate.game.api.hybrid.location.navigation.Traversal
-
public final class Traversal extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
drinkStaminaEnhancer()
Drinks any stamina potions or mixes in your inventory (OSRS only)static boolean
drinkStaminaEnhancer(boolean delayUntilStaminaIsEnhanced)
Drinks any stamina potions or mixes in your inventory (OSRS only)static @Nullable Web
getDefaultWeb()
Deprecated.static @Nullable Coordinate
getDestination()
Gets the local players walking destination (the minimap flags coordinate)static int
getRunEnergy()
static SpriteItemQueryResults
getStaminaEnhancers()
static boolean
isResting()
static boolean
isRunEnabled()
static boolean
isStaminaEnhanced()
Determines if your player's stamina is currently enhanced due to the usage of a stamina potion (OSRS only)boolean
rest()
static boolean
toggleRun()
-
-
-
Method Detail
-
getDefaultWeb
@Nullable @Deprecated public static @Nullable Web getDefaultWeb()
Deprecated.Gets the default web for the current game mode.
-
getDestination
@Nullable public static @Nullable Coordinate getDestination()
Gets the local players walking destination (the minimap flags coordinate)
-
isRunEnabled
public static boolean isRunEnabled()
-
getRunEnergy
public static int getRunEnergy()
- Returns:
- Run energy as a percentage
-
toggleRun
public static boolean toggleRun()
-
isStaminaEnhanced
@OSRSOnly public static boolean isStaminaEnhanced()
Determines if your player's stamina is currently enhanced due to the usage of a stamina potion (OSRS only)- Returns:
- true if your stamina (run regeneration rate) is currently boosted because of a stamina potion.
-
drinkStaminaEnhancer
@OSRSOnly public static boolean drinkStaminaEnhancer(boolean delayUntilStaminaIsEnhanced)
Drinks any stamina potions or mixes in your inventory (OSRS only)- Returns:
- true is a stamina enhancer became active.
-
drinkStaminaEnhancer
@OSRSOnly public static boolean drinkStaminaEnhancer()
Drinks any stamina potions or mixes in your inventory (OSRS only)- Returns:
- true is a stamina enhancer became active.
-
getStaminaEnhancers
@OSRSOnly public static SpriteItemQueryResults getStaminaEnhancers()
-
isResting
@RS3Only public static boolean isResting()
-
rest
@RS3Only public boolean rest()
-
-