Class FarmerItemSellEvent

java.lang.Object
org.bukkit.event.Event
xyz.geik.farmer.api.handlers.FarmerItemSellEvent

public class FarmerItemSellEvent extends org.bukkit.event.Event
FarmerItemSellEvent event fires when a player sells a FarmerItem
Author:
poyrazinan
See Also:
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    FarmerItemSellEvent(Farmer farmer, FarmerItem farmerItem, org.bukkit.OfflinePlayer offlinePlayer)
    FarmerItemSellEvent constructor with Farmer, FarmerItem and OfflinePlayer
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Spigot handlers requirement * @return handler list
    org.bukkit.event.HandlerList
    Spigot handlers requirement

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • FarmerItemSellEvent

      public FarmerItemSellEvent(Farmer farmer, FarmerItem farmerItem, org.bukkit.OfflinePlayer offlinePlayer)
      FarmerItemSellEvent constructor with Farmer, FarmerItem and OfflinePlayer
      Parameters:
      farmer - Farmer object which contains the FarmerItem
      farmerItem - FarmerItem object which is sold
      offlinePlayer - OfflinePlayer object which is the seller
  • Method Details

    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Spigot handlers requirement
      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      handler list
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Spigot handlers requirement * @return handler list
      Returns:
      HandlerList list