bc-minecraft-bedrock-project
Version:
The typescript library responsible for reading/parsing minecraft bedrock data
49 lines • 1.13 kB
TypeScript
import { Definition } from 'bc-minecraft-bedrock-shared';
import { ScriptContainer } from '../types';
import { FormatVersion } from '../types/format-version';
/** */
export interface Attachable extends Readonly<FormatVersion> {
/** */
'minecraft:attachable': AttachableContainer;
}
/** */
export interface AttachableContainer {
/** */
description: AttachableDescription;
}
/** */
export interface AttachableDescription extends ScriptContainer {
/** */
identifier: string;
/** */
materials?: {
/** */
default?: string;
/** */
enchanted?: string;
};
/** */
animations?: Definition;
/** */
animation_controllers?: string[];
/** */
particle_effects?: Definition;
/** */
geometry?: Definition;
/** */
render_controllers?: (string | Definition)[];
/** */
sound_effects?: Definition;
/** */
textures?: Definition;
}
/** */
export declare namespace Attachable {
/**
*
* @param value
* @returns
*/
function is(value: any): value is Attachable;
}
//# sourceMappingURL=attachable.d.ts.map