mc-beta-server/server/entities/IEntity.ts
2023-11-02 08:31:43 +00:00

12 lines
No EOL
237 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
}