Class BedwarsOpenShopEvent
java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsOpenShopEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class BedwarsOpenShopEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionBedwarsOpenShopEvent
(Game game, org.bukkit.entity.Player player, GameStore store, org.bukkit.entity.Entity clickedEntity) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Entity
getGame()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
getStore()
boolean
Deprecated.void
setCancelled
(boolean cancel) Deprecated.void
setResult
(BedwarsOpenShopEvent.Result result) Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()- Returns:
-
getEntity
public org.bukkit.entity.Entity getEntity()- Returns:
-
getGame
- Returns:
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getPlayer
public org.bukkit.entity.Player getPlayer()- Returns:
-
getStore
- Returns:
-
isCancelled
Deprecated.- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
Deprecated.- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getResult
- Returns:
-
setResult
- Parameters:
result
-
-