minerender 2.1.0-beta.5 → 2.1.0-beta.6

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 (43) hide show
  1. package/dist/browser/esm/Materials.mjs +3 -2
  2. package/dist/browser/esm/Materials.mjs.map +1 -1
  3. package/dist/browser/esm/assets/Fonts.mjs +31 -4
  4. package/dist/browser/esm/assets/Fonts.mjs.map +1 -1
  5. package/dist/browser/esm/assets/_fonts/Unihex.mjs +166 -0
  6. package/dist/browser/esm/assets/_fonts/Unihex.mjs.map +1 -0
  7. package/dist/browser/esm/assets/source/HostedAssetSource.mjs +12 -1
  8. package/dist/browser/esm/assets/source/HostedAssetSource.mjs.map +1 -1
  9. package/dist/browser/esm/assets/source/parser/AssetParsers.mjs +1 -0
  10. package/dist/browser/esm/assets/source/parser/AssetParsers.mjs.map +1 -1
  11. package/dist/browser/esm/cache/Caching.mjs +2 -0
  12. package/dist/browser/esm/cache/Caching.mjs.map +1 -1
  13. package/dist/browser/esm/entity/scene/EntityAnimationPlayer.mjs +62 -11
  14. package/dist/browser/esm/entity/scene/EntityAnimationPlayer.mjs.map +1 -1
  15. package/dist/browser/esm/entity/scene/EntityObject.mjs +53 -20
  16. package/dist/browser/esm/entity/scene/EntityObject.mjs.map +1 -1
  17. package/dist/browser/esm/env/browser/section.worker.mjs +5 -3
  18. package/dist/browser/esm/env/browser/section.worker.mjs.map +1 -1
  19. package/dist/browser/esm/gui/GuiText.mjs +4 -3
  20. package/dist/browser/esm/gui/GuiText.mjs.map +1 -1
  21. package/dist/browser/esm/index.browser.d.mts +52 -10
  22. package/dist/browser/esm/model/scene/ModelObject.mjs +4 -0
  23. package/dist/browser/esm/model/scene/ModelObject.mjs.map +1 -1
  24. package/dist/browser/esm/util/model.mjs +7 -7
  25. package/dist/browser/esm/util/model.mjs.map +1 -1
  26. package/dist/browser/esm/world/SectionGeometry.mjs +5 -3
  27. package/dist/browser/esm/world/SectionGeometry.mjs.map +1 -1
  28. package/dist/browser/esm/world/SectionMesh.mjs +4 -0
  29. package/dist/browser/esm/world/SectionMesh.mjs.map +1 -1
  30. package/dist/browser/esm/world/SectionModels.mjs +2 -2
  31. package/dist/browser/esm/world/SectionModels.mjs.map +1 -1
  32. package/dist/browser/index.d.ts +52 -10
  33. package/dist/browser/index.js +382 -73
  34. package/dist/browser/index.js.map +1 -1
  35. package/dist/bundle.js +425 -73
  36. package/dist/bundle.js.map +1 -1
  37. package/dist/node/index.d.mts +52 -10
  38. package/dist/node/index.d.ts +52 -10
  39. package/dist/node/index.js +387 -73
  40. package/dist/node/index.js.map +1 -1
  41. package/dist/node/index.mjs +386 -73
  42. package/dist/node/index.mjs.map +1 -1
  43. package/package.json +1 -1
@@ -964,7 +964,8 @@ declare enum AssetParser {
964
964
  NBT = "nbt",
965
965
  IMAGE = "image",
966
966
  LIST = "list",
967
- JSON = "json"
967
+ JSON = "json",
968
+ BINARY = "binary"
968
969
  }
969
970
 
970
971
  /** An asset provider registered with {@link AssetLoader.addSource}. */
@@ -1282,14 +1283,20 @@ interface BitmapGlyph {
1282
1283
  scale: number;
1283
1284
  ascent: number;
1284
1285
  advance: number;
1286
+ /** Extra advance and drawing offset for bold text, in GUI pixels. Defaults to 1. */
1287
+ boldOffset?: number;
1288
+ /** Shadow displacement in GUI pixels. Defaults to 1. */
1289
+ shadowOffset?: number;
1285
1290
  }
