PlayerQuery |
PlayerQuery.alive() |
Filters players who are alive (not dead).
|
PlayerQuery |
PlayerQuery.hasOverheadPrayer() |
Filters players who have an overhead prayer active (e.g., Protect from
Melee).
|
PlayerQuery |
PlayerQuery.interactingWith(net.runelite.api.Actor actor) |
Filters players who are interacting with a specified actor.
|
PlayerQuery |
PlayerQuery.interactingWithLocal() |
Filters players who are interacting with the local player.
|
PlayerQuery |
PlayerQuery.isSkulled() |
Filters players that currently have a skull icon (indicating PvP
engagement).
|
PlayerQuery |
PlayerQuery.notLocalPlayer() |
Excludes the local player from the query results.
|
PlayerQuery |
PlayerQuery.onTeam(int teamId) |
Filters players based on team ID.
|
PlayerQuery |
PlayerQuery.sortByDistance(boolean closest) |
Sorts players by their distance from the local player.
|
PlayerQuery |
PlayerQuery.wearingAll(int... itemIds) |
Filters players wearing all the specified item IDs.
|
PlayerQuery |
PlayerQuery.wearingAll(java.lang.String... names) |
Filters players wearing all specified item names (case-insensitive, exact
match).
|
PlayerQuery |
PlayerQuery.wearingAny(int... itemIds) |
Filters players wearing at least one item from the specified IDs.
|
PlayerQuery |
PlayerQuery.wearingAny(java.lang.String... names) |
Filters players wearing at least one item from the given names
(case-insensitive, exact match).
|
PlayerQuery |
PlayerQuery.wearingItem(int itemId) |
Filters players wearing a specific item by its ID.
|
PlayerQuery |
PlayerQuery.wearingItem(java.lang.String partialName) |
Filters players wearing any item whose name contains the given text
(case-insensitive).
|
PlayerQuery |
PlayerQuery.withinDistance(int distance) |
Filters players within a specific distance from the local player.
|
PlayerQuery |
PlayerQuery.withinLevel(int low,
int high) |
Filters players whose combat level is within a specified range
(inclusive).
|