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

public interface SpawnEntityEvent extends AffectEntityEvent
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.

For players, this event is fired before they have fully joined the world. ServerSideConnectionEvent is the recommended event to interact with connecting players.