minerender 2.1.0-alpha.131 → 2.1.0-alpha.133

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.
@@ -962,7 +962,8 @@ declare enum AssetParser {
962
962
  NBT = "nbt",
963
963
  IMAGE = "image",
964
964
  LIST = "list",
965
- JSON = "json"
965
+ JSON = "json",
966
+ BINARY = "binary"
966
967
  }
967
968
 
968
969
  /** An asset provider registered with {@link AssetLoader.addSource}. */
@@ -1280,14 +1281,20 @@ interface BitmapGlyph {
1280
1281
  scale: number;
1281
1282
  ascent: number;
1282
1283
  advance: number;
1284
+ /** Extra advance and drawing offset for bold text, in GUI pixels. Defaults to 1. */
1285
+ boldOffset?: number;
1286
+ /** Shadow displacement in GUI pixels. Defaults to 1. */
1287
+ shadowOffset?: number;
1283
1288
  }
1284
1289
  /** Character-to-glyph lookup assembled from the active resource-pack fonts. */
1285
1290
  interface BitmapFont {
1286
1291
  glyphs: Map<string, BitmapGlyph>;
1292
+ /** Resolves characters through the font providers before measuring or drawing them. */
1293
+ resolve?(characters: string): Promise<void>;
1287
1294
  }
