java.lang.Object
org.highlife.api.methods.interactive.Interactables<NPC>
org.highlife.api.methods.interactive.NPCs

public class NPCs extends Interactables<NPC>
  • Constructor Details

    • NPCs

      public NPCs()
  • Method Details

    • setIgnoreHealth

      public static void setIgnoreHealth(boolean ignoreHealth)
    • getReferenceAtIndex

      public static net.runelite.api.NPC getReferenceAtIndex(int index)
    • all

      public static List<NPC> all()
    • all

      public static List<NPC> all(Integer... ids)
    • all

      public static List<NPC> all(String... names)
    • all

      public static List<NPC> all(Filter<NPC> filter)
    • closest

      public static NPC closest(String... names)
    • closest

      public static NPC closest(Integer... ids)
    • closest

      public static NPC closest(Filter<NPC> filter)
    • closest

      public static NPC closest(Filter<NPC> filter, Tile toTile)
    • closest

      public static NPC closest(Filter<NPC> filter, Tile toTile, boolean walkingDistance)
    • getAtIndex

      public static NPC getAtIndex(int index)
    • getArray

      @Deprecated public static NPC[] getArray()
      Deprecated.
    • getInteractingWith

      public static List<NPC> getInteractingWith(int playerIndex)
    • isIgnoreHealth

      public static boolean isIgnoreHealth()
    • isIncludeNullNames

      public static boolean isIncludeNullNames()
    • setIncludeNullNames

      public static void setIncludeNullNames(boolean includeNullNames)