minerender 2.1.0-alpha.85 → 2.1.0-alpha.87

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.
@@ -2421,6 +2421,53 @@ declare class SceneExporter {
2421
2421
  static toGLTF(root: Object3D, options?: SceneGLTFExportOptions): Promise<Record<string, any> | ArrayBuffer>;
2422
2422
  }
2423
2423
 
2424
+ /** Settings passed to {@link Renderer.toVideo}. */
2425
+ interface VideoExportOptions {
2426
+ /** Recording duration in seconds, greater than zero and at most 2147483.647. */
2427
+ duration: number;
2428
+ /** Requested capture rate (default 30). Rendering and browser scheduling can lower the actual rate. */
2429
+ fps?: number;
2430
+ /** Supported video MIME type. Defaults to WebM when available, then MP4. */
2431
+ mimeType?: string;
2432
+ /** Target video bitrate in bits per second, as a positive unsigned 32-bit integer. */
2433
+ videoBitsPerSecond?: number;
2434
+ /** Cancels recording and discards its output. */
2435
+ signal?: AbortSignal;
2436
+ }
2437
+ /**
2438
+ * Records fresh canvas frames in a browser, at a fixed size with an opaque black background.
2439
+ * @internal
2440
+ */
2441
+ declare class VideoExporter {
2442
+ private readonly source;
2443
+ /** Resolves after the recorder provides its final video data. */
2444
+ readonly result: Promise<Blob>;
2445
+ private readonly canvas;
2446
+ private readonly context;
2447
+ private readonly signal?;
2448
+ private readonly duration;
2449
+ private stream?;
2450
+ private recorder?;
2451
+ private timer?;
2452
+ private readonly chunks;
2453
+ private settled;
2454
+ private stopping;
2455
+ private resolve;
2456
+ private reject;
2457
+ constructor(source: HTMLCanvasElement, options: VideoExportOptions);
2458
+ /** Copies a freshly drawn source frame before WebGL can clear its drawing buffer. */
2459
+ capture(): void;
2460
+ /** Cancels recording, releases its capture stream, and rejects {@link result}. */
2461
+ cancel(reason?: unknown): void;
2462
+ private readonly onStart;
2463
+ private readonly onData;
2464
+ private readonly onStop;
2465
+ private readonly onError;
2466
+ private readonly onAbort;
2467
+ private readonly onTrackEnded;
2468
+ private cleanup;
2469
+ }
2470
+
2424
2471
  /** Container coordinates in GUI pixels. Crops refer to vanilla's 256×256 sheets; {@link GuiHelper.container} scales them for resource packs. */
