import Cancellable from '../../../../org/bukkit/event/Cancellable.js'; import Entity from '../../../../org/bukkit/entity/Entity.js'; import EntityEvent from './EntityEvent.js'; import EntityType from '../../../../org/bukkit/entity/EntityType.js'; import HandlerList from '../../../../org/bukkit/event/HandlerList.js'; import Location from '../../../../org/bukkit/Location.js'; export default interface EntitySpawnEvent extends EntityEvent, Cancellable { getEntity(): Entity; getEntityType(): EntityType; getEventName(): string; getHandlers(): HandlerList; getLocation(): Location; isAsynchronous(): boolean; isCancelled(): boolean; setCancelled(cancel: boolean): void; } export default class EntitySpawnEvent { static get $javaClass(): any; constructor(spawnee: Entity); static getHandlerList(): HandlerList; }