mc-beta-server/server/entities/IEntity.ts
2023-04-10 21:52:30 +01:00

13 lines
No EOL
231 B
TypeScript

export interface IEntity {
entityId:number,
x:number,
y:number,
z:number,
lastX:number,
lastY:number,
lastZ:number,
crouching:boolean,
updateMetadata:() => void,
distanceTo:(entity:IEntity) => number,
onTick:() => void
}