Package org.tribot.script.sdk
Class WorldHopper
- java.lang.Object
-
- org.tribot.script.sdk.WorldHopper
-
public class WorldHopper extends java.lang.Object
Contains methods for using the world hopper
-
-
Constructor Summary
Constructors Constructor Description WorldHopper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCurrentWorld()
Gets the current world numberstatic boolean
hop(int world)
Attempts to hop to the specified world, will short circuit if there is any reason we cannot hopstatic boolean
isInMembersWorld()
Checks if we are currently in a members world
-
-
-
Method Detail
-
getCurrentWorld
public static int getCurrentWorld()
Gets the current world number- Returns:
- the current world number
-
isInMembersWorld
public static boolean isInMembersWorld()
Checks if we are currently in a members world- Returns:
- true if we are in a members world, false otherwise
-
hop
public static boolean hop(int world)
Attempts to hop to the specified world, will short circuit if there is any reason we cannot hop- Parameters:
world
- the world to hop to- Returns:
- true if hopped to the specified world, false otherwise
-
-