Interface IWorldAPI


public interface IWorldAPI
  • Method Details

    • getCurrent

      int getCurrent()
      Gets the current world.
      Returns:
      int, 300+
    • getCurrentWorld

      World getCurrentWorld()
    • getWorld

      World getWorld(int id)
    • isCurrentWorldMembers

      boolean isCurrentWorldMembers()
      Gets whether or not the current world is a members world.
      Returns:
      true if members, false otherwise
    • hop

      boolean hop(Predicate<World> filter)
    • hop

      boolean hop(int world)
    • hopToF2P

      boolean hopToF2P()
    • hopToP2P

      boolean hopToP2P()
    • openWorldMenu

      boolean openWorldMenu()
    • isWorldMenuOpen

      boolean isWorldMenuOpen()
    • getWorlds

      List<World> getWorlds()