bank, bot, camera, chatbox, client, colorPicker, combat, configs, depositBox, dialogues, diaries, display, doorHandler, equipment, experienceTracker, favour, grandExchange, graphicObjects, groundItems, hintArrow, inventory, keyboard, logger, logoutTab, magic, map, menu, mouse, npcs, objects, players, prayer, projectiles, quests, settings, skills, store, tabs, trade, walking, widgets, worlds
Constructor and Description |
---|
NPCS() |
Modifier and Type | Method and Description |
---|---|
java.util.List<NPC> |
get(int x,
int y)
Gets a list of entities on the specified x and y coordinates on the plane of your current player.
|
java.util.List<NPC> |
getAll()
Returns the local collection of entities.
|
NPC |
getLocalNPC(int index)
Gets an NPC based on it's index.
|
void |
initializeModule() |
closest, closest, closest, closest, closest, closest, closest, closest, closest, closest, closest, closestThatContains, closestThatContains, iterator
filter, filter, singleFilter
exchangeContext, execute, getBank, getBot, getCamera, getChatbox, getClient, getColorPicker, getCombat, getConfigs, getDepositBox, getDialogues, getDiaries, getDisplay, getDoorHandler, getEquipment, getExperienceTracker, getFavour, getGrandExchange, getGraphicObjects, getGroundItems, getHintArrow, getInventory, getKeyboard, getLogoutTab, getMagic, getMap, getMenuAPI, getMouse, getNpcs, getObjects, getPlayers, getPrayer, getProjectiles, getQuests, getSettings, getSkills, getStore, getTabs, getTrade, getWalking, getWidgets, getWorlds, gRandom, gRandom, gRandom, initializeContext, log, log, myPlayer, myPosition, random, random, sleep, stripFormatting, warn
public java.util.List<NPC> getAll()
getAll
in class CollectionAPI<NPC>
public java.util.List<NPC> get(int x, int y)
public NPC getLocalNPC(int index)
index
- The NPC's index.public void initializeModule()
initializeModule
in class API