Package org.spongepowered.api.event.entity
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event.entity
-
ClassDescriptionAn event that affects multiple
Entity
instances as a bulk action.Represents the base event for when anEntity
is being "attacked".Called when anAnimal
has made it known it is ready to breed.Called when an entity changes an equipped item.Called when the players equipment is broken or otherwise replaced by an empty item-stack.Base event during the construction of anEntity
.Called after the construction of anEntity
.Called before the construction of anEntity
.Represents the base event for when anEntity
is being "attacked".A derivative ofDestructEntityEvent
where the removal of theLiving
, theDestructEntityEvent.entity()
, is due to it losing its health.Called when anEntity
is expiring from the world.Called when anEntity
has been killed and is being "harvested" (drops/etc).An event that occurs when an entity becomes ignited.Base event for all interactions targeting anEntity
.An event where the targeted entity is being interacted with the client's "primary" button.An event where the targeted entity is being interacted with the client's "secondary" button.An entity is interacted with at aninteractionpoint
.An entity is interacted on.Called when entering a portal.Called after aPortalLogic
calculated and found or generated the portal exit.Called before calculating and finding or generating the portal exit.An event that is called when an entity becomes leashed.Called when anEntity
performs movement.An event that involves anEntity
riding another.Raised when anEntity
is being dismounted.Raised when anEntity
is being mounted.Called when anEntity
performs rotation of their body or, if applicable, head without moving their position.Raised when anEntity
is spawned.An event that is thrown prior to anEntity
being potentially added to aWorld
such that any relational recording or transacting/association of the spawn to another action, such as ablock change
will be omitted.Called when anEntity
is tamed.An event that is called when an entity becomes unleashed.