Package de.jeff_media.chestsort.api
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull ChestSortEvent
Returns theChestSortEvent
that was called prior to sorting the inventory.static @NotNull org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ChestSortPostSortEvent
-
-
Method Details
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList() -
getChestSortEvent
Returns theChestSortEvent
that was called prior to sorting the inventory. You can obtain the inventory usingChestSortEvent.getInventory()
- Returns:
- The initiating
ChestSortEvent
-