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

11 lines
183 B
TypeScript
Raw Normal View History

2023-04-08 20:52:47 +01:00
export interface IEntity {
2023-04-09 04:19:10 +01:00
entityId:number,
x:number,
y:number,
z:number,
lastX:number,
lastY:number,
lastZ:number,
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
}