Class UserRandomTeleportEvent

java.lang.Object
org.bukkit.event.Event
net.ess3.api.events.UserRandomTeleportEvent
All Implemented Interfaces:
Cancellable

public class UserRandomTeleportEvent extends Event implements Cancellable
Called when the player uses the command /tpr
  • Constructor Details

    • UserRandomTeleportEvent

      public UserRandomTeleportEvent(IUser user, Location center, double minRange, double maxRange)
  • Method Details

    • getHandlerList

      public static HandlerList getHandlerList()
    • getUser

      public IUser getUser()
    • getCenter

      public Location getCenter()
    • setCenter

      public void setCenter(Location center)
    • getMinRange

      public double getMinRange()
    • setMinRange

      public void setMinRange(double minRange)
    • getMaxRange

      public double getMaxRange()
    • setMaxRange

      public void setMaxRange(double maxRange)
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Cancellable
    • setCancelled

      public void setCancelled(boolean b)
      Specified by:
      setCancelled in interface Cancellable
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event