Class BeeStartedPollinatingEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.purpurmc.purpur.event.entity.BeeStartedPollinatingEvent

@NullMarked public class BeeStartedPollinatingEvent extends EntityEvent
Called when a bee starts pollinating
  • Constructor Details

    • BeeStartedPollinatingEvent

      @Internal public BeeStartedPollinatingEvent(Bee bee, Location location)
  • Method Details

    • getEntity

      public Bee getEntity()
      Description copied from class: EntityEvent
      Returns the Entity involved in this event
      Overrides:
      getEntity in class EntityEvent
      Returns:
      Entity who is involved in this event
    • getLocation

      public Location getLocation()
      Returns the location of the flower that the bee pollinates
      Returns:
      The location of the flower
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()