Class Players

java.lang.Object
com.valhalla.sdk.api.methods.Players

public final class Players extends Object
Local-player access backed by the current native version adapter.
  • Method Details

    • getLocal

      public static LocalPlayer getLocal()
    • all

      public static List<Player> all()
    • getLocalEntity

      public static Optional<Player> getLocalEntity()
    • getByIndex

      public static Optional<Player> getByIndex(int index)
    • getByName

      public static Optional<Player> getByName(String name)
    • nearest

      public static Optional<Player> nearest()
    • nearest

      public static Optional<Player> nearest(Filter<Player> filter)
    • getTile

      public static Tile getTile()
    • isMoving

      public static boolean isMoving()
    • getWalkingQueue

      public static List<Tile> getWalkingQueue()
    • getWalkingDestination

      public static Optional<Tile> getWalkingDestination()
    • getNextStep

      public static Optional<Tile> getNextStep()
    • distanceTo

      public static int distanceTo(Tile tile)
    • isInArea

      public static boolean isInArea(Area area)