minerender 2.1.0-alpha.87 → 2.1.0-alpha.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,6 +105,8 @@ interface EnvProvider {
105
105
  /** Read width/height out of encoded image bytes without fully decoding them. */
106
106
  imageSize(data: Uint8Array): ImageSizeInfo;
107
107
  openCache(name: string, version: number): PersistentCache;
108
+ /** Optional worker support; returns undefined where unavailable. Only the browser ESM build ships worker files. */
109
+ createWorker?(name: "section"): Worker | undefined;
108
110
  }
109
111
  /**
110
112
  * Registry holding the active {@link EnvProvider}.
@@ -766,6 +768,8 @@ declare function toRadians(degrees: number): number;
766
768
  declare function toDegrees(radians: number): number;
767
769
  /** Resolves after a delay in milliseconds. */
768
770
  declare function sleep(timeout: number): Promise<void>;
771
+ /** Yields to the next macrotask without timer clamping when the platform supports it. */
772
+ declare function yieldToEventLoop(): Promise<void>;
769
773
  /** Reduces an angle modulo 360, retaining a negative sign for negative inputs. */
770
774
  declare function clampRotationDegrees(deg: number): number;
771
775
  declare function isVector3(obj: any): obj is Vector3;
@@ -2061,6 +2065,16 @@ interface SchematicParserOptions {
2061
2065
  lenient?: boolean;
2062
2066
  }
2063
2067
 
2068
+ /** Converts Sponge v2/v3 `.schem` NBT into blocks and preserved entity data. */
2069
+ declare class SpongeSchematicParser {
2070
+ /**
2071
+ * Parses decoded NBT with a local block palette, omitting air blocks.
2072
+ * Applies Offset to block and entity positions; size remains the source dimensions.
2073
+ * Biomes and metadata are not imported, and DataVersion does not trigger migration.
2074
+ */
2075
+ static parse(nbt: NBT): Promise<MultiBlockStructure>;
2076
+ }
2077
+
2064
2078
  /** Converts Java structure NBT into blocks and preserved entity data for world placement. */
2065
2079
  declare class StructureParser {
2066
2080
  /**
@@ -3111,6 +3125,8 @@ declare class ChunkData {
3111
3125
  set(index: number, block?: Block): void;
3112
3126
  clear(): void;
3113
3127
  static isAir(block: Maybe<Block>): boolean;
3128
+ /** Identifies a normalized block type and its sorted properties, excluding per-cell NBT. */
3129
+ static paletteKey(block: Block): string;
3114
3130
  private static copyBlock;
3115
3131
  private static validateIndex;
3116
3132
  }
@@ -3216,6 +3232,9 @@ declare class SectionMesh extends Group {
3216
3232
  private readonly ownedMeshes;
3217
3233
  /** Builds section-local meshes from visible cube faces. `maxAtlasSize` limits each atlas dimension in pixels. */
3218
3234
  static build(entries: readonly SectionMeshEntry[], maxAtlasSize?: number): SectionMesh;
3235
+ /** Builds section-local meshes in a browser worker when available, with synchronous fallback. */
3236
+ static buildAsync(entries: readonly SectionMeshEntry[], maxAtlasSize?: number): Promise<SectionMesh>;
3237
+ private static fromPages;
3219
3238
  dispose(): void;
3220
3239
  }
3221
3240
 
@@ -3249,8 +3268,10 @@ declare class Chunk<SectionMeshing extends boolean = false> {
3249
3268
  private readonly renderedBlocks;
3250
3269
  private readonly sectionBlocks;
3251
3270
  private readonly hiddenBlocks;
3271
+ private readonly blockPosition;
3252
3272
  private sectionMesh?;
3253
3273
  private meshDirty;
3274
+ private meshGeneration;
3254
3275
  constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined, sectionModels?: SectionModels | undefined);
3255
3276
  getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo<SectionMeshing>>;
3256
3277
  getBlockAt(pos: Vector3): Maybe<BlockInfo<SectionMeshing>>;
