Class BedwarsItemBoughtEvent
java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsItemBoughtEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class BedwarsItemBoughtEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionBedwarsItemBoughtEvent
(Game game, org.bukkit.entity.Player customer, org.bukkit.inventory.ItemStack item, int price) -
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BedwarsItemBoughtEvent
public BedwarsItemBoughtEvent(Game game, org.bukkit.entity.Player customer, org.bukkit.inventory.ItemStack item, int price)
-
-
Method Details
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
equals
-
canEqual
-
hashCode
public int hashCode() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
getGame
-
getCustomer
public org.bukkit.entity.Player getCustomer() -
getItem
public org.bukkit.inventory.ItemStack getItem() -
getPrice
public int getPrice() -
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
toString
-