minerender 2.1.0-beta.6 → 2.1.0-beta.7

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.
Files changed (80) hide show
  1. package/dist/browser/esm/Materials.mjs +3 -1
  2. package/dist/browser/esm/Materials.mjs.map +1 -1
  3. package/dist/browser/esm/Ticker.mjs +3 -1
  4. package/dist/browser/esm/Ticker.mjs.map +1 -1
  5. package/dist/browser/esm/UVMapper.mjs +9 -9
  6. package/dist/browser/esm/UVMapper.mjs.map +1 -1
  7. package/dist/browser/esm/assets/AssetDefaults.mjs +8 -0
  8. package/dist/browser/esm/assets/AssetDefaults.mjs.map +1 -0
  9. package/dist/browser/esm/assets/AssetKey.mjs +1 -1
  10. package/dist/browser/esm/assets/AssetKey.mjs.map +1 -1
  11. package/dist/browser/esm/assets/AssetLoader.mjs +5 -5
  12. package/dist/browser/esm/assets/AssetLoader.mjs.map +1 -1
  13. package/dist/browser/esm/assets/Assets.mjs +1 -5
  14. package/dist/browser/esm/assets/Assets.mjs.map +1 -1
  15. package/dist/browser/esm/assets/BlockEntities.mjs +3 -1
  16. package/dist/browser/esm/assets/BlockEntities.mjs.map +1 -1
  17. package/dist/browser/esm/assets/BlockStates.mjs +1 -1
  18. package/dist/browser/esm/assets/BlockStates.mjs.map +1 -1
  19. package/dist/browser/esm/assets/Entities.mjs +1 -1
  20. package/dist/browser/esm/assets/Entities.mjs.map +1 -1
  21. package/dist/browser/esm/assets/Models.mjs +1 -1
  22. package/dist/browser/esm/assets/Models.mjs.map +1 -1
  23. package/dist/browser/esm/assets/_fonts/Unihex.mjs +5 -3
  24. package/dist/browser/esm/assets/_fonts/Unihex.mjs.map +1 -1
  25. package/dist/browser/esm/assets/index.mjs +1 -0
  26. package/dist/browser/esm/assets/index.mjs.map +1 -1
  27. package/dist/browser/esm/assets/source/HostedAssetSource.mjs +7 -8
  28. package/dist/browser/esm/assets/source/HostedAssetSource.mjs.map +1 -1
  29. package/dist/browser/esm/env/browser/BrowserCache.mjs +3 -3
  30. package/dist/browser/esm/env/browser/BrowserCache.mjs.map +1 -1
  31. package/dist/browser/esm/image/ImageLoader.mjs +3 -3
  32. package/dist/browser/esm/image/ImageLoader.mjs.map +1 -1
  33. package/dist/browser/esm/index.browser.d.mts +64 -11
  34. package/dist/browser/esm/inspector/SceneInspector.mjs +3 -3
  35. package/dist/browser/esm/inspector/SceneInspector.mjs.map +1 -1
  36. package/dist/browser/esm/instance/InstanceManager.mjs +4 -4
  37. package/dist/browser/esm/instance/InstanceManager.mjs.map +1 -1
  38. package/dist/browser/esm/model/block/scene/BlockObject.mjs +3 -1
  39. package/dist/browser/esm/model/block/scene/BlockObject.mjs.map +1 -1
  40. package/dist/browser/esm/model/multiblock/StructureParser.mjs +7 -4
  41. package/dist/browser/esm/model/multiblock/StructureParser.mjs.map +1 -1
  42. package/dist/browser/esm/model/scene/ModelObject.mjs +4 -4
  43. package/dist/browser/esm/model/scene/ModelObject.mjs.map +1 -1
  44. package/dist/browser/esm/nbt/NBTHelper.mjs +5 -2
  45. package/dist/browser/esm/nbt/NBTHelper.mjs.map +1 -1
  46. package/dist/browser/esm/renderer/Renderer.mjs +4 -2
  47. package/dist/browser/esm/renderer/Renderer.mjs.map +1 -1
  48. package/dist/browser/esm/renderer/SceneObject.mjs +0 -6
  49. package/dist/browser/esm/renderer/SceneObject.mjs.map +1 -1
  50. package/dist/browser/esm/request/Requests.mjs +3 -3
  51. package/dist/browser/esm/request/Requests.mjs.map +1 -1
  52. package/dist/browser/esm/skin/Skins.mjs +6 -4
  53. package/dist/browser/esm/skin/Skins.mjs.map +1 -1
  54. package/dist/browser/esm/texture/TextureLoader.mjs +4 -2
  55. package/dist/browser/esm/texture/TextureLoader.mjs.map +1 -1
  56. package/dist/browser/esm/util/log.mjs +75 -0
  57. package/dist/browser/esm/util/log.mjs.map +1 -1
  58. package/dist/browser/esm/util/performance.mjs.map +1 -1
  59. package/dist/browser/esm/world/Chunk.mjs +8 -5
  60. package/dist/browser/esm/world/Chunk.mjs.map +1 -1
  61. package/dist/browser/esm/world/MineRenderWorld.mjs +96 -54
  62. package/dist/browser/esm/world/MineRenderWorld.mjs.map +1 -1
  63. package/dist/browser/esm/world/WorldStreamer.mjs +21 -20
  64. package/dist/browser/esm/world/WorldStreamer.mjs.map +1 -1
  65. package/dist/browser/esm/world/_culling/BlockCulling.mjs +1 -1
  66. package/dist/browser/esm/world/_culling/BlockCulling.mjs.map +1 -1
  67. package/dist/browser/esm/world/_entities/WorldEntities.mjs +3 -1
  68. package/dist/browser/esm/world/_entities/WorldEntities.mjs.map +1 -1
  69. package/dist/browser/index.d.ts +64 -11
  70. package/dist/browser/index.js +3071 -2956
  71. package/dist/browser/index.js.map +1 -1
  72. package/dist/bundle.js +6095 -5975
  73. package/dist/bundle.js.map +1 -1
  74. package/dist/node/index.d.mts +64 -11
  75. package/dist/node/index.d.ts +64 -11
  76. package/dist/node/index.js +3095 -2978
  77. package/dist/node/index.js.map +1 -1
  78. package/dist/node/index.mjs +3087 -2971
  79. package/dist/node/index.mjs.map +1 -1
  80. package/package.json +1 -1
