Package ac.errata.api.event
Class ReachEvent
java.lang.Object
org.bukkit.event.Event
ac.errata.api.event.DetectionEvent
ac.errata.api.event.ReachEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
Fields inherited from class ac.errata.api.event.DetectionEvent
addedViolations, cancelled, check, details, player
-
Constructor Summary
ConstructorDescriptionReachEvent
(ErrataUser player, ErrataCheck check, double addedViolations, String verbose, int entityId, double distance) -
Method Summary
Modifier and TypeMethodDescriptiondouble
int
static org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
Methods inherited from class ac.errata.api.event.DetectionEvent
getAddedViolations, getCheck, getDetails, getPlayer, getViolations, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
ReachEvent
public ReachEvent(ErrataUser player, ErrataCheck check, double addedViolations, String verbose, int entityId, double distance)
-
-
Method Details
-
getEntityId
public int getEntityId() -
getDistance
public double getDistance() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Overrides:
getHandlers
in classDetectionEvent
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-