Java Code Examples for net.runelite.api.NpcID#GOLEM_9051
The following examples show how to use
net.runelite.api.NpcID#GOLEM_9051 .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ZalcanoPlugin.java From plugins with GNU General Public License v3.0 | 5 votes |
@Subscribe private void onNpcSpawned(NpcSpawned npcSpawned) { switch (npcSpawned.getNpc().getId()) { case NpcID.ZALCANO: log.debug("zalcano spawned"); zalcano = npcSpawned.getNpc(); break; case NpcID.GOLEM_9051: log.debug("golem spawned"); golem = npcSpawned.getNpc(); break; } }
Example 2
Source File: ZalcanoPlugin.java From plugins with GNU General Public License v3.0 | 5 votes |
@Subscribe private void onNpcDespawned(NpcDespawned npcDespawned) { switch (npcDespawned.getNpc().getId()) { case NpcID.ZALCANO: zalcano = null; break; case NpcID.GOLEM_9051: golem = null; break; } }