Package org.purpurmc.purpur.event.entity
Class BeeFoundFlowerEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.purpurmc.purpur.event.entity.BeeFoundFlowerEvent
Called when a bee targets a flower
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Entity involved in this eventstatic HandlerList
Returns the location of the flower that the bee targetsMethods inherited from class org.bukkit.event.entity.EntityEvent
getEntityType
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BeeFoundFlowerEvent
-
-
Method Details
-
getEntity
Description copied from class:EntityEvent
Returns the Entity involved in this event- Overrides:
getEntity
in classEntityEvent
- Returns:
- Entity who is involved in this event
-
getLocation
Returns the location of the flower that the bee targets- Returns:
- The location of the flower
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-