@@ -915,6 +915,9 @@ declare class MinecraftFaceUV {
915
915
  */
916
916
  declare function shutdown(): void;
917
917
 
918
+ declare const DEFAULT_ROOT = "https://assets.mcasset.cloud/1.21.11";
919
+ declare const DEFAULT_NAMESPACE = "minecraft";
920
+
918
921
  /** Runs queued tasks in bounded batches. Idle executors do not keep a timer running. */
919
922
  declare class BatchedExecutor {
920
923
  readonly interval: number;
@@ -932,6 +935,34 @@ declare class BatchedExecutor {
932
935
  }
933
936
  type Task<T = unknown> = () => T | Promise<T>;
934
937
 
938
+ /** Severity of a log message, from most to least verbose. */
939
+ type LogLevel = "debug" | "info" | "warn" | "error";
940
+ /** The lowest level that is printed, or `"silent"` to print nothing. */
941
+ type LogThreshold = LogLevel | "silent";
942
+ /** Receives each message that passes the threshold. `args` are the logger call's arguments, without a tag. */
943
+ type LogHandler = (level: LogLevel, namespace: string, args: unknown[]) => void;
944
+ interface LoggingOptions {
945
+ /** Threshold for namespaces without an override. Starts at `"warn"`. */
946
+ level?: LogThreshold;
947
+ /** Thresholds by logger name, such as `{ UVMapper: "debug" }`. Replaces earlier overrides. */
948
+ namespaces?: Record<string, LogThreshold>;
949
+ }
950
+ interface Logger {
951
+ debug(...args: unknown[]): void;
952
+ info(...args: unknown[]): void;
953
+ warn(...args: unknown[]): void;
954
+ error(...args: unknown[]): void;
955
+ }
956
+ /** Global log settings for every MineRender logger. */
957
+ declare class Logging {
958
+ /** Updates the given settings and keeps the others. */
959
+ static configure(options: LoggingOptions): void;
960
+ /** Sends messages to `handler` instead of the console. Call without an argument to restore console output. */
961
+ static setHandler(handler?: LogHandler): void;
962
+ }
963
+ /** Creates a logger whose messages are tagged and filtered as `namespace`. */
964
+ declare function logger(namespace: string): Logger;
965
+ /** @deprecated Use {@link logger}. */
935
966
  declare function prefix(prefix?: string): string;
936
967
 
937
968
  /** Rotates geometry in place around the element's origin. The supplied angle is in degrees. */
@@ -943,8 +974,11 @@ declare function addWireframeToObject(obj: Object3D, color?: number, w?: number)
943
974
  /** Adds edge and axis helpers to a mesh and returns a function that disposes their resources. */
944
975
  declare function addWireframeToMesh(geo: BufferGeometry, mesh: Mesh, color?: number, w?: number): () => void;
945
976
 
977
+ /** @deprecated Unused by MineRender. */
946
978
  declare function captureException(e: any, ...extra: any[]): void;
979
+ /** @deprecated Unused by MineRender. */
947
980
  declare function timingStart(marker: string): void;
981
+ /** @deprecated Unused by MineRender. */
948
982
  declare function timingEnd(marker: string): void;
949
983
 
950
984
  declare function sha1(str: string): string;
@@ -1059,8 +1093,6 @@ type MultipartCondition = Record<string, string> | {
1059
1093
  AND: MultipartCondition[];
1060
1094
  };
1061
1095
 
1062
- declare const DEFAULT_ROOT = "https://assets.mcasset.cloud/1.21.11";
1063
- declare const DEFAULT_NAMESPACE = "minecraft";
1064
1096
  /** Convenience accessors for model and blockstate loading. */
1065
1097
  declare class Assets {
1066
1098
  /**
@@ -2461,11 +2493,21 @@ interface Palette {
2461
2493
  };
2462
2494
  }
2463
2495
  interface PaletteEntry {
2464
- Name: {
2496
+ Name?: {
2465
2497
  type: "string";
2466
2498
  value: string;
2467
2499
  };
2468
- Properties: {
2500
+ id?: {
2501
+ type: "string";
2502
+ value: string;
2503
+ };
2504
+ Properties?: {
2505
+ type: "compound";
2506
+ value: {
2507
+ [property: string]: PalettePropertyValue;
2508
+ };
2509
+ };
2510
+ properties?: {
2469
2511
  type: "compound";
2470
2512
  value: {
2471
2513
  [property: string]: PalettePropertyValue;
@@ -4036,7 +4078,7 @@ declare class Chunk<SectionMeshing extends boolean = false> {
4036
4078
  private ambientOcclusionCells?;
4037
4079
  private readonly blockChanges;
4038
4080
  private biomeChange?;
4039
- constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined, sectionModels?: SectionModels | undefined, neighborCell?: ((x: number, y: number, z: number) => number) | undefined, biomeAt?: ((x: number, y: number, z: number) => Maybe<string>) | undefined, onBiomesChanged?: ((biomes?: readonly string[]) => Promise<void>) | undefined, lightAt?: ((x: number, y: number, z: number) => number) | undefined, onLightCleared?: (() => Promise<void>) | undefined, ambientLight?: number, biomeBlend?: (() => BiomeBlend | undefined) | undefined);
4081
+ constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[], deferCulling?: boolean) => Promise<void>) | undefined, sectionModels?: SectionModels | undefined, neighborCell?: ((x: number, y: number, z: number) => number) | undefined, biomeAt?: ((x: number, y: number, z: number) => Maybe<string>) | undefined, onBiomesChanged?: ((biomes?: readonly string[]) => Promise<void>) | undefined, lightAt?: ((x: number, y: number, z: number) => number) | undefined, onLightCleared?: (() => Promise<void>) | undefined, ambientLight?: number, biomeBlend?: (() => BiomeBlend | undefined) | undefined);
4040
4082
  /** Finds the nearest owned block hit across sections, testing each shared mesh once. */
4041
4083
  static raycast<SectionMeshing extends boolean>(chunks: Iterable<Chunk<SectionMeshing>>, raycaster: Raycaster): WorldBlockIntersection | undefined;
4042
4084
  getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo<SectionMeshing>>;
@@ -4048,11 +4090,14 @@ declare class Chunk<SectionMeshing extends boolean = false> {
4048
4090
  getBiomeAt(pos: TripleArray): Maybe<string>;
4049
4091
  /** Copies 64 biome IDs in x + z * 4 + y * 16 order and refreshes placed blocks. Omit the array to clear biome data. */
4050
4092
  setBiomes(biomes?: readonly string[]): Promise<void>;
4051
- /** Rebuilds biome-tinted blocks while preserving hidden blocks and unrelated render objects. */
4093
+ /**
4094
+ * Rebuilds biome-tinted blocks while preserving hidden blocks and unrelated render objects.
4095
+ * The owning world can defer neighbor culling until all affected chunks are refreshed.
4096
+ */
4052
4097
  refreshBiomes(columns?: readonly {
4053
4098
  x: number;
4054
4099
  z: number;
4055
- }[]): Promise<void>;
4100
+ }[], deferCulling?: boolean): Promise<void>;
4056
4101
  private refreshBiomeBlocks;
4057
4102
  /**
4058
4103
  * Places a block at integer world block coordinates. Pass `undefined` to remove it.
@@ -4063,7 +4108,7 @@ declare class Chunk<SectionMeshing extends boolean = false> {
4063
4108
  /**
4064
4109
  * Places a block at integer chunk-local coordinates from 0 to 15.
4065
4110
  */
4066
- setBlockInChunkAt(pos: Vector3, block?: Block, worldPos?: Vector3, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined): Promise<Maybe<BlockInfo<SectionMeshing>>>;
4111
+ setBlockInChunkAt(pos: Vector3, block?: Block, worldPos?: Vector3, onBlocksChanged?: ((positions: Vector3[], deferCulling?: boolean) => Promise<void>) | undefined): Promise<Maybe<BlockInfo<SectionMeshing>>>;
4067
4112
  /** Places cells in input order and returns changed world positions without refreshing neighbors. */
4068
4113
  placeBlocks(blocks: readonly {
4069
4114
  index: number;
@@ -4228,6 +4273,14 @@ declare class MineRenderWorld<SectionMeshing extends boolean = false> {
4228
4273
  * Coordinates match AnvilChunk.x/z, not block positions. Missing columns are ignored.
4229
4274
  */
4230
4275
  unloadChunkColumn(x: number, z: number): Promise<void>;
4276
+ /**
4277
+ * Removes chunk columns together and refreshes surviving neighbors once.
4278
+ * Coordinates are absolute chunk columns. Duplicate and missing columns are ignored.
4279
+ */
4280
+ unloadChunkColumns(positions: readonly {
4281
+ x: number;
4282
+ z: number;
4283
+ }[]): Promise<void>;
4231
4284
  private clearChunkColumn;
4232
4285
  private markSectionChanged;
4233
4286
  /** Removes all chunks and releases their blocks, section meshes, and owned entities. */
@@ -4305,7 +4358,7 @@ declare class WorldStreamer {
4305
4358
  private running?;
4306
4359
  private disposal?;
4307
4360
  private disposed;
4308
- constructor(world: Pick<MineRenderWorld<boolean>, "placeChunk" | "unloadChunkColumn">, source: WorldChunkSource, options?: WorldStreamerOptions);
4361
+ constructor(world: Pick<MineRenderWorld<boolean>, "placeChunk" | "unloadChunkColumns">, source: WorldChunkSource, options?: WorldStreamerOptions);
4309
4362
  /** Returns absolute coordinates of successfully placed columns, including retained columns. */
4310
4363
  get loadedChunks(): readonly {
4311
4364
  x: number;
@@ -4339,7 +4392,7 @@ declare class WorldStreamer {
4339
4392
  dispose(): Promise<void>;
4340
4393
  private drain;
4341
4394
  private needsLoad;
4342
- private unload;
4395
+ private unloadMany;
4343
4396
  private validateChunk;
4344
4397
  private within;
4345
4398
  private key;
@@ -4418,4 +4471,4 @@ declare class NodeRenderer extends Renderer {
4418
4471
  dispose(): void;
4419
4472
  }
4420
4473
 
4421
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, type AnvilEntityChunk, type AnvilExternalChunkReader, type AnvilParseOptions, 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 BinaryAsset, type Biome, type BiomeColorKind, Biomes, 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 ControlsMode, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DecoratedPotSide, DecoratedPots, 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 FluidQuads, type FluidRules, type FluidSample, type FluidSampler, type FlyAction, FlyControls, type FlyControlsEventMap, 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, ItemDefaults, ItemGlint, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, LitematicaParser, type LitematicaRegion, type LitematicaStructure, type LoadedSceneDocument, type LoadedSceneObject, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderData, type MineRenderDataManifest, type MineRenderDatasets, 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, type NodeImageOptions, NodeRenderer, type NodeRendererOptions, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, PlayerHeadTextures, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenameKind, Renames, type RenderOptions, Renderer, type RendererControls, type RendererFrame, type RendererOptions, type RendererSurface, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResolvedMineRenderData, type ResponseParser, SCENE_DOCUMENT_MAX_BYTES, SKIN_PARTS, type SavedLightSample, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneItemContext, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, type SectionAtlasSize, type SectionFluidInput, type SectionFluidKind, type SectionFluids, type SectionGeometryInput, type SectionGeometryPage, type SectionLightData, 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 WorldBlockIntersection, type WorldChunkSource, type WorldEntityIntersection, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, buildFluidQuads, buildSectionGeometry, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, copySectionLight, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, decodeSceneDocument, encodeSceneDocument, entityAnimationTime, estimateBytesUsed, fluidKindOf, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isFlyControls, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isResourceLocation, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, registerNodeEnv, resolveBlockFluidState, resolveLegacyBlock, resolveLegacyBlockState, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, sampleSectionLight, sectionGeometryTransferables, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas, validateAnimationWeights, yieldToEventLoop };
4474
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, type AnvilEntityChunk, type AnvilExternalChunkReader, type AnvilParseOptions, 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 BinaryAsset, type Biome, type BiomeColorKind, Biomes, 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 ControlsMode, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DecoratedPotSide, DecoratedPots, 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 FluidQuads, type FluidRules, type FluidSample, type FluidSampler, type FlyAction, FlyControls, type FlyControlsEventMap, 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, ItemDefaults, ItemGlint, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, LitematicaParser, type LitematicaRegion, type LitematicaStructure, type LoadedSceneDocument, type LoadedSceneObject, type LogHandler, type LogLevel, type LogThreshold, type Logger, Logging, type LoggingOptions, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderData, type MineRenderDataManifest, type MineRenderDatasets, 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, type NodeImageOptions, NodeRenderer, type NodeRendererOptions, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, PlayerHeadTextures, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenameKind, Renames, type RenderOptions, Renderer, type RendererControls, type RendererFrame, type RendererOptions, type RendererSurface, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResolvedMineRenderData, type ResponseParser, SCENE_DOCUMENT_MAX_BYTES, SKIN_PARTS, type SavedLightSample, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneItemContext, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, type SectionAtlasSize, type SectionFluidInput, type SectionFluidKind, type SectionFluids, type SectionGeometryInput, type SectionGeometryPage, type SectionLightData, 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 WorldBlockIntersection, type WorldChunkSource, type WorldEntityIntersection, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, buildFluidQuads, buildSectionGeometry, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, copySectionLight, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, decodeSceneDocument, encodeSceneDocument, entityAnimationTime, estimateBytesUsed, fluidKindOf, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isFlyControls, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isResourceLocation, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, logger, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, registerNodeEnv, resolveBlockFluidState, resolveLegacyBlock, resolveLegacyBlockState, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, sampleSectionLight, sectionGeometryTransferables, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas, validateAnimationWeights, yieldToEventLoop };
@@ -915,6 +915,9 @@ declare class MinecraftFaceUV {
915
915
  */
916
916
  declare function shutdown(): void;
917
917
 
918
+ declare const DEFAULT_ROOT = "https://assets.mcasset.cloud/1.21.11";
919
+ declare const DEFAULT_NAMESPACE = "minecraft";
920
+
918
921
  /** Runs queued tasks in bounded batches. Idle executors do not keep a timer running. */
919
922
  declare class BatchedExecutor {
920
923
  readonly interval: number;
@@ -932,6 +935,34 @@ declare class BatchedExecutor {
932
935
  }
933
936
  type Task<T = unknown> = () => T | Promise<T>;
934
937
 
938
+ /** Severity of a log message, from most to least verbose. */
939
+ type LogLevel = "debug" | "info" | "warn" | "error";
940
+ /** The lowest level that is printed, or `"silent"` to print nothing. */
941
+ type LogThreshold = LogLevel | "silent";
942
+ /** Receives each message that passes the threshold. `args` are the logger call's arguments, without a tag. */
943
+ type LogHandler = (level: LogLevel, namespace: string, args: unknown[]) => void;
944
+ interface LoggingOptions {
945
+ /** Threshold for namespaces without an override. Starts at `"warn"`. */
946
+ level?: LogThreshold;
947
+ /** Thresholds by logger name, such as `{ UVMapper: "debug" }`. Replaces earlier overrides. */
948
+ namespaces?: Record<string, LogThreshold>;
949
+ }
950
+ interface Logger {
951
+ debug(...args: unknown[]): void;
952
+ info(...args: unknown[]): void;
953
+ warn(...args: unknown[]): void;
954
+ error(...args: unknown[]): void;
955
+ }
956
+ /** Global log settings for every MineRender logger. */
957
+ declare class Logging {
958
+ /** Updates the given settings and keeps the others. */
959
+ static configure(options: LoggingOptions): void;
960
+ /** Sends messages to `handler` instead of the console. Call without an argument to restore console output. */
961
+ static setHandler(handler?: LogHandler): void;
962
+ }
963
+ /** Creates a logger whose messages are tagged and filtered as `namespace`. */
964
+ declare function logger(namespace: string): Logger;
965
+ /** @deprecated Use {@link logger}. */
935
966
  declare function prefix(prefix?: string): string;
936
967
 
937
968
  /** Rotates geometry in place around the element's origin. The supplied angle is in degrees. */
@@ -943,8 +974,11 @@ declare function addWireframeToObject(obj: Object3D, color?: number, w?: number)
943
974
  /** Adds edge and axis helpers to a mesh and returns a function that disposes their resources. */
944
975
  declare function addWireframeToMesh(geo: BufferGeometry, mesh: Mesh, color?: number, w?: number): () => void;
945
976
 
977
+ /** @deprecated Unused by MineRender. */
946
978
  declare function captureException(e: any, ...extra: any[]): void;
979
+ /** @deprecated Unused by MineRender. */
947
980
  declare function timingStart(marker: string): void;
981
+ /** @deprecated Unused by MineRender. */
948
982
  declare function timingEnd(marker: string): void;
949
983
 
950
984
  declare function sha1(str: string): string;
@@ -1059,8 +1093,6 @@ type MultipartCondition = Record<string, string> | {
1059
1093
  AND: MultipartCondition[];
1060
1094
  };
1061
1095
 
1062
- declare const DEFAULT_ROOT = "https://assets.mcasset.cloud/1.21.11";
1063
- declare const DEFAULT_NAMESPACE = "minecraft";
1064
1096
  /** Convenience accessors for model and blockstate loading. */
1065
1097
  declare class Assets {
1066
1098
  /**
@@ -2461,11 +2493,21 @@ interface Palette {
2461
2493
  };
2462
2494
  }
2463
2495
  interface PaletteEntry {
2464
- Name: {
2496
+ Name?: {
2465
2497
  type: "string";
2466
2498
  value: string;
2467
2499
  };
2468
- Properties: {
2500
+ id?: {
2501
+ type: "string";
2502
+ value: string;
2503
+ };
2504
+ Properties?: {
2505
+ type: "compound";
2506
+ value: {
2507
+ [property: string]: PalettePropertyValue;
2508
+ };
2509
+ };
2510
+ properties?: {
2469
2511
  type: "compound";
2470
2512
  value: {
2471
2513
  [property: string]: PalettePropertyValue;
@@ -4036,7 +4078,7 @@ declare class Chunk<SectionMeshing extends boolean = false> {
4036
4078
  private ambientOcclusionCells?;
4037
4079
  private readonly blockChanges;
4038
4080
  private biomeChange?;
4039
- constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined, sectionModels?: SectionModels | undefined, neighborCell?: ((x: number, y: number, z: number) => number) | undefined, biomeAt?: ((x: number, y: number, z: number) => Maybe<string>) | undefined, onBiomesChanged?: ((biomes?: readonly string[]) => Promise<void>) | undefined, lightAt?: ((x: number, y: number, z: number) => number) | undefined, onLightCleared?: (() => Promise<void>) | undefined, ambientLight?: number, biomeBlend?: (() => BiomeBlend | undefined) | undefined);
4081
+ constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[], deferCulling?: boolean) => Promise<void>) | undefined, sectionModels?: SectionModels | undefined, neighborCell?: ((x: number, y: number, z: number) => number) | undefined, biomeAt?: ((x: number, y: number, z: number) => Maybe<string>) | undefined, onBiomesChanged?: ((biomes?: readonly string[]) => Promise<void>) | undefined, lightAt?: ((x: number, y: number, z: number) => number) | undefined, onLightCleared?: (() => Promise<void>) | undefined, ambientLight?: number, biomeBlend?: (() => BiomeBlend | undefined) | undefined);
4040
4082
  /** Finds the nearest owned block hit across sections, testing each shared mesh once. */
4041
4083
  static raycast<SectionMeshing extends boolean>(chunks: Iterable<Chunk<SectionMeshing>>, raycaster: Raycaster): WorldBlockIntersection | undefined;
4042
4084
  getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo<SectionMeshing>>;
@@ -4048,11 +4090,14 @@ declare class Chunk<SectionMeshing extends boolean = false> {
4048
4090
  getBiomeAt(pos: TripleArray): Maybe<string>;
4049
4091
  /** Copies 64 biome IDs in x + z * 4 + y * 16 order and refreshes placed blocks. Omit the array to clear biome data. */
4050
4092
  setBiomes(biomes?: readonly string[]): Promise<void>;
4051
- /** Rebuilds biome-tinted blocks while preserving hidden blocks and unrelated render objects. */
4093
+ /**
4094
+ * Rebuilds biome-tinted blocks while preserving hidden blocks and unrelated render objects.
4095
+ * The owning world can defer neighbor culling until all affected chunks are refreshed.
4096
+ */
4052
4097
  refreshBiomes(columns?: readonly {
4053
4098
  x: number;
4054
4099
  z: number;
4055
- }[]): Promise<void>;
4100
+ }[], deferCulling?: boolean): Promise<void>;
4056
4101
  private refreshBiomeBlocks;
4057
4102
  /**
4058
4103
  * Places a block at integer world block coordinates. Pass `undefined` to remove it.
@@ -4063,7 +4108,7 @@ declare class Chunk<SectionMeshing extends boolean = false> {
4063
4108
  /**
4064
4109
  * Places a block at integer chunk-local coordinates from 0 to 15.
4065
4110
  */
4066
- setBlockInChunkAt(pos: Vector3, block?: Block, worldPos?: Vector3, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined): Promise<Maybe<BlockInfo<SectionMeshing>>>;
4111
+ setBlockInChunkAt(pos: Vector3, block?: Block, worldPos?: Vector3, onBlocksChanged?: ((positions: Vector3[], deferCulling?: boolean) => Promise<void>) | undefined): Promise<Maybe<BlockInfo<SectionMeshing>>>;
4067
4112
  /** Places cells in input order and returns changed world positions without refreshing neighbors. */
4068
4113
  placeBlocks(blocks: readonly {
4069
4114
  index: number;
@@ -4228,6 +4273,14 @@ declare class MineRenderWorld<SectionMeshing extends boolean = false> {
4228
4273
  * Coordinates match AnvilChunk.x/z, not block positions. Missing columns are ignored.
4229
4274
  */
4230
4275
  unloadChunkColumn(x: number, z: number): Promise<void>;
4276
+ /**
4277
+ * Removes chunk columns together and refreshes surviving neighbors once.
4278
+ * Coordinates are absolute chunk columns. Duplicate and missing columns are ignored.
4279
+ */
4280
+ unloadChunkColumns(positions: readonly {
4281
+ x: number;
4282
+ z: number;
4283
+ }[]): Promise<void>;
4231
4284
  private clearChunkColumn;
4232
4285
  private markSectionChanged;
4233
4286
  /** Removes all chunks and releases their blocks, section meshes, and owned entities. */
@@ -4305,7 +4358,7 @@ declare class WorldStreamer {
4305
4358
  private running?;
4306
4359
  private disposal?;
4307
4360
  private disposed;
4308
- constructor(world: Pick<MineRenderWorld<boolean>, "placeChunk" | "unloadChunkColumn">, source: WorldChunkSource, options?: WorldStreamerOptions);
4361
+ constructor(world: Pick<MineRenderWorld<boolean>, "placeChunk" | "unloadChunkColumns">, source: WorldChunkSource, options?: WorldStreamerOptions);
4309
4362
  /** Returns absolute coordinates of successfully placed columns, including retained columns. */
4310
4363
  get loadedChunks(): readonly {
4311
4364
  x: number;
@@ -4339,7 +4392,7 @@ declare class WorldStreamer {
4339
4392
  dispose(): Promise<void>;
4340
4393
  private drain;
4341
4394
  private needsLoad;
4342
- private unload;
4395
+ private unloadMany;
4343
4396
  private validateChunk;
4344
4397
  private within;
4345
4398
  private key;
@@ -4418,4 +4471,4 @@ declare class NodeRenderer extends Renderer {
4418
4471
  dispose(): void;
4419
4472
  }
4420
4473
 
4421
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, type AnvilEntityChunk, type AnvilExternalChunkReader, type AnvilParseOptions, 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 BinaryAsset, type Biome, type BiomeColorKind, Biomes, 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 ControlsMode, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DecoratedPotSide, DecoratedPots, 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 FluidQuads, type FluidRules, type FluidSample, type FluidSampler, type FlyAction, FlyControls, type FlyControlsEventMap, 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, ItemDefaults, ItemGlint, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, LitematicaParser, type LitematicaRegion, type LitematicaStructure, type LoadedSceneDocument, type LoadedSceneObject, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderData, type MineRenderDataManifest, type MineRenderDatasets, 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, type NodeImageOptions, NodeRenderer, type NodeRendererOptions, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, PlayerHeadTextures, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenameKind, Renames, type RenderOptions, Renderer, type RendererControls, type RendererFrame, type RendererOptions, type RendererSurface, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResolvedMineRenderData, type ResponseParser, SCENE_DOCUMENT_MAX_BYTES, SKIN_PARTS, type SavedLightSample, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneItemContext, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, type SectionAtlasSize, type SectionFluidInput, type SectionFluidKind, type SectionFluids, type SectionGeometryInput, type SectionGeometryPage, type SectionLightData, 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 WorldBlockIntersection, type WorldChunkSource, type WorldEntityIntersection, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, buildFluidQuads, buildSectionGeometry, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, copySectionLight, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, decodeSceneDocument, encodeSceneDocument, entityAnimationTime, estimateBytesUsed, fluidKindOf, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isFlyControls, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isResourceLocation, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, registerNodeEnv, resolveBlockFluidState, resolveLegacyBlock, resolveLegacyBlockState, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, sampleSectionLight, sectionGeometryTransferables, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas, validateAnimationWeights, yieldToEventLoop };
4474
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, type AnvilEntityChunk, type AnvilExternalChunkReader, type AnvilParseOptions, 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 BinaryAsset, type Biome, type BiomeColorKind, Biomes, 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 ControlsMode, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, DYE_COLORS, type DebugOptions, type DecoratedPotSide, DecoratedPots, 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 FluidQuads, type FluidRules, type FluidSample, type FluidSampler, type FlyAction, FlyControls, type FlyControlsEventMap, 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, ItemDefaults, ItemGlint, type ItemModel, type ItemModelContext, type ItemModelTextures, type ItemTintColor, type ItemTintSource, ItemTints, type ListAsset, LitematicaParser, type LitematicaRegion, type LitematicaStructure, type LoadedSceneDocument, type LoadedSceneObject, type LogHandler, type LogLevel, type LogThreshold, type Logger, Logging, type LoggingOptions, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderData, type MineRenderDataManifest, type MineRenderDatasets, 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, type NodeImageOptions, NodeRenderer, type NodeRendererOptions, OrbitControls, type PackFormat, PackFormats, PackMetadata, PersistentCache, PlayerHeadTextures, type PositionedGuiGlyph, type QuadArray, type RawImageKey, type RenameKind, Renames, type RenderOptions, Renderer, type RendererControls, type RendererFrame, type RendererOptions, type RendererSurface, type RequestConfig, RequestError, type RequestResponse, Requests, type ResolvedBlockEntity, type ResolvedMineRenderData, type ResponseParser, SCENE_DOCUMENT_MAX_BYTES, SKIN_PARTS, type SavedLightSample, type SceneBlockDefinition, type SceneDocument, SceneDocumentLoader, type SceneEntityDefinition, SceneExporter, type SceneGLTFExportOptions, type SceneGuiDefinition, type SceneGuiLayer, SceneInspector, type SceneItemContext, type SceneModelDefinition, SceneObject, type SceneObjectDefinition, type SceneObjectDefinitionBase, type SceneObjectOptions, type SceneSkinDefinition, type SceneSkinPosePart, SceneStats, SceneStatsDisplay, SchematicParser, type SchematicParserOptions, type SectionAtlasSize, type SectionFluidInput, type SectionFluidKind, type SectionFluids, type SectionGeometryInput, type SectionGeometryPage, type SectionLightData, 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 WorldBlockIntersection, type WorldChunkSource, type WorldEntityIntersection, WorldStreamer, type WorldStreamerOptions, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, buildFluidQuads, buildSectionGeometry, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, copySectionLight, createCanvas, createFluidGeometry, createGuiTextGeometry, createGuiTextureGeometry, createImage, decodeSceneDocument, encodeSceneDocument, entityAnimationTime, estimateBytesUsed, fluidKindOf, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isFlyControls, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isResourceLocation, isSceneObject, isTransformable, isTripleArray, isVector3, layoutGuiText, logger, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, parseSceneDocument, prefix, registerNodeEnv, resolveBlockFluidState, resolveLegacyBlock, resolveLegacyBlockState, sampleEntityAnimation, sampleEntityKeyframes, sampleFluid, sampleSectionLight, sectionGeometryTransferables, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas, validateAnimationWeights, yieldToEventLoop };