1288
- /** Loads Minecraft bitmap, space, and reference font providers for GUI text. */
1295
+ /** Loads Minecraft bitmap, Unihex, space, and reference font providers for GUI text. */
1289
1296
  declare class Fonts {
1290
- /** Combines font definitions in source-priority order. Unsupported Unihex and TrueType providers are skipped. */
1297
+ /** Combines font definitions in source-priority order. TrueType providers are skipped. */
1291
1298
  static get(key?: AssetKey | string): Promise<BitmapFont>;
1292
1299
  private static relatedKey;
1293
1300
  private static load;
@@ -1576,25 +1583,35 @@ interface EntityAnimationOptions {
1576
1583
  speed?: number;
1577
1584
  /** Start time in seconds; defaults to 0. */
1578
1585
  time?: number;
1586
+ /** Nonnegative finite weights in clip order; defaults to 1 per clip. Offsets add without normalizing weights. */
1587
+ weights?: readonly number[];
1579
1588
  }
1580
1589
  /**
1581
- * Poses part groups from a keyframe animation the way vanilla does: every update restores the
1582
- * default pose of each animated part, then adds the sampled offsets to its position, Euler angles and scale.
1590
+ * Poses part groups from keyframe animations: every update restores the default pose of each
1591
+ * animated part, then adds weighted sampled offsets to its position, Euler angles and scale.
1583
1592
  * It owns no timer; the owner advances it.
1584
1593
  */
1585
1594
  declare class EntityAnimationPlayer {
1586
1595
  private parts;
1587
- private _animation?;
1596
+ private _animations;
1597
+ private _weights;
1598
+ private loops;
1588
1599
  private _time;
1589
- private loop;
1590
1600
  private speed;
1591
1601
  get animation(): EntityAnimation | undefined;
1602
+ get animations(): readonly EntityAnimation[];
1603
+ get weights(): readonly number[];
1592
1604
  get time(): number;
1593
1605
  /**
1594
1606
  * Starts an animation on matching named parts. Supplied baked poses are the baseline for offsets;
1595
1607
  * without them, the current pose is used. Stopping restores the pose from before playback.
1596
1608
  */
1597
1609
  play(layers: Object3D[], animation: EntityAnimation, options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1610
+ /**
1611
+ * Starts clips on matching parts with a shared clock. Weighted offsets add to the supplied baked poses
1612
+ * or, without poses, to each animated part's pose when playback starts.
1613
+ */
1614
+ playAnimations(layers: Object3D[], animations: readonly EntityAnimation[], options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1598
1615
  /** Restores the poses from before playback. Returns whether an animation was active. */
1599
1616
  stop(): boolean;
1600
1617
  /** Forgets the animation without touching the parts, for parts that no longer exist. */
@@ -1603,8 +1620,12 @@ declare class EntityAnimationPlayer {
1603
1620
  setTime(seconds: number): boolean;
1604
1621
  /** Advances playback by elapsed seconds multiplied by the speed passed to {@link play}. */
1605
1622
  advance(deltaSeconds: number): boolean;
1623
+ /** Changes weights in clip order and reapplies the current time without restarting playback. */
1624
+ setWeights(weights: readonly number[]): boolean;
1606
1625
  private apply;
1607
1626
  }
1627
+ /** @internal */
1628
+ declare function validateAnimationWeights(weights: readonly number[], count: number): number[];
1608
1629
 
1609
1630
  /** Renders selected entity layers as named part groups. Create it through {@link MineRenderScene.addEntity}. */
1610
1631
  declare class EntityObject extends SceneObject {
@@ -1633,8 +1654,10 @@ declare class EntityObject extends SceneObject {
1633
1654
  private updateScroll;
1634
1655
  /** The first active clip, until playback is stopped or the object is disposed. */
1635
1656
  get animation(): Maybe<EntityAnimation>;
1636
- /** Clips playing together, each targeting a separate geometry layer. */
1657
+ /** Clips playing together, in the order passed to {@link playAnimations}. */
1637
1658
  get activeAnimations(): readonly EntityAnimation[];
1659
+ /** Weights of the active clips, in the same order as {@link activeAnimations}. */
1660
+ get animationWeights(): readonly number[];
1638
1661
  /** Seconds since the animation started, before looping. */
1639
1662
  get animationTime(): number;
1640
1663
  /**
@@ -1644,8 +1667,13 @@ declare class EntityObject extends SceneObject {
1644
1667
  * The object owns no clock: call {@link advanceAnimation} per frame, or {@link setAnimationTime}.
1645
1668
  */
1646
1669
  playAnimation(animation: EntityAnimation, options?: EntityAnimationOptions): void;
1647
- /** Plays clips with a shared clock and no blending. Selected layers without their own clip follow `main`. */
1670
+ /**
1671
+ * Plays clips with a shared clock, adding their weighted offsets within each geometry layer.
1672
+ * Weights default to 1 and are not normalized. Selected layers without their own clip follow `main`.
1673
+ */
1648
1674
  playAnimations(animations: readonly EntityAnimation[], options?: EntityAnimationOptions): void;
1675
+ /** Changes weights in active clip order, notifying the scene without restarting the shared clock. Has no effect without an animation. */
1676
+ setAnimationWeights(weights: readonly number[]): void;
1649
1677
  /** Stops all clips and restores the poses from before playback. */
1650
1678
  stopAnimation(): void;
1651
1679
  /** Poses the object at an explicit time in seconds. Has no effect without an animation. */
@@ -2493,6 +2521,7 @@ declare class HostedAssetSource extends AssetSource {
2493
2521
  static readonly IMAGE: ResponseParser<TextureAsset>;
2494
2522
  static readonly LIST: ResponseParser<ListAsset>;
2495
2523
  static readonly JSON: ResponseParser<any>;
2524
+ static readonly BINARY: ResponseParser<BinaryAsset>;
2496
2525
  static readonly PARSER_MAP: Map<AssetParser, ResponseParser<any>>;
2497
2526
  /** Retries missing assets with the `minecraft` namespace and default root. Other failures reject. */
2498
2527
  loadOrRetryWithDefaults<T extends MinecraftAsset>(key: AssetKey, parser: ResponseParser<T>): Promise<Maybe<T>>;
@@ -2513,6 +2542,10 @@ declare class HostedAssetSource extends AssetSource {
2513
2542
  interface HostedAssetSourceOptions {
2514
2543
  retryDefaults: boolean;
2515
2544
  }
2545
+ /** Encoded asset bytes loaded without JSON or image decoding. */
2546
+ interface BinaryAsset extends MinecraftAsset {
2547
+ data: Uint8Array;
2548
+ }
2516
2549
 
2517
2550
  /** A resource-pack ZIP entry, with its archive-relative path and lazily extracted bytes. */
2518
2551
  interface ArchiveEntry {
@@ -2650,6 +2683,12 @@ interface BedrockGeometryFile {
2650
2683
  [key: string]: BedrockGeometry | any;
2651
2684
  }
2652
2685
 
2686
+ interface UnihexFile {
2687
+ indices: Int32Array;
2688
+ rows: Uint32Array;
2689
+ metrics: Uint8Array;
2690
+ }
2691
+
2653
2692
  /** Shared in-memory caches for loaded assets and render resources. Persistent stores are managed separately. */
2654
2693
  declare class Caching {
2655
2694
  private static _generation;
@@ -2675,6 +2714,7 @@ declare class Caching {
2675
2714
  static readonly entityTextureCache: AsyncLoadingCache<CacheKey, AssetKey>;
2676
2715
  static readonly entityAnimationCache: AsyncLoadingCache<CacheKey, EntityAnimationFile>;
2677
2716
  static readonly blockEntityIndexCache: AsyncLoadingCache<CacheKey, BlockEntityIndex>;
2717
+ static readonly unihexCache: AsyncLoadingCache<CacheKey, UnihexFile>;
2678
2718
  static readonly fontCache: AsyncLoadingCache<CacheKey, BitmapFont>;
2679
2719
  static readonly bannerPatternCache: AsyncLoadingCache<CacheKey, BannerPattern>;
2680
2720
  static readonly mineRenderDataCache: AsyncLoadingCache<CacheKey, unknown>;
@@ -4344,4 +4384,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
4344
4384
  */
4345
4385
  declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
4346
4386
 
4347
- 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, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type 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, 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, probeImageSize, registerBrowserEnv, 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 };
4387
+ 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, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type 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, 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, probeImageSize, registerBrowserEnv, 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 };
@@ -962,7 +962,8 @@ declare enum AssetParser {
962
962
  NBT = "nbt",
963
963
  IMAGE = "image",
964
964
  LIST = "list",
965
- JSON = "json"
965
+ JSON = "json",
966
+ BINARY = "binary"
966
967
  }
967
968
 
968
969
  /** An asset provider registered with {@link AssetLoader.addSource}. */
@@ -1280,14 +1281,20 @@ interface BitmapGlyph {
1280
1281
  scale: number;
1281
1282
  ascent: number;
1282
1283
  advance: number;
1284
+ /** Extra advance and drawing offset for bold text, in GUI pixels. Defaults to 1. */
1285
+ boldOffset?: number;
1286
+ /** Shadow displacement in GUI pixels. Defaults to 1. */
1287
+ shadowOffset?: number;
1283
1288
  }
1284
1289
  /** Character-to-glyph lookup assembled from the active resource-pack fonts. */
1285
1290
  interface BitmapFont {
1286
1291
  glyphs: Map<string, BitmapGlyph>;
1292
+ /** Resolves characters through the font providers before measuring or drawing them. */
1293
+ resolve?(characters: string): Promise<void>;
1287
1294
  }
1288
- /** Loads Minecraft bitmap, space, and reference font providers for GUI text. */
1295
+ /** Loads Minecraft bitmap, Unihex, space, and reference font providers for GUI text. */
1289
1296
  declare class Fonts {
1290
- /** Combines font definitions in source-priority order. Unsupported Unihex and TrueType providers are skipped. */
1297
+ /** Combines font definitions in source-priority order. TrueType providers are skipped. */
1291
1298
  static get(key?: AssetKey | string): Promise<BitmapFont>;
1292
1299
  private static relatedKey;
1293
1300
  private static load;
@@ -1576,25 +1583,35 @@ interface EntityAnimationOptions {
1576
1583
  speed?: number;
1577
1584
  /** Start time in seconds; defaults to 0. */
1578
1585
  time?: number;
1586
+ /** Nonnegative finite weights in clip order; defaults to 1 per clip. Offsets add without normalizing weights. */
1587
+ weights?: readonly number[];
1579
1588
  }
1580
1589
  /**
1581
- * Poses part groups from a keyframe animation the way vanilla does: every update restores the
1582
- * default pose of each animated part, then adds the sampled offsets to its position, Euler angles and scale.
1590
+ * Poses part groups from keyframe animations: every update restores the default pose of each
1591
+ * animated part, then adds weighted sampled offsets to its position, Euler angles and scale.
1583
1592
  * It owns no timer; the owner advances it.
1584
1593
  */
1585
1594
  declare class EntityAnimationPlayer {
1586
1595
  private parts;
1587
- private _animation?;
1596
+ private _animations;
1597
+ private _weights;
1598
+ private loops;
1588
1599
  private _time;
1589
- private loop;
1590
1600
  private speed;
1591
1601
  get animation(): EntityAnimation | undefined;
1602
+ get animations(): readonly EntityAnimation[];
1603
+ get weights(): readonly number[];
1592
1604
  get time(): number;
1593
1605
  /**
1594
1606
  * Starts an animation on matching named parts. Supplied baked poses are the baseline for offsets;
1595
1607
  * without them, the current pose is used. Stopping restores the pose from before playback.
1596
1608
  */
1597
1609
  play(layers: Object3D[], animation: EntityAnimation, options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1610
+ /**
1611
+ * Starts clips on matching parts with a shared clock. Weighted offsets add to the supplied baked poses
1612
+ * or, without poses, to each animated part's pose when playback starts.
1613
+ */
1614
+ playAnimations(layers: Object3D[], animations: readonly EntityAnimation[], options?: EntityAnimationOptions, poses?: ReadonlyMap<Object3D, EntityModelPart["pose"]>): void;
1598
1615
  /** Restores the poses from before playback. Returns whether an animation was active. */
1599
1616
  stop(): boolean;
1600
1617
  /** Forgets the animation without touching the parts, for parts that no longer exist. */
@@ -1603,8 +1620,12 @@ declare class EntityAnimationPlayer {
1603
1620
  setTime(seconds: number): boolean;
1604
1621
  /** Advances playback by elapsed seconds multiplied by the speed passed to {@link play}. */
1605
1622
  advance(deltaSeconds: number): boolean;
1623
+ /** Changes weights in clip order and reapplies the current time without restarting playback. */
1624
+ setWeights(weights: readonly number[]): boolean;
1606
1625
  private apply;
1607
1626
  }
1627
+ /** @internal */
1628
+ declare function validateAnimationWeights(weights: readonly number[], count: number): number[];
1608
1629
 
1609
1630
  /** Renders selected entity layers as named part groups. Create it through {@link MineRenderScene.addEntity}. */
1610
1631
  declare class EntityObject extends SceneObject {
@@ -1633,8 +1654,10 @@ declare class EntityObject extends SceneObject {
1633
1654
  private updateScroll;
1634
1655
  /** The first active clip, until playback is stopped or the object is disposed. */
1635
1656
  get animation(): Maybe<EntityAnimation>;
1636
- /** Clips playing together, each targeting a separate geometry layer. */
1657
+ /** Clips playing together, in the order passed to {@link playAnimations}. */
1637
1658
  get activeAnimations(): readonly EntityAnimation[];
1659
+ /** Weights of the active clips, in the same order as {@link activeAnimations}. */
1660
+ get animationWeights(): readonly number[];
1638
1661
  /** Seconds since the animation started, before looping. */
1639
1662
  get animationTime(): number;
1640
1663
  /**
@@ -1644,8 +1667,13 @@ declare class EntityObject extends SceneObject {
1644
1667
  * The object owns no clock: call {@link advanceAnimation} per frame, or {@link setAnimationTime}.
1645
1668
  */
1646
1669
  playAnimation(animation: EntityAnimation, options?: EntityAnimationOptions): void;
1647
- /** Plays clips with a shared clock and no blending. Selected layers without their own clip follow `main`. */
1670
+ /**
1671
+ * Plays clips with a shared clock, adding their weighted offsets within each geometry layer.
1672
+ * Weights default to 1 and are not normalized. Selected layers without their own clip follow `main`.
1673
+ */
1648
1674
  playAnimations(animations: readonly EntityAnimation[], options?: EntityAnimationOptions): void;
1675
+ /** Changes weights in active clip order, notifying the scene without restarting the shared clock. Has no effect without an animation. */
1676
+ setAnimationWeights(weights: readonly number[]): void;
1649
1677
  /** Stops all clips and restores the poses from before playback. */
1650
1678
  stopAnimation(): void;
1651
1679
  /** Poses the object at an explicit time in seconds. Has no effect without an animation. */
@@ -2493,6 +2521,7 @@ declare class HostedAssetSource extends AssetSource {
2493
2521
  static readonly IMAGE: ResponseParser<TextureAsset>;
2494
2522
  static readonly LIST: ResponseParser<ListAsset>;
2495
2523
  static readonly JSON: ResponseParser<any>;
2524
+ static readonly BINARY: ResponseParser<BinaryAsset>;
2496
2525
  static readonly PARSER_MAP: Map<AssetParser, ResponseParser<any>>;
2497
2526
  /** Retries missing assets with the `minecraft` namespace and default root. Other failures reject. */
2498
2527
  loadOrRetryWithDefaults<T extends MinecraftAsset>(key: AssetKey, parser: ResponseParser<T>): Promise<Maybe<T>>;
@@ -2513,6 +2542,10 @@ declare class HostedAssetSource extends AssetSource {
2513
2542
  interface HostedAssetSourceOptions {
2514
2543
  retryDefaults: boolean;
2515
2544
  }
2545
+ /** Encoded asset bytes loaded without JSON or image decoding. */
2546
+ interface BinaryAsset extends MinecraftAsset {
2547
+ data: Uint8Array;
2548
+ }
2516
2549
 
2517
2550
  /** A resource-pack ZIP entry, with its archive-relative path and lazily extracted bytes. */
2518
2551
  interface ArchiveEntry {
@@ -2650,6 +2683,12 @@ interface BedrockGeometryFile {
2650
2683
  [key: string]: BedrockGeometry | any;
2651
2684
  }
2652
2685
 
2686
+ interface UnihexFile {
2687
+ indices: Int32Array;
2688
+ rows: Uint32Array;
2689
+ metrics: Uint8Array;
2690
+ }
2691
+
2653
2692
  /** Shared in-memory caches for loaded assets and render resources. Persistent stores are managed separately. */
2654
2693
  declare class Caching {
2655
2694
  private static _generation;
@@ -2675,6 +2714,7 @@ declare class Caching {
2675
2714
  static readonly entityTextureCache: AsyncLoadingCache<CacheKey, AssetKey>;
2676
2715
  static readonly entityAnimationCache: AsyncLoadingCache<CacheKey, EntityAnimationFile>;
2677
2716
  static readonly blockEntityIndexCache: AsyncLoadingCache<CacheKey, BlockEntityIndex>;
2717
+ static readonly unihexCache: AsyncLoadingCache<CacheKey, UnihexFile>;
2678
2718
  static readonly fontCache: AsyncLoadingCache<CacheKey, BitmapFont>;
2679
2719
  static readonly bannerPatternCache: AsyncLoadingCache<CacheKey, BannerPattern>;
2680
2720
  static readonly mineRenderDataCache: AsyncLoadingCache<CacheKey, unknown>;
@@ -4344,4 +4384,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
4344
4384
  */
4345
4385
  declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
4346
4386
 
4347
- 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, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type 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, 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, probeImageSize, registerBrowserEnv, 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 };
4387
+ 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, BrowserCache, BrowserEnv, CUBE_FACES, CUBE_FACE_OFFSETS, type CacheKey, Caching, type CameraOptions, CanvasImage, type CapeLayout, Chunk, ChunkData, Colormaps, type CompatCanvas, type CompatImage, type ComposerOptions, type 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, 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, probeImageSize, registerBrowserEnv, 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 };