Class Traversal


  • public final class Traversal
    extends java.lang.Object
    • Method Detail

      • 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.
      • isResting

        @RS3Only
        public static boolean isResting()