bc-minecraft-bedrock-project
Version:
The typescript library responsible for reading/parsing minecraft bedrock data
33 lines (32 loc) • 734 B
TypeScript
import { SMap } from "../../types";
import { FormatVersion } from "../types/format-version";
/** */
export interface SoundDefinitions extends Readonly<FormatVersion> {
/** */
format_version: string;
/** */
sound_definitions: SMap<SoundDefinition>;
}
/** */
export interface SoundDefinition {
/** */
category: string;
/** */
sounds: (string | SoundSpec)[];
}
/** */
export interface SoundSpec {
/**The relative path to the file */
name?: string;
/** Whenever or not the file needs to be streamed */
stream?: boolean;
}
/** */
export declare namespace SoundDefinitions {
/**
*
* @param value
* @returns
*/
function is(value: any): value is SoundDefinitions;
}