Class PlayerScrollEvent

java.lang.Object
org.bukkit.event.Event
de.jeff_media.jefflib.events.PlayerScrollEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlayerScrollEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
Gets called when a player scrolls through their hotbar. When cancelled, the main hand slot will not be changed.
  • Constructor Details

  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable