Package com.jeff_media.jefflib.events
Class PlayerScrollEvent
java.lang.Object
org.bukkit.event.Event
com.jeff_media.jefflib.events.PlayerScrollEvent
- All Implemented Interfaces:
Cancellable
Gets called when a player scrolls through their hotbar. When cancelled, the main hand slot will not be changed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Represents the direction in which the player scrolledNested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
void
setCancelled
(boolean cancelled) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerScrollEvent
-
-
Method Details
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
isCancelled
- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
- Specified by:
setCancelled
in interfaceCancellable
-