mc-beta-server/server/entities/IEntity.ts

12 lines
231 B
TypeScript
Raw Normal View History

2023-11-08 15:45:25 +00:00
import Vec3 from "../Vec3"
2023-11-02 08:31:43 +00:00
2023-04-08 20:52:47 +01:00
export interface IEntity {
2023-04-09 04:19:10 +01:00
entityId:number,
2023-11-02 08:31:43 +00:00
position:Vec3,
2023-11-09 17:04:11 +00:00
motion:Vec3,
2023-11-02 08:31:43 +00:00
lastPosition:Vec3,
2023-04-10 21:52:30 +01:00
crouching:boolean,
updateMetadata:() => void,
2023-04-10 14:42:14 +01:00
distanceTo:(entity:IEntity) => number,
2023-04-09 04:19:10 +01:00
onTick:() => void
2023-04-08 20:52:47 +01:00
}