Class ShopOutEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.mclds.plugins.mcldscustomcontainer.events.CustomContainerEvent
com.mclds.plugins.mcldscustomcontainer.events.ShopOutEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class ShopOutEvent extends CustomContainerEvent
玩家购买事件,商店出售事件
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Field Summary

    Fields inherited from class org.bukkit.event.player.PlayerEvent

    player
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShopOutEvent(org.bukkit.entity.Player player, SellShop sellShop, CustomContainerData customContainerData, int number)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     

    Methods inherited from class com.mclds.plugins.mcldscustomcontainer.events.CustomContainerEvent

    isCancelled, notCancelled, setCancelled

    Methods inherited from class org.bukkit.event.player.PlayerEvent

    getPlayer

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShopOutEvent

      public ShopOutEvent(org.bukkit.entity.Player player, SellShop sellShop, CustomContainerData customContainerData, int number)
  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class CustomContainerEvent