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
ConstructorsConstructorDescriptionReachEvent(ErrataUser player, ErrataCheck check, double addedViolations, String verbose, int entityId, double distance) -
Method Summary
Modifier and TypeMethodDescriptiondoubleintstatic org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListMethods inherited from class ac.errata.api.event.DetectionEvent
getAddedViolations, getCheck, getDetails, getPlayer, getViolations, isCancelled, setCancelledMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getHandlersin classDetectionEvent
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-