///
import { ZipEntry } from 'node-stream-zip';
import { Jar } from './utils/jar';
import type { AnimationMeta, BlockModel, BlockState, Renderer, RendererOptions } from './utils/types';
export declare class Minecraft {
file: string | Jar;
protected readonly defaultNamespace: string;
protected jar: Jar;
protected renderer: Renderer | null;
protected _cache: {
[key: string]: any;
};
protected _modid_jars: {
[key: string]: Jar;
};
protected constructor(file: string | Jar, defaultNamespace?: string);
static open(file: string | Jar, namespace?: string): Minecraft;
protected id(name: string): {
namespace: string;
id: string;
};
registerModId(modid: string, path: string | Jar): Promise;
getFile(path: string): Promise;
getFileEntries(path: string): Promise;
getParsedJson(path: string): Promise;
parseJson(data: string | Object | Buffer): Object | null;
clone(input: T): T;
getBlockStates(namespace?: string): Promise;
getBlockState(identifier: string): Promise;
getBlockNameList(namespace?: string): Promise;
getBlockList(namespace?: string): Promise;
getModelOfIdentifier(identifier: string): Promise;
getModel(blockName: string): Promise;
getModelFromBlockState(block_state: BlockState): Promise;
getModelFile(name?: string): Promise;
getTextureFile(name?: string): Promise;
getTextureMetadata(name?: string): Promise;
render(blocks: BlockModel[], options?: RendererOptions): AsyncGenerator;
renderSingle(block: BlockModel): Promise;
close(): Promise;
prepareRenderEnvironment(options?: RendererOptions): Promise;
cleanupRenderEnvironment(): Promise;
getRenderer(): Renderer;
}
//# sourceMappingURL=minecraft.d.ts.map