Interface SpawnListener

  • All Superinterfaces:
    java.util.EventListener

    public interface SpawnListener
    extends java.util.EventListener
    This is a spawn listener used by scripts or other classes Events sent by an injected spawn listener, only dispatched while a script is running. Listener is stopped on script stop, and reset on new script start. New Injections required to use
    • Method Detail

      • onGameObject

        default void onGameObject​(GameObject object)
      • onGroundItemSpawn

        default void onGroundItemSpawn​(GroundItem object)
      • onGroundItemDespawn

        default void onGroundItemDespawn​(GroundItem object)
      • onGroundItemUpdate

        default void onGroundItemUpdate​(GroundItem object)
      • onNpcSpawn

        default void onNpcSpawn​(NPC npc)
      • onNpcDespawn

        default void onNpcDespawn​(NPC npc)