Class NPC.Events.Move

java.lang.Object
org.bukkit.event.Event
dev.sergiferry.playernpc.api.NPC.Events.Move
All Implemented Interfaces:
org.bukkit.event.Cancellable
Enclosing class:
NPC.Events

public static class NPC.Events.Move extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.Location
     
    org.bukkit.Location
     
    boolean
     
    void
    setCancelled​(boolean arg)
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getFrom

      public org.bukkit.Location getFrom()
    • getTo

      public org.bukkit.Location getTo()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean arg)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable