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 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
|
|
|
}
|