UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

16 lines (15 loc) 674 B
import IFile from "../../storage/IFile"; import { IEventHandler } from "ste-events"; export default class MojangBlocksDefinition { private _data?; private _file?; private _isLoaded; private _onLoaded; get isLoaded(): boolean; get file(): IFile | undefined; get onLoaded(): import("ste-events").IEvent<MojangBlocksDefinition, MojangBlocksDefinition>; set file(newFile: IFile | undefined); static load(isPreview?: boolean): Promise<MojangBlocksDefinition>; static ensureOnFile(file: IFile, loadHandler?: IEventHandler<MojangBlocksDefinition, MojangBlocksDefinition>): Promise<MojangBlocksDefinition>; loadBlocks(): Promise<void>; }