Class PlayerOpenCosmeticShopEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.cosmetics.event.PlayerOpenCosmeticShopEvent
- All Implemented Interfaces:
Cancellable
Gets called when a player attempts to open a cosmetic shop.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListgetShop()Gets the shop the player is trying to open.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayerMethods 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
-
PlayerOpenCosmeticShopEvent
-
-
Method Details
-
getShop
Gets the shop the player is trying to open.- Returns:
- The shop the player is trying to open.
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-