UNPKG

bc-minecraft-bedrock-project

Version:

The typescript library responsible for reading/parsing minecraft bedrock data

27 lines 850 B
import { FormatVersion } from '../types/format-version'; /** * Internal representation of a voxel shape file structure. * Voxel shapes are stored in the `shapes/` folder of a behavior pack. */ export interface VoxelShape extends Readonly<FormatVersion> { /**The format version of the voxel shape file*/ format_version: string; /**The voxel shape data container*/ 'minecraft:voxel_shape': { description: { identifier: string; }; }; } /** * Utility functions for VoxelShape validation. */ export declare namespace VoxelShape { /** * Type guard to check if a value is of type VoxelShape. * @param value The value to check * @returns True if the value is a valid VoxelShape object */ function is(value: any): value is VoxelShape; } //# sourceMappingURL=voxel-shape.d.ts.map