UNPKG

bc-minecraft-bedrock-project

Version:

The typescript library responsible for reading/parsing minecraft bedrock data

46 lines (45 loc) 1.09 kB
import { Types } from "bc-minecraft-bedrock-types"; import { FormatVersion } from "../types/format-version"; import { ScriptContainer } from "../types"; /** */ export interface Entity extends Readonly<FormatVersion> { /** */ readonly format_version: string; /** */ "minecraft:client_entity": EntityContainer; } /** */ export interface EntityContainer { /** */ description: EntityDescription; } /** */ export interface EntityDescription extends ScriptContainer { /** */ identifier: string; /** */ materials?: Types.Definition; /** */ animations?: Types.Definition; /** */ animation_controllers?: (string | Types.Definition)[]; /** */ particle_effects?: Types.Definition; /** */ geometry?: Types.Definition; /** */ render_controllers?: (string | Types.Definition)[]; /** */ sound_effects?: Types.Definition; /** */ textures?: Types.Definition; } /** */ export declare namespace Entity { /** * * @param value * @returns */ function is(value: any): value is Entity; }