///
///
///
import {EventEmitter} from 'events';
import { Vec3 } from 'vec3';
import { Item } from 'prismarine-item';
import { ChatMessage } from 'prismarine-chat';
declare module 'prismarine-entity' {
export interface Effect {
id: number;
amplifier: number;
duration: number;
}
export class Entity extends EventEmitter {
constructor(id: number);
id: number;
type: EntityType;
uuid?: string;
username?: string;
mobType?: string;
displayName?: string;
entityType?: number;
kind?: string;
name?: string;
objectType?: string;
count?: number;
position: Vec3;
velocity: Vec3;
yaw: number;
pitch: number;
height: number;
width: number;
onGround: boolean;
equipment: Array- ;
heldItem: Item;
metadata: Array