Interface SpawnEntityEvent
- All Superinterfaces:
AffectEntityEvent
,Cancellable
,Event
- All Known Subinterfaces:
ChangeInventoryEvent.Drop
,ChangeInventoryEvent.Drop.Full
,ChangeInventoryEvent.Drop.Single
,ClickContainerEvent.Creative.Drop
,ClickContainerEvent.Drop
,ClickContainerEvent.Drop.Full
,ClickContainerEvent.Drop.Outside
,ClickContainerEvent.Drop.Outside.Primary
,ClickContainerEvent.Drop.Outside.Secondary
,ClickContainerEvent.Drop.Single
,DropItemEvent.Close
,DropItemEvent.Custom
,DropItemEvent.Destruct
,DropItemEvent.Dispense
,SpawnEntityEvent.Custom
,SpawnEntityEvent.Pre
- All Known Implementing Classes:
AbstractSpawnEntityEvent
Raised when an
Entity
is spawned. This usually follows the chain of
the various entity creation events: ConstructEntityEvent.Pre
,
ConstructEntityEvent.Post
, and finally SpawnEntityEvent
.
Note: To determine the Cause
, refer to package
org.spongepowered.api.event.cause.entity.spawn.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
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. -
Method Summary
Methods inherited from interface org.spongepowered.api.event.entity.AffectEntityEvent
entities, entitySnapshots, filterEntities, filterEntityLocations
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled