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 anEntityis spawned. This usually follows the chain of the various entity creation events:ConstructEntityEvent.Pre,ConstructEntityEvent.Post, and finallySpawnEntityEvent.Note: To determine the
Cause, refer to package org.spongepowered.api.event.cause.entity.spawn.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSpawnEntityEvent.Customstatic interfaceSpawnEntityEvent.PreAn 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 org.spongepowered.api.event.entity.AffectEntityEvent
entities, entitySnapshots, filterEntities, filterEntityLocations
-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-