Class 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 number
      static boolean hop​(int world)
      Attempts to hop to the specified world, will short circuit if there is any reason we cannot hop
      static boolean isInMembersWorld()
      Checks if we are currently in a members world
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorldHopper

        public WorldHopper()
    • 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