Package xyz.geik.farmer.api.handlers
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
ConstructorDescriptionFarmerItemSellEvent
(Farmer farmer, FarmerItem farmerItem, org.bukkit.OfflinePlayer offlinePlayer) FarmerItemSellEvent constructor with Farmer, FarmerItem and OfflinePlayer -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
Spigot handlers requirement * @return handler listorg.bukkit.event.HandlerList
Spigot handlers requirementMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
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 FarmerItemfarmerItem
- FarmerItem object which is soldofflinePlayer
- OfflinePlayer object which is the seller
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()Spigot handlers requirement- Specified by:
getHandlers
in classorg.bukkit.event.Event
- Returns:
- handler list
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Spigot handlers requirement * @return handler list- Returns:
- HandlerList list
-