import Block from '../../../../org/bukkit/block/Block.js'; 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'; export default interface EntityInteractEvent extends EntityEvent, Cancellable { getBlock(): Block; getEntity(): Entity; getEntityType(): EntityType; getEventName(): string; getHandlers(): HandlerList; isAsynchronous(): boolean; isCancelled(): boolean; setCancelled(cancel: boolean): void; } export default class EntityInteractEvent { static get $javaClass(): any; constructor(entity: Entity, block: Block); static getHandlerList(): HandlerList; }