mc-beta-server/server/entities/IEntity.ts
2023-11-08 15:45:25 +00:00

12 lines
No EOL
233 B
TypeScript

import Vec3 from "../Vec3"
export interface IEntity {
entityId:number,
position:Vec3,
lastPosition:Vec3,
velocity:Vec3,
crouching:boolean,
updateMetadata:() => void,
distanceTo:(entity:IEntity) => number,
onTick:() => void
}