minecraft-clone / src /types /entity.ts
TomatitoToho's picture
Upload src/types/entity.ts with huggingface_hub
7c794d2 verified
Raw
History Blame Contribute Delete
425 Bytes
export interface Entity {
id: string;
uuid: string;
position: [number, number, number];
velocity: [number, number, number];
rotation: [number, number];
health: number;
maxHealth: number;
width: number;
height: number;
eyeHeight: number;
onGround: boolean;
ai: boolean;
persistenceRequired: boolean;
fireTicks: number;
air: number;
invulnerable: boolean;
glowing: boolean;
tags: string[];
}