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 an Entity being potentially added to a World such that any relational recording or transacting/association of the spawn to another action, such as a block 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.