2425
2472
  declare const GUI_CONTAINER_LAYOUTS: {
2426
2473
  readonly generic_54: {
@@ -2631,6 +2678,7 @@ declare class Renderer implements Disposable {
2631
2678
  private _running;
2632
2679
  private _inAnimationLoop;
2633
2680
  private _disposed;
2681
+ private _videoExporter?;
2634
2682
  private readonly _frameCallbacks;
2635
2683
  private readonly _debugHelpers;
2636
2684
  private readonly _eventDispatchers;
@@ -2660,9 +2708,9 @@ declare class Renderer implements Disposable {
2660
2708
  * Registering the same callback twice has no effect. Image exports do not invoke callbacks.
2661
2709
  */
2662
2710
  onFrame(callback: FrameCallback): () => void;
2663
- /** Starts or resumes the animation loop and registered frame callbacks. */
2711
+ /** Starts or resumes the animation loop and registered frame callbacks. Has no effect while running. */
2664
2712
  start(): void;
2665
- /** Pauses rendering and frame callbacks. Call {@link start} to resume. */
2713
+ /** Pauses rendering and frame callbacks, and cancels video export. Call {@link start} to resume. */
2666
2714
  stop(): void;
2667
2715
  /**
2668
2716
  * Stops rendering and releases owned resources. Repeated calls have no effect, and a disposed
@@ -2678,6 +2726,14 @@ declare class Renderer implements Disposable {
2678
2726
  * MIME type support and lossy quality (0–1) follow the canvas encoder.
2679
2727
  */
2680
2728
  toImage(trim?: boolean, mime?: string, quality?: number): string;
2729
+ /**
2730
+ * Records a silent browser video in real time, including frame callbacks and animated textures.
2731
+ * Keep the tab visible; browser scheduling and `render.fpsLimit` limit the capture rate.
2732
+ * The video keeps the initial drawing-buffer size and fills transparent pixels with black.
2733
+ * Temporarily starts a stopped renderer. Stop, disposal, or `options.signal` cancels the export.
2734
+ * Only one export can run at a time. Use the returned Blob's type to select a file extension.
2735
+ */
2736
+ toVideo(options: VideoExportOptions): Promise<Blob>;
2681
2737
  /** Exports visible scene meshes as OBJ text, without texture images. */
2682
2738
  toObj(): string;
2683
2739
  /** Exports visible scene meshes as PLY. Set `options.binary` for an ArrayBuffer. */
@@ -3101,6 +3157,41 @@ declare class AnvilParser {
3101
3157
  private static unpack;
3102
3158
  }
3103
3159
 
3160
+ /** Loads chunk columns at absolute integer chunk coordinates. */
3161
+ interface WorldChunkSource {
3162
+ /** Returns the requested column, or `undefined` if absent. Honor signal to cancel discarded reads. */
3163
+ getChunk(x: number, z: number, signal?: AbortSignal): Promise<AnvilChunk | undefined>;
3164
+ }
3165
+
3166
+ /**
3167
+ * Reads `r.<x>.<z>.mca` at integer region coordinates, or returns `undefined` when absent.
3168
+ * Forward `signal` to file or network I/O; it aborts when every caller waiting for the region cancels.
3169
+ */
3170
+ type AnvilRegionReader = (x: number, z: number, signal?: AbortSignal) => Promise<Uint8Array | ArrayBuffer | undefined>;
3171
+ /** Cache limits passed to `new AnvilWorldSource(readRegion, options)`. */
3172
+ interface AnvilWorldSourceOptions {
3173
+ /** Maximum cached regions, including missing regions. Defaults to 4; 0 disables caching. */
3174
+ maxCachedRegions?: number;
3175
+ /** Maximum retained region bytes. Defaults to 64 MiB; larger regions are read without caching. */
3176
+ maxCachedBytes?: number;
3177
+ }
3178
+ /** Reads selected Java Anvil chunk columns and caches raw regions within count and byte limits. */
3179
+ declare class AnvilWorldSource implements WorldChunkSource {
3180
+ private readonly readRegion;
3181
+ private readonly regions;
3182
+ private readonly pending;
3183
+ private readonly maxCachedRegions;
3184
+ private readonly maxCachedBytes;
3185
+ private cachedBytes;
3186
+ constructor(readRegion: AnvilRegionReader, options?: AnvilWorldSourceOptions);
3187
+ /** Decodes one column at absolute chunk coordinates. Aborting a caller leaves other shared readers active. */
3188
+ getChunk(x: number, z: number, signal?: AbortSignal): Promise<AnvilChunk | undefined>;
3189
+ /** Releases cached regions. Reads already in progress finish without repopulating this cache. */
3190
+ clearCache(): void;
3191
+ private getRegion;
3192
+ private cacheRegion;
3193
+ }
3194
+
3104
3195
  /** A placed block's data snapshot and optional render object, returned by world and chunk accessors. */
3105
3196
  interface BlockInfo<SectionMeshing extends boolean = false> {
3106
3197
  /** Detached block data; use world or chunk setters to update stored blocks. */
@@ -3260,6 +3351,73 @@ interface MineRenderWorldOptions<SectionMeshing extends boolean = boolean> {
3260
3351
  maxAtlasSize?: number;
3261
3352
  }
3262
3353
 
3354
+ interface WorldStreamerOptions {
3355
+ /** Loads a square of chunk columns around the center. Integer from 0 to 32; defaults to 2. */
3356
+ loadRadius?: number;
3357
+ /** Retains loaded columns within this radius. Defaults to loadRadius + 1, capped at 32. */
3358
+ unloadRadius?: number;
3359
+ }
3360
+ /**
3361
+ * Loads nearby chunk columns in distance order and unloads distant columns.
3362
+ * Updates coalesce to the latest center and serialize world mutations. Use a dedicated world:
3363
+ * the streamer replaces columns it loads, and callers must await disposal before editing that world.
3364
+ * The source remains caller-owned. Lighting, biome tint, and LOD are not added by streaming.
3365
+ */
3366
+ declare class WorldStreamer {
3367
+ private readonly world;
3368
+ private readonly source;
3369
+ private readonly loadRadius;
3370
+ private readonly unloadRadius;
3371
+ private readonly loaded;
3372
+ private readonly owned;
3373
+ private readonly missing;
3374
+ private readonly failed;
3375
+ private desired;
3376
+ private center?;
3377
+ private loading?;
3378
+ private running?;
3379
+ private disposal?;
3380
+ private disposed;
3381
+ constructor(world: Pick<MineRenderWorld<boolean>, "placeChunk" | "unloadChunkColumn">, source: WorldChunkSource, options?: WorldStreamerOptions);
3382
+ /** Returns absolute coordinates of successfully placed columns, including retained columns. */
3383
+ get loadedChunks(): readonly {
3384
+ x: number;
3385
+ z: number;
3386
+ }[];
3387
+ /** Returns source failures retained within the unload radius. Failed columns do not block other loads. */
3388
+ get failedChunks(): readonly {
3389
+ x: number;
3390
+ z: number;
3391
+ error: unknown;
3392
+ }[];
3393
+ /** Counts desired columns still waiting for a source read or placement, including the active column. */
3394
+ get pendingChunks(): number;
3395
+ /**
3396
+ * Updates the center in absolute chunk coordinates. Repeated calls share the active drain.
3397
+ * Source failures are recorded in failedChunks; other columns continue loading. Missing and failed
3398
+ * columns are remembered within the retention radius. Call retryFailedChunks to retry source failures.
3399
+ * Placement and unload failures reject the drain; call update again to retry those operations.
3400
+ * Reads outside the latest load radius receive an abort signal; placement finishes before unloading.
3401
+ * Sources should represent an unchanged world during streaming.
3402
+ */
3403
+ update(x: number, z: number): Promise<void>;
3404
+ /** Updates from a camera or view-center position in scene units. One chunk spans 256 scene units. */
3405
+ updatePosition(position: {
3406
+ x: number;
3407
+ z: number;
3408
+ }): Promise<void>;
3409
+ /** Forgets recorded source failures and retries desired columns at the latest center. */
3410
+ retryFailedChunks(): Promise<void>;
3411
+ /** Aborts source reads, waits for active work, then unloads owned columns. The world and source remain caller-owned. */
3412
+ dispose(): Promise<void>;
3413
+ private drain;
3414
+ private needsLoad;
3415
+ private unload;
3416
+ private validateChunk;
3417
+ private within;
3418
+ private key;
3419
+ }
3420
+
3263
3421
  /**
3264
3422
  * {@link EnvProvider} for headless Node.
3265
3423
  *
@@ -3299,4 +3457,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
3299
3457
  forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
3300
3458
  }
3301
3459
 
3302
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, 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, 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, NodeCache, NodeEnv, 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, 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, registerNodeEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
3460
+ 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, 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, NodeCache, NodeEnv, 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, registerNodeEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
@@ -2421,6 +2421,53 @@ declare class SceneExporter {
2421
2421
  static toGLTF(root: Object3D, options?: SceneGLTFExportOptions): Promise<Record<string, any> | ArrayBuffer>;
2422
2422
  }
2423
2423
 
2424
+ /** Settings passed to {@link Renderer.toVideo}. */
2425
+ interface VideoExportOptions {
2426
+ /** Recording duration in seconds, greater than zero and at most 2147483.647. */
2427
+ duration: number;
2428
+ /** Requested capture rate (default 30). Rendering and browser scheduling can lower the actual rate. */
2429
+ fps?: number;
2430
+ /** Supported video MIME type. Defaults to WebM when available, then MP4. */
2431
+ mimeType?: string;
2432
+ /** Target video bitrate in bits per second, as a positive unsigned 32-bit integer. */
2433
+ videoBitsPerSecond?: number;
2434
+ /** Cancels recording and discards its output. */
2435
+ signal?: AbortSignal;
2436
+ }
2437
+ /**
2438
+ * Records fresh canvas frames in a browser, at a fixed size with an opaque black background.
2439
+ * @internal
2440
+ */
2441
+ declare class VideoExporter {
2442
+ private readonly source;
2443
+ /** Resolves after the recorder provides its final video data. */
2444
+ readonly result: Promise<Blob>;
2445
+ private readonly canvas;
2446
+ private readonly context;
2447
+ private readonly signal?;
2448
+ private readonly duration;
2449
+ private stream?;
2450
+ private recorder?;
2451
+ private timer?;
2452
+ private readonly chunks;
2453
+ private settled;
2454
+ private stopping;
2455
+ private resolve;
2456
+ private reject;
2457
+ constructor(source: HTMLCanvasElement, options: VideoExportOptions);
2458
+ /** Copies a freshly drawn source frame before WebGL can clear its drawing buffer. */
2459
+ capture(): void;
2460
+ /** Cancels recording, releases its capture stream, and rejects {@link result}. */
2461
+ cancel(reason?: unknown): void;
2462
+ private readonly onStart;
2463
+ private readonly onData;
2464
+ private readonly onStop;
2465
+ private readonly onError;
2466
+ private readonly onAbort;
2467
+ private readonly onTrackEnded;
2468
+ private cleanup;
2469
+ }
2470
+
2424
2471
  /** Container coordinates in GUI pixels. Crops refer to vanilla's 256×256 sheets; {@link GuiHelper.container} scales them for resource packs. */
2425
2472
  declare const GUI_CONTAINER_LAYOUTS: {
2426
2473
  readonly generic_54: {
@@ -2631,6 +2678,7 @@ declare class Renderer implements Disposable {
2631
2678
  private _running;
2632
2679
  private _inAnimationLoop;
2633
2680
  private _disposed;
2681
+ private _videoExporter?;
2634
2682
  private readonly _frameCallbacks;
2635
2683
  private readonly _debugHelpers;
2636
2684
  private readonly _eventDispatchers;
@@ -2660,9 +2708,9 @@ declare class Renderer implements Disposable {
2660
2708
  * Registering the same callback twice has no effect. Image exports do not invoke callbacks.
2661
2709
  */
2662
2710
  onFrame(callback: FrameCallback): () => void;
2663
- /** Starts or resumes the animation loop and registered frame callbacks. */
2711
+ /** Starts or resumes the animation loop and registered frame callbacks. Has no effect while running. */
2664
2712
  start(): void;
2665
- /** Pauses rendering and frame callbacks. Call {@link start} to resume. */
2713
+ /** Pauses rendering and frame callbacks, and cancels video export. Call {@link start} to resume. */
2666
2714
  stop(): void;
2667
2715
  /**
2668
2716
  * Stops rendering and releases owned resources. Repeated calls have no effect, and a disposed
@@ -2678,6 +2726,14 @@ declare class Renderer implements Disposable {
2678
2726
  * MIME type support and lossy quality (0–1) follow the canvas encoder.
2679
2727
  */
2680
2728
  toImage(trim?: boolean, mime?: string, quality?: number): string;
2729
+ /**
2730
+ * Records a silent browser video in real time, including frame callbacks and animated textures.
2731
+ * Keep the tab visible; browser scheduling and `render.fpsLimit` limit the capture rate.
2732
+ * The video keeps the initial drawing-buffer size and fills transparent pixels with black.
2733
+ * Temporarily starts a stopped renderer. Stop, disposal, or `options.signal` cancels the export.
2734
+ * Only one export can run at a time. Use the returned Blob's type to select a file extension.
2735
+ */
2736
+ toVideo(options: VideoExportOptions): Promise<Blob>;
2681
2737
  /** Exports visible scene meshes as OBJ text, without texture images. */
2682
2738
  toObj(): string;
2683
2739
  /** Exports visible scene meshes as PLY. Set `options.binary` for an ArrayBuffer. */
@@ -3101,6 +3157,41 @@ declare class AnvilParser {
3101
3157
  private static unpack;
3102
3158
  }
3103
3159
 
3160
+ /** Loads chunk columns at absolute integer chunk coordinates. */
3161
+ interface WorldChunkSource {
3162
+ /** Returns the requested column, or `undefined` if absent. Honor signal to cancel discarded reads. */
3163
+ getChunk(x: number, z: number, signal?: AbortSignal): Promise<AnvilChunk | undefined>;
3164
+ }
3165
+
3166
+ /**
3167
+ * Reads `r.<x>.<z>.mca` at integer region coordinates, or returns `undefined` when absent.
3168
+ * Forward `signal` to file or network I/O; it aborts when every caller waiting for the region cancels.
3169
+ */
3170
+ type AnvilRegionReader = (x: number, z: number, signal?: AbortSignal) => Promise<Uint8Array | ArrayBuffer | undefined>;
3171
+ /** Cache limits passed to `new AnvilWorldSource(readRegion, options)`. */
3172
+ interface AnvilWorldSourceOptions {
3173
+ /** Maximum cached regions, including missing regions. Defaults to 4; 0 disables caching. */
3174
+ maxCachedRegions?: number;
3175
+ /** Maximum retained region bytes. Defaults to 64 MiB; larger regions are read without caching. */
3176
+ maxCachedBytes?: number;
3177
+ }
3178
+ /** Reads selected Java Anvil chunk columns and caches raw regions within count and byte limits. */
3179
+ declare class AnvilWorldSource implements WorldChunkSource {
3180
+ private readonly readRegion;
3181
+ private readonly regions;
3182
+ private readonly pending;
3183
+ private readonly maxCachedRegions;
3184
+ private readonly maxCachedBytes;
3185
+ private cachedBytes;
3186
+ constructor(readRegion: AnvilRegionReader, options?: AnvilWorldSourceOptions);
3187
+ /** Decodes one column at absolute chunk coordinates. Aborting a caller leaves other shared readers active. */
3188
+ getChunk(x: number, z: number, signal?: AbortSignal): Promise<AnvilChunk | undefined>;
3189
+ /** Releases cached regions. Reads already in progress finish without repopulating this cache. */
3190
+ clearCache(): void;
3191
+ private getRegion;
3192
+ private cacheRegion;
3193
+ }
3194
+
3104
3195
  /** A placed block's data snapshot and optional render object, returned by world and chunk accessors. */
3105
3196
  interface BlockInfo<SectionMeshing extends boolean = false> {
3106
3197
  /** Detached block data; use world or chunk setters to update stored blocks. */
@@ -3260,6 +3351,73 @@ interface MineRenderWorldOptions<SectionMeshing extends boolean = boolean> {
3260
3351
  maxAtlasSize?: number;
3261
3352
  }
3262
3353
 
3354
+ interface WorldStreamerOptions {
3355
+ /** Loads a square of chunk columns around the center. Integer from 0 to 32; defaults to 2. */
3356
+ loadRadius?: number;
3357
+ /** Retains loaded columns within this radius. Defaults to loadRadius + 1, capped at 32. */
3358
+ unloadRadius?: number;
3359
+ }
3360
+ /**
3361
+ * Loads nearby chunk columns in distance order and unloads distant columns.
3362
+ * Updates coalesce to the latest center and serialize world mutations. Use a dedicated world:
3363
+ * the streamer replaces columns it loads, and callers must await disposal before editing that world.
3364
+ * The source remains caller-owned. Lighting, biome tint, and LOD are not added by streaming.
3365
+ */
3366
+ declare class WorldStreamer {
3367
+ private readonly world;
3368
+ private readonly source;
3369
+ private readonly loadRadius;
3370
+ private readonly unloadRadius;
3371
+ private readonly loaded;
3372
+ private readonly owned;
3373
+ private readonly missing;
3374
+ private readonly failed;
3375
+ private desired;
3376
+ private center?;
3377
+ private loading?;
3378
+ private running?;
3379
+ private disposal?;
3380
+ private disposed;
3381
+ constructor(world: Pick<MineRenderWorld<boolean>, "placeChunk" | "unloadChunkColumn">, source: WorldChunkSource, options?: WorldStreamerOptions);
3382
+ /** Returns absolute coordinates of successfully placed columns, including retained columns. */
3383
+ get loadedChunks(): readonly {
3384
+ x: number;
3385
+ z: number;
3386
+ }[];
3387
+ /** Returns source failures retained within the unload radius. Failed columns do not block other loads. */
3388
+ get failedChunks(): readonly {
3389
+ x: number;
3390
+ z: number;
3391
+ error: unknown;
3392
+ }[];
3393
+ /** Counts desired columns still waiting for a source read or placement, including the active column. */
3394
+ get pendingChunks(): number;
3395
+ /**
3396
+ * Updates the center in absolute chunk coordinates. Repeated calls share the active drain.
3397
+ * Source failures are recorded in failedChunks; other columns continue loading. Missing and failed
3398
+ * columns are remembered within the retention radius. Call retryFailedChunks to retry source failures.
3399
+ * Placement and unload failures reject the drain; call update again to retry those operations.
3400
+ * Reads outside the latest load radius receive an abort signal; placement finishes before unloading.
3401
+ * Sources should represent an unchanged world during streaming.
3402
+ */
3403
+ update(x: number, z: number): Promise<void>;
3404
+ /** Updates from a camera or view-center position in scene units. One chunk spans 256 scene units. */
3405
+ updatePosition(position: {
3406
+ x: number;
3407
+ z: number;
3408
+ }): Promise<void>;
3409
+ /** Forgets recorded source failures and retries desired columns at the latest center. */
3410
+ retryFailedChunks(): Promise<void>;
3411
+ /** Aborts source reads, waits for active work, then unloads owned columns. The world and source remain caller-owned. */
3412
+ dispose(): Promise<void>;
3413
+ private drain;
3414
+ private needsLoad;
3415
+ private unload;
3416
+ private validateChunk;
3417
+ private within;
3418
+ private key;
3419
+ }
3420
+
3263
3421
  /**
3264
3422
  * {@link EnvProvider} for headless Node.
3265
3423
  *
@@ -3299,4 +3457,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
3299
3457
  forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
3300
3458
  }
3301
3459
 
3302
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, 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, 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, NodeCache, NodeEnv, 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, 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, registerNodeEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
3460
+ 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, 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, NodeCache, NodeEnv, 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, registerNodeEnv, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };