UNPKG

bc-minecraft-bedrock-project

Version:

The typescript library responsible for reading/parsing minecraft bedrock data

66 lines 1.43 kB
import { Definition } from 'bc-minecraft-bedrock-shared'; import * as General from '../general/controllers/state'; import { FormatVersion } from '../types/format-version'; /** */ export interface AnimationControllers extends Readonly<FormatVersion> { /** */ format_version: string; /** */ animation_controllers: { /** */ [controller: string]: AnimationController; }; } /** */ export declare namespace AnimationControllers { /** * * @param value * @returns */ function is(value: any): value is AnimationControllers; } /** */ export interface AnimationController { /** */ initial_state?: string; /** */ states: Record<string, State>; } /** */ export declare namespace AnimationController { /** * * @param value * @returns */ function is(value: any): value is AnimationController; } /** */ export interface State extends General.State { /** */ blend_transition?: number; /** */ blend_via_shortest_path?: boolean; /** */ particle_effects?: { effect?: string; locator?: string; }[]; /** */ sound_effects?: { effect?: string; }[]; /** */ variables?: Definition; } /** */ export declare namespace State { /** * * @param value * @returns */ function is(value: any): value is State; } //# sourceMappingURL=animation-controller.d.ts.map