public interface SpawnEntityEvent extends AffectEntityEvent
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. ClientConnectionEvent is the
recommended event to interact with connecting players.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SpawnEntityEvent.ChunkLoad |
static interface |
SpawnEntityEvent.Custom |
static interface |
SpawnEntityEvent.Spawner
Deprecated.
Utilize
SpawnTypes.MOB_SPAWNER as context. |
filterEntities, filterEntityLocations, getEntities, getEntitySnapshotsgetCause, getContext, getSourceisCancelled, setCancelled