@@ -3265,12 +3286,24 @@ declare class Chunk<SectionMeshing extends boolean = false> {
3265
3286
  * Places a block at integer chunk-local coordinates from 0 to 15.
3266
3287
  */
3267
3288
  setBlockInChunkAt(pos: Vector3, block?: Block, worldPos?: Vector3, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined): Promise<Maybe<BlockInfo<SectionMeshing>>>;
3289
+ /** Places cells in input order and returns changed world positions without refreshing neighbors. */
3290
+ placeBlocks(blocks: readonly {
3291
+ index: number;
3292
+ block: Maybe<Block>;
3293
+ }[]): Promise<Vector3[]>;
3268
3294
  /** Changes visibility at world block coordinates while preserving the block's data. */
3269
3295
  setBlockVisibleAt(pos: Vector3, visible: boolean): Promise<void>;
3270
3296
  isBlockVisibleAt(pos: Vector3): boolean;
3297
+ /** Reports whether a cell has a visible render object or section entry. */
3298
+ isBlockVisibleIndex(index: number): boolean;
3271
3299
  isOccludingAt(pos: Vector3): boolean;
3300
+ /** Reports whether a visible cell hides neighboring cube faces. */
3301
+ isOccludingIndex(index: number): boolean;
3272
3302
  setCullMaskAt(pos: Vector3, mask: number): Promise<void>;
3273
- rebuildSectionMesh(): void;
3303
+ /** Updates hidden faces for a cell's section entry or individual render object. */
3304
+ setCullMaskIndex(index: number, mask: number): Promise<void>;
3305
+ /** Rebuilds visible section geometry and discards results superseded by another rebuild or clear. */
3306
+ rebuildSectionMesh(): Promise<void>;
3274
3307
  /** Removes stored blocks and their render objects, then notifies the owning world of changed positions. */
3275
3308
  clear(onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined): Promise<void>;
3276
3309
  dispose(): Promise<void>;
@@ -3316,11 +3349,12 @@ declare class MineRenderWorld<SectionMeshing extends boolean = false> {
3316
3349
  * Places a structure's blocks at their stored positions, then refreshes neighboring faces.
3317
3350
  * Entity NBT is retained by the structure but is not rendered.
3318
3351
  *
3319
- * @param useBatches - Uses bounded batches by default. Set to `false` for sequential placement.
3352
+ * @param useBatches - Yields between chunks by default. Set to `false` for sequential placement.
3320
3353
  * @param executor - Optional queue for batched placement. The caller remains responsible for stopping it.
3321
3354
  */
3322
3355
  placeMultiBlock(multiblock: MultiBlockStructure, useBatches?: boolean, executor?: BatchedExecutor): Promise<void>;
3323
3356
  private placeBlocks;
3357
+ private placeChunkGroups;
3324
3358
  /** Replaces one chunk column's blocks. Entity NBT remains available on the parsed chunk. */
3325
3359
  placeChunk(chunk: AnvilChunk, executor?: BatchedExecutor): Promise<void>;
3326
3360
  /**
@@ -3350,6 +3384,70 @@ interface MineRenderWorldOptions<SectionMeshing extends boolean = boolean> {
3350
3384
  maxAtlasSize?: number;
3351
3385
  }
3352
3386
 
3387
+ /** One cube template with four vertices per face in `CUBE_FACES` order. */
3388
+ interface SectionTemplateData {
3389
+ positions: Float32Array;
3390
+ normals: Float32Array;
3391
+ uvs: Float32Array;
3392
+ uvBounds: Float32Array;
3393
+ colors: Float32Array;
3394
+ indices: Uint16Array;
3395
+ cullFaces: Uint8Array;
3396
+ atlas: number;
3397
+ }
3398
+ /** The pixel dimensions of a template atlas. */
3399
+ interface SectionAtlasSize {
3400
+ width: number;
3401
+ height: number;
3402
+ }
3403
+ /** Section placements and their shared cube templates, ready for geometry building. */
3404
+ interface SectionGeometryInput {
3405
+ count: number;
3406
+ indices: Uint16Array;
3407
+ templates: Uint16Array;
3408
+ cullMasks: Uint8Array;
3409
+ templateData: SectionTemplateData[];
3410
+ atlases: SectionAtlasSize[];
3411
+ maxAtlasSize: number;
3412
+ }
3413
+ /** Merged cube faces and source-atlas placements for one atlas page. */
3414
+ interface SectionGeometryPage {
3415
+ width: number;
3416
+ height: number;
3417
+ placements: {
3418
+ atlas: number;
3419
+ x: number;
3420
+ y: number;
3421
+ }[];
3422
+ positions: Float32Array;
3423
+ normals: Float32Array;
3424
+ uvs: Float32Array;
3425
+ uvBounds: Float32Array;
3426
+ colors: Float32Array;
3427
+ indices: Uint32Array;
3428
+ }
3429
+ /** Builds section-local geometry from visible cube faces, with bounded atlas pages. */
3430
+ declare function buildSectionGeometry(input: SectionGeometryInput): SectionGeometryPage[];
3431
+ /** Returns the buffers behind each page's typed arrays for transfer to another thread. */
3432
+ declare function sectionGeometryTransferables(pages: readonly SectionGeometryPage[]): ArrayBuffer[];
3433
+
3434
+ /** Runs section geometry builds in the environment's shared worker. */
3435
+ declare class SectionWorker {
3436
+ private worker;
3437
+ private static initialized;
3438
+ private static instance;
3439
+ private nextId;
3440
+ private readonly pending;
3441
+ private constructor();
3442
+ /** The shared worker, or undefined when the environment has none or a previous worker failed. */
3443
+ static shared(): SectionWorker | undefined;
3444
+ /** Builds geometry without transferring the input buffers away from the caller. */
3445
+ build(input: SectionGeometryInput): Promise<SectionGeometryPage[]>;
3446
+ /** Rejects pending builds, terminates the worker, and makes shared() return undefined. */
3447
+ terminate(): void;
3448
+ private fail;
3449
+ }
3450
+
3353
3451
  interface WorldStreamerOptions {
3354
3452
  /** Loads a square of chunk columns around the center. Integer from 0 to 32; defaults to 2. */
3355
3453
  loadRadius?: number;
@@ -3427,6 +3525,7 @@ declare class BrowserEnv implements EnvProvider {
3427
3525
  createImage(width?: number, height?: number): CompatImage;
3428
3526
  imageSize(data: Uint8Array): ImageSizeInfo;
3429
3527
  openCache(name: string, version: number): PersistentCache;
3528
+ createWorker(name: "section"): Worker | undefined;
3430
3529
  }
3431
3530
  /** Installs the browser provider. The browser package entry calls this automatically. */
3432
3531
  declare function registerBrowserEnv(): BrowserEnv;
@@ -3454,4 +3553,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
3454
3553
  */
3455
3554
  declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
3456
3555
 
3457
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, type AnvilRegionReader, AnvilWorldSource, type AnvilWorldSourceOptions, ArchiveAssetSource, type ArchiveAssetSourceOptions, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, type BannerPattern, type BannerPatternDraw, BannerPatterns, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type BitmapFont, type BitmapGlyph, type Block, BlockEntities, type BlockEntityEntry, type BlockEntityIndex, type BlockEntityPart, type BlockEntityRotation, type BlockFluidState, type BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, BlockStateResolver, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type DyeColor, ENTITY_ANIMATION_CHANNELS, type ElementFace, type ElementRotation, Entities, type EntityAnimation, type EntityAnimationBone, type EntityAnimationChannel, type EntityAnimationFile, type EntityAnimationKeyframe, type EntityAnimationOptions, EntityAnimationPlayer, type EntityAnimationPose, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, type EntityModelPass, EntityObject, type EntityObjectOptions, type EntityRenderMode, type EntityTransformOp, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, Fonts, type FrameCallback, type FromTo, GUI_CONTAINER_LAYOUTS, Geometries, type GuiBookButtonState, type GuiBookOptions, type GuiBossBarColor, type GuiBossBarOptions, type GuiContainerType, GuiHelper, type GuiItemLayer, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, type GuiRecipe, type GuiRecipeIngredient, type GuiRecipeOptions, type GuiSpriteScaling, type GuiText, type GuiTextLayer, type GuiTextLayout, type GuiTextOptions, type GuiTextRun, type GuiTextStyle, type GuiTextureLayer, type GuiTooltipOptions, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, type LoadedSceneDocument, type LoadedSceneObject, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererFrame, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResponseParser, SKIN_PARTS, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type SpecialItemPart, type SpecialItemRenderer, SpecialItems, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, type VideoExportOptions, VideoExporter, type WorldChunkSource, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, entityAnimationTime, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, probeImageSize, registerBrowserEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
3556
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, type AnvilRegionReader, AnvilWorldSource, type AnvilWorldSourceOptions, ArchiveAssetSource, type ArchiveAssetSourceOptions, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, type BannerPattern, type BannerPatternDraw, BannerPatterns, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type BitmapFont, type BitmapGlyph, type Block, BlockEntities, type BlockEntityEntry, type BlockEntityIndex, type BlockEntityPart, type BlockEntityRotation, type BlockFluidState, type BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, BlockStateResolver, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type DyeColor, ENTITY_ANIMATION_CHANNELS, type ElementFace, type ElementRotation, Entities, type EntityAnimation, type EntityAnimationBone, type EntityAnimationChannel, type EntityAnimationFile, type EntityAnimationKeyframe, type EntityAnimationOptions, EntityAnimationPlayer, type EntityAnimationPose, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, type EntityModelPass, EntityObject, type EntityObjectOptions, type EntityRenderMode, type EntityTransformOp, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, Fonts, type FrameCallback, type FromTo, GUI_CONTAINER_LAYOUTS, Geometries, type GuiBookButtonState, type GuiBookOptions, type GuiBossBarColor, type GuiBossBarOptions, type GuiContainerType, GuiHelper, type GuiItemLayer, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, type GuiRecipe, type GuiRecipeIngredient, type GuiRecipeOptions, type GuiSpriteScaling, type GuiText, type GuiTextLayer, type GuiTextLayout, type GuiTextOptions, type GuiTextRun, type GuiTextStyle, type GuiTextureLayer, type GuiTooltipOptions, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, type LoadedSceneDocument, type LoadedSceneObject, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererFrame, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResponseParser, SKIN_PARTS, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, type SectionAtlasSize, type SectionGeometryInput, type SectionGeometryPage, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type SectionTemplateData, SectionWorker, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type SpecialItemPart, type SpecialItemRenderer, SpecialItems, SpongeSchematicParser, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, type VideoExportOptions, VideoExporter, type WorldChunkSource, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, buildSectionGeometry, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, entityAnimationTime, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, probeImageSize, registerBrowserEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, sectionGeometryTransferables, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas, yieldToEventLoop };
@@ -105,6 +105,8 @@ interface EnvProvider {
105
105
  /** Read width/height out of encoded image bytes without fully decoding them. */
106
106
  imageSize(data: Uint8Array): ImageSizeInfo;
107
107
  openCache(name: string, version: number): PersistentCache;
108
+ /** Optional worker support; returns undefined where unavailable. Only the browser ESM build ships worker files. */
109
+ createWorker?(name: "section"): Worker | undefined;
108
110
  }
109
111
  /**
110
112
  * Registry holding the active {@link EnvProvider}.
@@ -766,6 +768,8 @@ declare function toRadians(degrees: number): number;
766
768
  declare function toDegrees(radians: number): number;
767
769
  /** Resolves after a delay in milliseconds. */
768
770
  declare function sleep(timeout: number): Promise<void>;
771
+ /** Yields to the next macrotask without timer clamping when the platform supports it. */
772
+ declare function yieldToEventLoop(): Promise<void>;
769
773
  /** Reduces an angle modulo 360, retaining a negative sign for negative inputs. */
770
774
  declare function clampRotationDegrees(deg: number): number;
771
775
  declare function isVector3(obj: any): obj is Vector3;
@@ -2061,6 +2065,16 @@ interface SchematicParserOptions {
2061
2065
  lenient?: boolean;
2062
2066
  }
2063
2067
 
2068
+ /** Converts Sponge v2/v3 `.schem` NBT into blocks and preserved entity data. */
2069
+ declare class SpongeSchematicParser {
2070
+ /**
2071
+ * Parses decoded NBT with a local block palette, omitting air blocks.
2072
+ * Applies Offset to block and entity positions; size remains the source dimensions.
2073
+ * Biomes and metadata are not imported, and DataVersion does not trigger migration.
2074
+ */
2075
+ static parse(nbt: NBT): Promise<MultiBlockStructure>;
2076
+ }
2077
+
2064
2078
  /** Converts Java structure NBT into blocks and preserved entity data for world placement. */
2065
2079
  declare class StructureParser {
2066
2080
  /**
@@ -3111,6 +3125,8 @@ declare class ChunkData {
3111
3125
  set(index: number, block?: Block): void;
3112
3126
  clear(): void;
3113
3127
  static isAir(block: Maybe<Block>): boolean;
3128
+ /** Identifies a normalized block type and its sorted properties, excluding per-cell NBT. */
3129
+ static paletteKey(block: Block): string;
3114
3130
  private static copyBlock;
3115
3131
  private static validateIndex;
3116
3132
  }
@@ -3216,6 +3232,9 @@ declare class SectionMesh extends Group {
3216
3232
  private readonly ownedMeshes;
3217
3233
  /** Builds section-local meshes from visible cube faces. `maxAtlasSize` limits each atlas dimension in pixels. */
3218
3234
  static build(entries: readonly SectionMeshEntry[], maxAtlasSize?: number): SectionMesh;
3235
+ /** Builds section-local meshes in a browser worker when available, with synchronous fallback. */
3236
+ static buildAsync(entries: readonly SectionMeshEntry[], maxAtlasSize?: number): Promise<SectionMesh>;
3237
+ private static fromPages;
3219
3238
  dispose(): void;
3220
3239
  }
3221
3240
 
@@ -3249,8 +3268,10 @@ declare class Chunk<SectionMeshing extends boolean = false> {
3249
3268
  private readonly renderedBlocks;
3250
3269
  private readonly sectionBlocks;
3251
3270
  private readonly hiddenBlocks;
3271
+ private readonly blockPosition;
3252
3272
  private sectionMesh?;
3253
3273
  private meshDirty;
3274
+ private meshGeneration;
3254
3275
  constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined, sectionModels?: SectionModels | undefined);
3255
3276
  getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo<SectionMeshing>>;
3256
3277
  getBlockAt(pos: Vector3): Maybe<BlockInfo<SectionMeshing>>;
@@ -3265,12 +3286,24 @@ declare class Chunk<SectionMeshing extends boolean = false> {
3265
3286
  * Places a block at integer chunk-local coordinates from 0 to 15.
3266
3287
  */
3267
3288
  setBlockInChunkAt(pos: Vector3, block?: Block, worldPos?: Vector3, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined): Promise<Maybe<BlockInfo<SectionMeshing>>>;
3289
+ /** Places cells in input order and returns changed world positions without refreshing neighbors. */
3290
+ placeBlocks(blocks: readonly {
3291
+ index: number;
3292
+ block: Maybe<Block>;
3293
+ }[]): Promise<Vector3[]>;
3268
3294
  /** Changes visibility at world block coordinates while preserving the block's data. */
3269
3295
  setBlockVisibleAt(pos: Vector3, visible: boolean): Promise<void>;
3270
3296
  isBlockVisibleAt(pos: Vector3): boolean;
3297
+ /** Reports whether a cell has a visible render object or section entry. */
3298
+ isBlockVisibleIndex(index: number): boolean;
3271
3299
  isOccludingAt(pos: Vector3): boolean;
3300
+ /** Reports whether a visible cell hides neighboring cube faces. */
3301
+ isOccludingIndex(index: number): boolean;
3272
3302
  setCullMaskAt(pos: Vector3, mask: number): Promise<void>;
3273
- rebuildSectionMesh(): void;
3303
+ /** Updates hidden faces for a cell's section entry or individual render object. */
3304
+ setCullMaskIndex(index: number, mask: number): Promise<void>;
3305
+ /** Rebuilds visible section geometry and discards results superseded by another rebuild or clear. */
3306
+ rebuildSectionMesh(): Promise<void>;
3274
3307
  /** Removes stored blocks and their render objects, then notifies the owning world of changed positions. */
3275
3308
  clear(onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined): Promise<void>;
3276
3309
  dispose(): Promise<void>;
@@ -3316,11 +3349,12 @@ declare class MineRenderWorld<SectionMeshing extends boolean = false> {
3316
3349
  * Places a structure's blocks at their stored positions, then refreshes neighboring faces.
3317
3350
  * Entity NBT is retained by the structure but is not rendered.
3318
3351
  *
3319
- * @param useBatches - Uses bounded batches by default. Set to `false` for sequential placement.
3352
+ * @param useBatches - Yields between chunks by default. Set to `false` for sequential placement.
3320
3353
  * @param executor - Optional queue for batched placement. The caller remains responsible for stopping it.
3321
3354
  */
3322
3355
  placeMultiBlock(multiblock: MultiBlockStructure, useBatches?: boolean, executor?: BatchedExecutor): Promise<void>;
3323
3356
  private placeBlocks;
3357
+ private placeChunkGroups;
3324
3358
  /** Replaces one chunk column's blocks. Entity NBT remains available on the parsed chunk. */
3325
3359
  placeChunk(chunk: AnvilChunk, executor?: BatchedExecutor): Promise<void>;
3326
3360
  /**
@@ -3350,6 +3384,70 @@ interface MineRenderWorldOptions<SectionMeshing extends boolean = boolean> {
3350
3384
  maxAtlasSize?: number;
3351
3385
  }
3352
3386
 
3387
+ /** One cube template with four vertices per face in `CUBE_FACES` order. */
3388
+ interface SectionTemplateData {
3389
+ positions: Float32Array;
3390
+ normals: Float32Array;
3391
+ uvs: Float32Array;
3392
+ uvBounds: Float32Array;
3393
+ colors: Float32Array;
3394
+ indices: Uint16Array;
3395
+ cullFaces: Uint8Array;
3396
+ atlas: number;
3397
+ }
3398
+ /** The pixel dimensions of a template atlas. */
3399
+ interface SectionAtlasSize {
3400
+ width: number;
3401
+ height: number;
3402
+ }
3403
+ /** Section placements and their shared cube templates, ready for geometry building. */
3404
+ interface SectionGeometryInput {
3405
+ count: number;
3406
+ indices: Uint16Array;
3407
+ templates: Uint16Array;
3408
+ cullMasks: Uint8Array;
3409
+ templateData: SectionTemplateData[];
3410
+ atlases: SectionAtlasSize[];
3411
+ maxAtlasSize: number;
3412
+ }
3413
+ /** Merged cube faces and source-atlas placements for one atlas page. */
3414
+ interface SectionGeometryPage {
3415
+ width: number;
3416
+ height: number;
3417
+ placements: {
3418
+ atlas: number;
3419
+ x: number;
3420
+ y: number;
3421
+ }[];
3422
+ positions: Float32Array;
3423
+ normals: Float32Array;
3424
+ uvs: Float32Array;
3425
+ uvBounds: Float32Array;
3426
+ colors: Float32Array;
3427
+ indices: Uint32Array;
3428
+ }
3429
+ /** Builds section-local geometry from visible cube faces, with bounded atlas pages. */
3430
+ declare function buildSectionGeometry(input: SectionGeometryInput): SectionGeometryPage[];
3431
+ /** Returns the buffers behind each page's typed arrays for transfer to another thread. */
3432
+ declare function sectionGeometryTransferables(pages: readonly SectionGeometryPage[]): ArrayBuffer[];
3433
+
3434
+ /** Runs section geometry builds in the environment's shared worker. */
3435
+ declare class SectionWorker {
3436
+ private worker;
3437
+ private static initialized;
3438
+ private static instance;
3439
+ private nextId;
3440
+ private readonly pending;
3441
+ private constructor();
3442
+ /** The shared worker, or undefined when the environment has none or a previous worker failed. */
3443
+ static shared(): SectionWorker | undefined;
3444
+ /** Builds geometry without transferring the input buffers away from the caller. */
3445
+ build(input: SectionGeometryInput): Promise<SectionGeometryPage[]>;
3446
+ /** Rejects pending builds, terminates the worker, and makes shared() return undefined. */
3447
+ terminate(): void;
3448
+ private fail;
3449
+ }
3450
+
3353
3451
  interface WorldStreamerOptions {
3354
3452
  /** Loads a square of chunk columns around the center. Integer from 0 to 32; defaults to 2. */
3355
3453
  loadRadius?: number;
@@ -3427,6 +3525,7 @@ declare class BrowserEnv implements EnvProvider {
3427
3525
  createImage(width?: number, height?: number): CompatImage;
3428
3526
  imageSize(data: Uint8Array): ImageSizeInfo;
3429
3527
  openCache(name: string, version: number): PersistentCache;
3528
+ createWorker(name: "section"): Worker | undefined;
3430
3529
  }
3431
3530
  /** Installs the browser provider. The browser package entry calls this automatically. */
3432
3531
  declare function registerBrowserEnv(): BrowserEnv;
@@ -3454,4 +3553,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
3454
3553
  */
3455
3554
  declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
3456
3555
 
3457
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, type AnvilRegionReader, AnvilWorldSource, type AnvilWorldSourceOptions, ArchiveAssetSource, type ArchiveAssetSourceOptions, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, type BannerPattern, type BannerPatternDraw, BannerPatterns, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type BitmapFont, type BitmapGlyph, type Block, BlockEntities, type BlockEntityEntry, type BlockEntityIndex, type BlockEntityPart, type BlockEntityRotation, type BlockFluidState, type BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, BlockStateResolver, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type DyeColor, ENTITY_ANIMATION_CHANNELS, type ElementFace, type ElementRotation, Entities, type EntityAnimation, type EntityAnimationBone, type EntityAnimationChannel, type EntityAnimationFile, type EntityAnimationKeyframe, type EntityAnimationOptions, EntityAnimationPlayer, type EntityAnimationPose, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, type EntityModelPass, EntityObject, type EntityObjectOptions, type EntityRenderMode, type EntityTransformOp, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, Fonts, type FrameCallback, type FromTo, GUI_CONTAINER_LAYOUTS, Geometries, type GuiBookButtonState, type GuiBookOptions, type GuiBossBarColor, type GuiBossBarOptions, type GuiContainerType, GuiHelper, type GuiItemLayer, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, type GuiRecipe, type GuiRecipeIngredient, type GuiRecipeOptions, type GuiSpriteScaling, type GuiText, type GuiTextLayer, type GuiTextLayout, type GuiTextOptions, type GuiTextRun, type GuiTextStyle, type GuiTextureLayer, type GuiTooltipOptions, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, type LoadedSceneDocument, type LoadedSceneObject, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererFrame, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResponseParser, SKIN_PARTS, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type SpecialItemPart, type SpecialItemRenderer, SpecialItems, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, type VideoExportOptions, VideoExporter, type WorldChunkSource, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, entityAnimationTime, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, probeImageSize, registerBrowserEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
3556
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, type AnvilRegionReader, AnvilWorldSource, type AnvilWorldSourceOptions, ArchiveAssetSource, type ArchiveAssetSourceOptions, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, type BannerPattern, type BannerPatternDraw, BannerPatterns, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type BitmapFont, type BitmapGlyph, type Block, BlockEntities, type BlockEntityEntry, type BlockEntityIndex, type BlockEntityPart, type BlockEntityRotation, type BlockFluidState, type BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, BlockStateResolver, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type DyeColor, ENTITY_ANIMATION_CHANNELS, type ElementFace, type ElementRotation, Entities, type EntityAnimation, type EntityAnimationBone, type EntityAnimationChannel, type EntityAnimationFile, type EntityAnimationKeyframe, type EntityAnimationOptions, EntityAnimationPlayer, type EntityAnimationPose, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, type EntityModelPass, EntityObject, type EntityObjectOptions, type EntityRenderMode, type EntityTransformOp, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, Fonts, type FrameCallback, type FromTo, GUI_CONTAINER_LAYOUTS, Geometries, type GuiBookButtonState, type GuiBookOptions, type GuiBossBarColor, type GuiBossBarOptions, type GuiContainerType, GuiHelper, type GuiItemLayer, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, type GuiRecipe, type GuiRecipeIngredient, type GuiRecipeOptions, type GuiSpriteScaling, type GuiText, type GuiTextLayer, type GuiTextLayout, type GuiTextOptions, type GuiTextRun, type GuiTextStyle, type GuiTextureLayer, type GuiTooltipOptions, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, type LoadedSceneDocument, type LoadedSceneObject, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererFrame, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResponseParser, SKIN_PARTS, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, type SectionAtlasSize, type SectionGeometryInput, type SectionGeometryPage, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type SectionTemplateData, SectionWorker, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type SpecialItemPart, type SpecialItemRenderer, SpecialItems, SpongeSchematicParser, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, type VideoExportOptions, VideoExporter, type WorldChunkSource, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, buildSectionGeometry, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, entityAnimationTime, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, probeImageSize, registerBrowserEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, sectionGeometryTransferables, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas, yieldToEventLoop };