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
- 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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceAn 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. -
Method Summary
Methods inherited from interface AffectEntityEvent
entities, entitySnapshots, filterEntities, filterEntityLocationsMethods inherited from interface Cancellable
isCancelled, setCancelled