Interface SpawnEntityEvent.Pre
-
- All Superinterfaces:
AffectEntityEvent
,Cancellable
,Event
,SpawnEntityEvent
- Enclosing interface:
- SpawnEntityEvent
public static interface SpawnEntityEvent.Pre extends SpawnEntityEvent
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. This does have the advantage that the cancellation of this event will result in no awareness to the client that the entity was being spawned and later cancelled.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.entity.SpawnEntityEvent
SpawnEntityEvent.Custom, SpawnEntityEvent.Pre
-
-
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
-
-