1286
1291
  /** Character-to-glyph lookup assembled from the active resource-pack fonts. */
1287
1292
  interface BitmapFont {
1288
1293
  glyphs: Map<string, BitmapGlyph>;
1294
+ /** Resolves characters through the font providers before measuring or drawing them. */
1295
+ resolve?(characters: string): Promise<void>;
1289
1296
  }
1290
- /** Loads Minecraft bitmap, space, and reference font providers for GUI text. */
1297
+ /** Loads Minecraft bitmap, Unihex, space, and reference font providers for GUI text. */
1291
1298
  declare class Fonts {
1292
- /** Combines font definitions in source-priority order. Unsupported Unihex and TrueType providers are skipped. */
1299
+ /** Combines font definitions in source-priority order. TrueType providers are skipped. */
1293
1300
  static get(key?: AssetKey | string): Promise<BitmapFont>;
1294
1301
  private static relatedKey;
1295
1302
  private static load;
@@ -1578,25 +1585,35 @@ interface EntityAnimationOptions {
1578
1585
  speed?: number;
1579
1586
  /** Start time in seconds; defaults to 0. */
1580
1587
  time?: number;
1588
+ /** Nonnegative finite weights in clip order; defaults to 1 per clip. Offsets add without normalizing weights. */
1589
+ weights?: readonly number[];
1581
1590
  }
1582
1591
  /**
1583
- * Poses part groups from a keyframe animation the way vanilla does: every update restores the
1584
- * default pose of each animated part, then adds the sampled offsets to its position, Euler angles and scale.
1592
+ * Poses part groups from keyframe animations: every update restores the default pose of each
1593
+ * animated part, then adds weighted sampled offsets to its position, Euler angles and scale.
1585
1594
  * It owns no timer; the owner advances it.
1586
1595
  */
1587
1596
  declare class EntityAnimationPlayer {
1588
1597
  private parts;
1589
- private _animation?;
1598
+ private _animations;
1599
+ private _weights;
1600
+ private loops;
1590
1601
  private _time;
1591
- private loop;
1592
1602
  private speed;
1593
1603
  get animation(): EntityAnimation | undefined;
1604
+ get animations(): readonly EntityAnimation[];
1605
+ get weights(): readonly number[];
1594
1606
  get time(): number;
1595
1607
  /**
1596
1608
  * Starts an animation on matching named parts. Supplied baked poses are the baseline for offsets;
1597
1609
  * without them, the current pose is used. Stopping restores the pose from before playback.
1598
1610
  */
1599
1611
  play(layers: Object3D[], animation: EntityAnimation, options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1612
+ /**
1613
+ * Starts clips on matching parts with a shared clock. Weighted offsets add to the supplied baked poses
1614
+ * or, without poses, to each animated part's pose when playback starts.
1615
+ */
1616
+ playAnimations(layers: Object3D[], animations: readonly EntityAnimation[], options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1600
1617
  /** Restores the poses from before playback. Returns whether an animation was active. */
1601
1618
  stop(): boolean;
1602
1619
  /** Forgets the animation without touching the parts, for parts that no longer exist. */
@@ -1605,8 +1622,12 @@ declare class EntityAnimationPlayer {
1605
1622
  setTime(seconds: number): boolean;
1606
1623
  /** Advances playback by elapsed seconds multiplied by the speed passed to {@link play}. */
1607
1624
  advance(deltaSeconds: number): boolean;
1625
+ /** Changes weights in clip order and reapplies the current time without restarting playback. */
1626
+ setWeights(weights: readonly number[]): boolean;
1608
1627
  private apply;
1609
1628
  }
1629
+ /** @internal */
1630
+ declare function validateAnimationWeights(weights: readonly number[], count: number): number[];
1610
1631
 
1611
1632
  /** Renders selected entity layers as named part groups. Create it through {@link MineRenderScene.addEntity}. */
1612
1633
  declare class EntityObject extends SceneObject {
@@ -1635,8 +1656,10 @@ declare class EntityObject extends SceneObject {
1635
1656
  private updateScroll;
1636
1657
  /** The first active clip, until playback is stopped or the object is disposed. */
1637
1658
  get animation(): Maybe<EntityAnimation>;
1638
- /** Clips playing together, each targeting a separate geometry layer. */
1659
+ /** Clips playing together, in the order passed to {@link playAnimations}. */
1639
1660
  get activeAnimations(): readonly EntityAnimation[];
1661
+ /** Weights of the active clips, in the same order as {@link activeAnimations}. */
1662
+ get animationWeights(): readonly number[];
1640
1663
  /** Seconds since the animation started, before looping. */
1641
1664
  get animationTime(): number;
1642
1665
  /**
@@ -1646,8 +1669,13 @@ declare class EntityObject extends SceneObject {
1646
1669
  * The object owns no clock: call {@link advanceAnimation} per frame, or {@link setAnimationTime}.
1647
1670
  */
1648
1671
  playAnimation(animation: EntityAnimation, options?: EntityAnimationOptions): void;
1649
- /** Plays clips with a shared clock and no blending. Selected layers without their own clip follow `main`. */
1672
+ /**
1673
+ * Plays clips with a shared clock, adding their weighted offsets within each geometry layer.
1674
+ * Weights default to 1 and are not normalized. Selected layers without their own clip follow `main`.
1675
+ */
1650
1676
  playAnimations(animations: readonly EntityAnimation[], options?: EntityAnimationOptions): void;
1677
+ /** Changes weights in active clip order, notifying the scene without restarting the shared clock. Has no effect without an animation. */
1678
+ setAnimationWeights(weights: readonly number[]): void;
1651
1679
  /** Stops all clips and restores the poses from before playback. */
1652
1680
  stopAnimation(): void;
1653
1681
  /** Poses the object at an explicit time in seconds. Has no effect without an animation. */
@@ -2495,6 +2523,7 @@ declare class HostedAssetSource extends AssetSource {
2495
2523
  static readonly IMAGE: ResponseParser<TextureAsset>;
2496
2524
  static readonly LIST: ResponseParser<ListAsset>;
2497
2525
  static readonly JSON: ResponseParser<any>;
2526
+ static readonly BINARY: ResponseParser<BinaryAsset>;
2498
2527
  static readonly PARSER_MAP: Map<AssetParser, ResponseParser<any>>;
2499
2528
  /** Retries missing assets with the `minecraft` namespace and default root. Other failures reject. */
2500
2529
  loadOrRetryWithDefaults<T extends MinecraftAsset>(key: AssetKey, parser: ResponseParser<T>): Promise<Maybe<T>>;
@@ -2515,6 +2544,10 @@ declare class HostedAssetSource extends AssetSource {
2515
2544
  interface HostedAssetSourceOptions {
2516
2545
  retryDefaults: boolean;
2517
2546
  }
2547
+ /** Encoded asset bytes loaded without JSON or image decoding. */
2548
+ interface BinaryAsset extends MinecraftAsset {
2549
+ data: Uint8Array;
2550
+ }
2518
2551
 
2519
2552
  /** A resource-pack ZIP entry, with its archive-relative path and lazily extracted bytes. */
2520
2553
  interface ArchiveEntry {
@@ -2652,6 +2685,12 @@ interface BedrockGeometryFile {
2652
2685
  [key: string]: BedrockGeometry | any;
2653
2686
  }
2654
2687
 
2688
+ interface UnihexFile {
2689
+ indices: Int32Array;
2690
+ rows: Uint32Array;
2691
+ metrics: Uint8Array;
2692
+ }
2693
+
2655
2694
  /** Shared in-memory caches for loaded assets and render resources. Persistent stores are managed separately. */
2656
2695
  declare class Caching {
2657
2696
  private static _generation;
@@ -2677,6 +2716,7 @@ declare class Caching {
2677
2716
  static readonly entityTextureCache: AsyncLoadingCache<CacheKey, AssetKey>;
2678
2717
  static readonly entityAnimationCache: AsyncLoadingCache<CacheKey, EntityAnimationFile>;
2679
2718
  static readonly blockEntityIndexCache: AsyncLoadingCache<CacheKey, BlockEntityIndex>;
2719
+ static readonly unihexCache: AsyncLoadingCache<CacheKey, UnihexFile>;
2680
2720
  static readonly fontCache: AsyncLoadingCache<CacheKey, BitmapFont>;
2681
2721
  static readonly bannerPatternCache: AsyncLoadingCache<CacheKey, BannerPattern>;
2682
2722
  static readonly mineRenderDataCache: AsyncLoadingCache<CacheKey, unknown>;
@@ -3792,6 +3832,7 @@ interface SectionTemplateData {
3792
3832
  uvs: Float32Array;
3793
3833
  uvBounds: Float32Array;
3794
3834
  colors: Float32Array;
3835
+ shade?: Float32Array;
3795
3836
  indices: Uint16Array;
3796
3837
  cullFaces: Uint8Array;
3797
3838
  biomeTint?: Uint8Array;
@@ -3855,6 +3896,7 @@ interface SectionGeometryPage {
3855
3896
  uvs: Float32Array;
3856
3897
  uvBounds: Float32Array;
3857
3898
  colors: Float32Array;
3899
+ shade: Float32Array;
3858
3900
  indices: Uint32Array;
3859
3901
  /** Owning section cell for each quad; each quad contributes two consecutive triangles. */
3860
3902
  blockIndices: Uint16Array;
@@ -4376,4 +4418,4 @@ declare class NodeRenderer extends Renderer {
4376
4418
  dispose(): void;
4377
4419
  }
4378
4420
 
4379
- 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 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, yieldToEventLoop };
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 };
@@ -964,7 +964,8 @@ declare enum AssetParser {
964
964
  NBT = "nbt",
965
965
  IMAGE = "image",
966
966
  LIST = "list",
967
- JSON = "json"
967
+ JSON = "json",
968
+ BINARY = "binary"
968
969
  }
969
970
 
970
971
  /** An asset provider registered with {@link AssetLoader.addSource}. */
@@ -1282,14 +1283,20 @@ interface BitmapGlyph {
1282
1283
  scale: number;
1283
1284
  ascent: number;
1284
1285
  advance: number;
1286
+ /** Extra advance and drawing offset for bold text, in GUI pixels. Defaults to 1. */
1287
+ boldOffset?: number;
1288
+ /** Shadow displacement in GUI pixels. Defaults to 1. */
1289
+ shadowOffset?: number;
1285
1290
  }
1286
1291
  /** Character-to-glyph lookup assembled from the active resource-pack fonts. */
1287
1292
  interface BitmapFont {
1288
1293
  glyphs: Map<string, BitmapGlyph>;
1294
+ /** Resolves characters through the font providers before measuring or drawing them. */
1295
+ resolve?(characters: string): Promise<void>;
1289
1296
  }
1290
- /** Loads Minecraft bitmap, space, and reference font providers for GUI text. */
1297
+ /** Loads Minecraft bitmap, Unihex, space, and reference font providers for GUI text. */
1291
1298
  declare class Fonts {
1292
- /** Combines font definitions in source-priority order. Unsupported Unihex and TrueType providers are skipped. */
1299
+ /** Combines font definitions in source-priority order. TrueType providers are skipped. */
1293
1300
  static get(key?: AssetKey | string): Promise<BitmapFont>;
1294
1301
  private static relatedKey;
1295
1302
  private static load;
@@ -1578,25 +1585,35 @@ interface EntityAnimationOptions {
1578
1585
  speed?: number;
1579
1586
  /** Start time in seconds; defaults to 0. */
1580
1587
  time?: number;
1588
+ /** Nonnegative finite weights in clip order; defaults to 1 per clip. Offsets add without normalizing weights. */
1589
+ weights?: readonly number[];
1581
1590
  }
1582
1591
  /**
1583
- * Poses part groups from a keyframe animation the way vanilla does: every update restores the
1584
- * default pose of each animated part, then adds the sampled offsets to its position, Euler angles and scale.
1592
+ * Poses part groups from keyframe animations: every update restores the default pose of each
1593
+ * animated part, then adds weighted sampled offsets to its position, Euler angles and scale.
1585
1594
  * It owns no timer; the owner advances it.
1586
1595
  */
1587
1596
  declare class EntityAnimationPlayer {
1588
1597
  private parts;
1589
- private _animation?;
1598
+ private _animations;
1599
+ private _weights;
1600
+ private loops;
1590
1601
  private _time;
1591
- private loop;
1592
1602
  private speed;
1593
1603
  get animation(): EntityAnimation | undefined;
1604
+ get animations(): readonly EntityAnimation[];
1605
+ get weights(): readonly number[];
1594
1606
  get time(): number;
1595
1607
  /**
1596
1608
  * Starts an animation on matching named parts. Supplied baked poses are the baseline for offsets;
1597
1609
  * without them, the current pose is used. Stopping restores the pose from before playback.
1598
1610
  */
1599
1611
  play(layers: Object3D[], animation: EntityAnimation, options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1612
+ /**
1613
+ * Starts clips on matching parts with a shared clock. Weighted offsets add to the supplied baked poses
1614
+ * or, without poses, to each animated part's pose when playback starts.
1615
+ */
1616
+ playAnimations(layers: Object3D[], animations: readonly EntityAnimation[], options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1600
1617
  /** Restores the poses from before playback. Returns whether an animation was active. */
1601
1618
  stop(): boolean;
1602
1619
  /** Forgets the animation without touching the parts, for parts that no longer exist. */
@@ -1605,8 +1622,12 @@ declare class EntityAnimationPlayer {
1605
1622
  setTime(seconds: number): boolean;
1606
1623
  /** Advances playback by elapsed seconds multiplied by the speed passed to {@link play}. */
1607
1624
  advance(deltaSeconds: number): boolean;
1625
+ /** Changes weights in clip order and reapplies the current time without restarting playback. */
1626
+ setWeights(weights: readonly number[]): boolean;
1608
1627
  private apply;
1609
1628
  }
1629
+ /** @internal */
1630
+ declare function validateAnimationWeights(weights: readonly number[], count: number): number[];
1610
1631
 
1611
1632
  /** Renders selected entity layers as named part groups. Create it through {@link MineRenderScene.addEntity}. */
1612
1633
  declare class EntityObject extends SceneObject {
@@ -1635,8 +1656,10 @@ declare class EntityObject extends SceneObject {
1635
1656
  private updateScroll;
1636
1657
  /** The first active clip, until playback is stopped or the object is disposed. */
1637
1658
  get animation(): Maybe<EntityAnimation>;
1638
- /** Clips playing together, each targeting a separate geometry layer. */
1659
+ /** Clips playing together, in the order passed to {@link playAnimations}. */
1639
1660
  get activeAnimations(): readonly EntityAnimation[];
1661
+ /** Weights of the active clips, in the same order as {@link activeAnimations}. */
1662
+ get animationWeights(): readonly number[];
1640
1663
  /** Seconds since the animation started, before looping. */
1641
1664
  get animationTime(): number;
1642
1665
  /**
@@ -1646,8 +1669,13 @@ declare class EntityObject extends SceneObject {
1646
1669
  * The object owns no clock: call {@link advanceAnimation} per frame, or {@link setAnimationTime}.
1647
1670
  */
1648
1671
  playAnimation(animation: EntityAnimation, options?: EntityAnimationOptions): void;
1649
- /** Plays clips with a shared clock and no blending. Selected layers without their own clip follow `main`. */
1672
+ /**
1673
+ * Plays clips with a shared clock, adding their weighted offsets within each geometry layer.
1674
+ * Weights default to 1 and are not normalized. Selected layers without their own clip follow `main`.
1675
+ */
1650
1676
  playAnimations(animations: readonly EntityAnimation[], options?: EntityAnimationOptions): void;
1677
+ /** Changes weights in active clip order, notifying the scene without restarting the shared clock. Has no effect without an animation. */
1678
+ setAnimationWeights(weights: readonly number[]): void;
1651
1679
  /** Stops all clips and restores the poses from before playback. */
1652
1680
  stopAnimation(): void;
1653
1681
  /** Poses the object at an explicit time in seconds. Has no effect without an animation. */
@@ -2495,6 +2523,7 @@ declare class HostedAssetSource extends AssetSource {
2495
2523
  static readonly IMAGE: ResponseParser<TextureAsset>;
2496
2524
  static readonly LIST: ResponseParser<ListAsset>;
2497
2525
  static readonly JSON: ResponseParser<any>;
2526
+ static readonly BINARY: ResponseParser<BinaryAsset>;
2498
2527
  static readonly PARSER_MAP: Map<AssetParser, ResponseParser<any>>;
2499
2528
  /** Retries missing assets with the `minecraft` namespace and default root. Other failures reject. */
2500
2529
  loadOrRetryWithDefaults<T extends MinecraftAsset>(key: AssetKey, parser: ResponseParser<T>): Promise<Maybe<T>>;
@@ -2515,6 +2544,10 @@ declare class HostedAssetSource extends AssetSource {
2515
2544
  interface HostedAssetSourceOptions {
2516
2545
  retryDefaults: boolean;
2517
2546
  }
2547
+ /** Encoded asset bytes loaded without JSON or image decoding. */
2548
+ interface BinaryAsset extends MinecraftAsset {
2549
+ data: Uint8Array;
2550
+ }
2518
2551
 
2519
2552
  /** A resource-pack ZIP entry, with its archive-relative path and lazily extracted bytes. */
2520
2553
  interface ArchiveEntry {
@@ -2652,6 +2685,12 @@ interface BedrockGeometryFile {
2652
2685
  [key: string]: BedrockGeometry | any;
2653
2686
  }
2654
2687
 
2688
+ interface UnihexFile {
2689
+ indices: Int32Array;
2690
+ rows: Uint32Array;
2691
+ metrics: Uint8Array;
2692
+ }
2693
+
2655
2694
  /** Shared in-memory caches for loaded assets and render resources. Persistent stores are managed separately. */
2656
2695
  declare class Caching {
2657
2696
  private static _generation;
@@ -2677,6 +2716,7 @@ declare class Caching {
2677
2716
  static readonly entityTextureCache: AsyncLoadingCache<CacheKey, AssetKey>;
2678
2717
  static readonly entityAnimationCache: AsyncLoadingCache<CacheKey, EntityAnimationFile>;
2679
2718
  static readonly blockEntityIndexCache: AsyncLoadingCache<CacheKey, BlockEntityIndex>;
2719
+ static readonly unihexCache: AsyncLoadingCache<CacheKey, UnihexFile>;
2680
2720
  static readonly fontCache: AsyncLoadingCache<CacheKey, BitmapFont>;
2681
2721
  static readonly bannerPatternCache: AsyncLoadingCache<CacheKey, BannerPattern>;
2682
2722
  static readonly mineRenderDataCache: AsyncLoadingCache<CacheKey, unknown>;
@@ -3792,6 +3832,7 @@ interface SectionTemplateData {
3792
3832
  uvs: Float32Array;
3793
3833
  uvBounds: Float32Array;
3794
3834
  colors: Float32Array;
3835
+ shade?: Float32Array;
3795
3836
  indices: Uint16Array;
3796
3837
  cullFaces: Uint8Array;
3797
3838
  biomeTint?: Uint8Array;
@@ -3855,6 +3896,7 @@ interface SectionGeometryPage {
3855
3896
  uvs: Float32Array;
3856
3897
  uvBounds: Float32Array;
3857
3898
  colors: Float32Array;
3899
+ shade: Float32Array;
3858
3900
  indices: Uint32Array;
3859
3901
  /** Owning section cell for each quad; each quad contributes two consecutive triangles. */
3860
3902
  blockIndices: Uint16Array;
@@ -4376,4 +4418,4 @@ declare class NodeRenderer extends Renderer {
4376
4418
  dispose(): void;
4377
4419
  }
4378
4420
 
4379
- 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 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, yieldToEventLoop };
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 };