Package xyz.geik.farmer.api.handlers
Class FarmerRemoveEvent
java.lang.Object
org.bukkit.event.Event
xyz.geik.farmer.api.handlers.FarmerRemoveEvent
public class FarmerRemoveEvent
extends org.bukkit.event.Event
FarmerRemoveEvent is called when a farmer is removed
- Author:
- poyrazinan
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionFarmerRemoveEvent
(Farmer farmer) Constructor of FarmerRemoveEvent class with farmer object as parameter -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
Spigot handlers requirement * @return handler listorg.bukkit.event.HandlerList
Spigot handlers requirementvoid
setCancelled
(boolean status) Sets cancelled state of eventMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
FarmerRemoveEvent
Constructor of FarmerRemoveEvent class with farmer object as parameter- Parameters:
farmer
- Farmer object of event- See Also:
-
-
Method Details
-
setCancelled
public void setCancelled(boolean status) Sets cancelled state of event- Parameters:
status
- Cancelled state of event (true/false)
-
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
-