UNPKG

@jsprismarine/prismarine

Version:

Dedicated Minecraft Bedrock Edition server written in TypeScript

18 lines 561 B
import { default as Server } from '../Server'; export interface LegacyId { id: number; meta: number; } /** * Class used to manage runtime Ids. */ export declare class BlockMappings { private static readonly nameToRuntime; private static readonly runtimeToName; static initMappings(server: Server): Promise<void>; static reset(): void; private static registerMapping; static getRuntimeId(name: string | undefined | null): number; static getLegacyId(runtimeId: number): LegacyId; } //# sourceMappingURL=BlockMappings.d.ts.map