Class ItemExpirationEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemExpirationEvent(OfflinePlayer player, ItemStack itemStack, ItemInfo itemInfo)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HandlerList getHandlers()
      OfflinePlayer getPlayer() 获取持有物品的玩家
      ItemStack getItemStack() 获取到期的物品
      ItemInfo getItemInfo() 获取物品信息
      static HandlerList getHandlerList()
      • Methods inherited from class org.bukkit.event.Event

        getEventName, getHandlers, isAsynchronous
      • Methods inherited from class pers.neige.neigeitems.event.CancellableEvent

        call, isCancelled, setCancelled
      • Methods inherited from class org.bukkit.event.Cancellable

        isCancelled
      • Methods inherited from class java.lang.Object

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

      • ItemExpirationEvent

        ItemExpirationEvent(OfflinePlayer player, ItemStack itemStack, ItemInfo itemInfo)
        Parameters:
        player - 持有物品的玩家
        itemStack - 到期的物品
        itemInfo - 物品信息