Package net.ess3.api.events
Class UserRandomTeleportEvent
java.lang.Object
org.bukkit.event.Event
net.ess3.api.events.UserRandomTeleportEvent
- All Implemented Interfaces:
Cancellable
Called when the player uses the command /tpr
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionUserRandomTeleportEvent
(IUser user, Location center, double minRange, double maxRange) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
double
double
getUser()
boolean
void
setCancelled
(boolean b) void
void
setMaxRange
(double maxRange) void
setMinRange
(double minRange) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
UserRandomTeleportEvent
-
-
Method Details
-
getHandlerList
-
getUser
-
getCenter
-
setCenter
-
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 interfaceCancellable
-
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlers
- Specified by:
getHandlers
in classEvent
-