UNPKG

bc-minecraft-bedrock-project

Version:

The typescript library responsible for reading/parsing minecraft bedrock data

40 lines (39 loc) 751 B
import { SMap } from "../../types"; import { FormatVersion } from "../types"; /** */ export interface Animation { /** */ animation_length?: number; /** */ loop?: boolean; /** */ timeline?: SMap<string | string[]>; } /** */ export declare namespace Animation { /** * * @param value * @returns */ function is(value: any): value is Animation; } /** */ export interface Animations extends Readonly<FormatVersion> { /** */ format_version: string; /** */ animations: { /** */ [animation: string]: Animation; }; } /** */ export declare namespace Animations { /** * * @param value * @returns */ function is(value: any): value is Animations; }