Class NavigationEvent

java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.ai.event.NavigationEvent
Direct Known Subclasses:
NavigationBeginEvent, NavigationCompleteEvent, NavigationStuckEvent

public abstract class NavigationEvent extends Event
  • Constructor Details

    • NavigationEvent

      protected NavigationEvent(Navigator navigator)
  • Method Details

    • getNavigator

      public Navigator getNavigator()
      Returns:
      The Navigator involved in this event
    • getNPC

      public NPC getNPC()
      Returns:
      The NPC involved in this event