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
  • Constructor Details

    • BedwarsOpenShopEvent

      public BedwarsOpenShopEvent(Game game, org.bukkit.entity.Player player, GameStore store, org.bukkit.entity.Entity clickedEntity)
      Parameters:
      game -
      player -
      store -
      clickedEntity -
  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Returns:
    • getEntity

      public org.bukkit.entity.Entity getEntity()
      Returns:
    • getGame

      public Game getGame()
      Returns:
    • getHandlers

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

      public org.bukkit.entity.Player getPlayer()
      Returns:
    • getStore

      public GameStore getStore()
      Returns:
    • isCancelled

      @Deprecated public boolean isCancelled()
      Deprecated.
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      @Deprecated public void setCancelled(boolean cancel)
      Deprecated.
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getResult

      public BedwarsOpenShopEvent.Result getResult()
      Returns:
    • setResult

      public void setResult(BedwarsOpenShopEvent.Result result)
      Parameters:
      result -