Class ChestSortPostSortEvent

java.lang.Object
org.bukkit.event.Event
de.jeff_media.chestsort.api.ChestSortPostSortEvent

public class ChestSortPostSortEvent extends org.bukkit.event.Event
Gets called after an inventory has been sorted.
  • Constructor Details

    • ChestSortPostSortEvent

      public ChestSortPostSortEvent(@NotNull @NotNull ChestSortEvent event)
  • Method Details

    • getHandlers

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

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
    • getChestSortEvent

      @NotNull public @NotNull ChestSortEvent getChestSortEvent()
      Returns the ChestSortEvent that was called prior to sorting the inventory. You can obtain the inventory using ChestSortEvent.getInventory()
      Returns:
      The initiating ChestSortEvent