Package org.spongepowered.api.event.entity
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event.entity
-
InterfacesClassDescriptionAn event that affects multiple
Entityinstances as a bulk action.Represents the base event for when anEntityis being "attacked".Fires after the damage steps and their side effects have been applied.Fires before the damage steps and their side effects are applied.Called when anAnimalhas 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.The base event for when some damage is calculated, whether it is the damage output of an attack, or the damage inflicted to an entity.Fires after the damage steps and their side effects have been applied.Fires before the damage steps and their side effects are applied.Represents the base event for when anEntityis being "damaged".Fires after the damage steps and their side effects have been applied.Fires before the damage steps and their side effects are applied.A derivative ofDestructEntityEventwhere the removal of theLiving, theDestructEntityEvent.entity(), is due to it losing its health.Called when anEntityis expiring from the world.Called when anEntityhas 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 aPortalLogiccalculated 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 anEntityperforms movement.An event that involves anEntityriding another.Raised when anEntityis being dismounted.Raised when anEntityis being mounted.Called when anEntityperforms rotation of their body or, if applicable, head without moving their position.Raised when anEntityis spawned.An event that is thrown prior to anEntitybeing potentially added to aWorldsuch that any relational recording or transacting/association of the spawn to another action, such as ablock changewill be omitted.Called when anEntityis tamed.An event that is called when an entity becomes unleashed.