minerender 2.1.0-alpha.51 → 2.1.0-alpha.53

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.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # MineRender V2
2
2
 
3
3
  A TypeScript library for interactive Minecraft skins, models, blocks, entities, and worlds.
4
- V2 is in alpha. See the [roadmap](https://github.com/InventivetalentDev/MineRender/blob/main/ROADMAP.md) for feature parity and remaining work.
4
+ V2 is in beta. See the [roadmap](https://github.com/InventivetalentDev/MineRender/blob/main/ROADMAP.md) for feature parity and remaining work.
5
5
 
6
- Install the alpha package with its three.js peer:
6
+ Install the beta package with its three.js peer:
7
7
 
8
8
  ```sh
9
- yarn add minerender@alpha three@^0.158.0
9
+ yarn add minerender@beta three@^0.158.0
10
10
  ```
11
11
 
12
12
  In a browser application:
@@ -1014,17 +1014,26 @@ interface EntityObjectOptions extends SceneObjectOptions {
1014
1014
  }
1015
1015
  declare function isEntityObject(obj: any): obj is EntityObject;
1016
1016
 
1017
- /** A texture layer in GUI pixels. Later layers draw above earlier layers. */
1018
- interface GuiLayer {
1017
+ /** GUI layers use pixel coordinates. Later layers draw above earlier layers. */
1018
+ type GuiLayer = GuiTextureLayer | GuiItemLayer;
1019
+ interface GuiLayerLayout {
1019
1020
  name?: string;
1020
- texture: AssetKey | string;
1021
- /** Source-image pixels: [x, y, width, height], measured from the top left. */
1022
- crop?: [number, number, number, number];
1023
1021
  /** Top-left position; x grows right and y grows down. Defaults to [0, 0]. */
1024
1022
  position?: [number, number];
1025
- /** Output width and height. Defaults to the crop or full image size. */
1023
+ /** Output width and height; defaults to the texture crop size or [16, 16] for items. */
1026
1024
  size?: [number, number];
1027
1025
  }
1026
+ interface GuiTextureLayer extends GuiLayerLayout {
1027
+ texture: AssetKey | string;
1028
+ /** Source-image pixels: [x, y, width, height], measured from the top left. */
1029
+ crop?: [number, number, number, number];
1030
+ }
1031
+ interface GuiItemLayer extends GuiLayerLayout {
1032
+ /** Model key, such as minecraft:item/stone; uses the model's GUI display pose. */
1033
+ item: AssetKey | string;
1034
+ /** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
1035
+ tints?: Record<number, number>;
1036
+ }
1028
1037
 
1029
1038
  declare class GuiObject extends SceneObject {
1030
1039
  readonly textureLayers: readonly GuiLayer[];
@@ -1036,6 +1045,7 @@ declare class GuiObject extends SceneObject {
1036
1045
  private initialized;
1037
1046
  constructor(textureLayers: readonly GuiLayer[], options?: Partial<GuiObjectOptions>);
1038
1047
  init(): Promise<void>;
1048
+ private createItem;
1039
1049
  private loadMaterial;
1040
1050
  disposeAndRemoveAllChildren(): void;
1041
1051
  }
@@ -1641,7 +1651,10 @@ declare class Renderer implements Disposable {
1641
1651
  protected _frameInterval?: number;
1642
1652
  protected _resizeListener?: () => void;
1643
1653
  private _nextFrameTime?;
1654
+ private _running;
1655
+ private _inAnimationLoop;
1644
1656
  private _disposed;
1657
+ private readonly _frameCallbacks;
1645
1658
  private readonly _debugHelpers;
1646
1659
  private readonly _eventDispatchers;
1647
1660
  private readonly _changeListener;
@@ -1662,6 +1675,12 @@ declare class Renderer implements Disposable {
1662
1675
  resize(width: number, height: number): void;
1663
1676
  get dirty(): boolean;
1664
1677
  set dirty(dirty: boolean);
1678
+ /**
1679
+ * Calls a synchronous animation update before each FPS-limited draw while started.
1680
+ * Subscriptions keep the scene drawing without manual dirty flags. Returns an unsubscribe function.
1681
+ * Registering the same callback twice has no effect. Image exports do not invoke callbacks.
1682
+ */
1683
+ onFrame(callback: FrameCallback): () => void;
1665
1684
  start(): void;
1666
1685
  stop(): void;
1667
1686
  /**
@@ -1691,6 +1710,13 @@ declare class Renderer implements Disposable {
1691
1710
  /** Renderer-owned controls, or undefined when disabled at construction or after disposal. */
1692
1711
  get controls(): Maybe<OrbitControls>;
1693
1712
  }
1713
+ interface RendererFrame {
1714
+ /** Animation-loop timestamp in seconds, relative to the browser's performance time origin. */
1715
+ readonly time: number;
1716
+ /** Seconds since this callback's previous update; zero on its first update after subscribing or starting. */
1717
+ readonly delta: number;
1718
+ }
1719
+ type FrameCallback = (frame: RendererFrame) => void;
1694
1720
  interface RendererOptions {
1695
1721
  camera: CameraOptions;
1696
1722
  render: RenderOptions;
@@ -1766,13 +1792,15 @@ declare class SceneInspector {
1766
1792
  protected separator(name?: string): HTMLElement;
1767
1793
  }
1768
1794
 
1769
- declare class SceneStatsDisplay {
1795
+ declare class SceneStatsDisplay implements Disposable {
1770
1796
  readonly renderer: Renderer;
1771
1797
  readonly statsContainer: HTMLDivElement;
1772
1798
  private readonly lines;
1799
+ private interval?;
1773
1800
  constructor(renderer: Renderer);
1774
1801
  protected init(): void;
1775
1802
  appendTo(el: HTMLElement): void;
1803
+ dispose(): void;
1776
1804
  add(line?: StatLine): void;
1777
1805
  }
1778
1806
  declare class StatLine {
@@ -2055,4 +2083,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
2055
2083
  */
2056
2084
  declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
2057
2085
 
2058
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, ArchiveAssetSource, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type Block, 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, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type ElementFace, type ElementRotation, Entities, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, type FromTo, Geometries, GuiHelper, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelTextures, type ListAsset, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneExporter, type SceneGLTFExportOptions, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createImage, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, probeImageSize, registerBrowserEnv, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
2086
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, ArchiveAssetSource, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type Block, 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, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type ElementFace, type ElementRotation, Entities, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, type FrameCallback, type FromTo, Geometries, GuiHelper, type GuiItemLayer, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, type GuiTextureLayer, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelTextures, type ListAsset, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererFrame, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneExporter, type SceneGLTFExportOptions, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createImage, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, probeImageSize, registerBrowserEnv, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
@@ -1014,17 +1014,26 @@ interface EntityObjectOptions extends SceneObjectOptions {
1014
1014
  }
1015
1015
  declare function isEntityObject(obj: any): obj is EntityObject;
1016
1016
 
1017
- /** A texture layer in GUI pixels. Later layers draw above earlier layers. */
1018
- interface GuiLayer {
1017
+ /** GUI layers use pixel coordinates. Later layers draw above earlier layers. */
1018
+ type GuiLayer = GuiTextureLayer | GuiItemLayer;
1019
+ interface GuiLayerLayout {
1019
1020
  name?: string;
1020
- texture: AssetKey | string;
1021
- /** Source-image pixels: [x, y, width, height], measured from the top left. */
1022
- crop?: [number, number, number, number];
1023
1021
  /** Top-left position; x grows right and y grows down. Defaults to [0, 0]. */
1024
1022
  position?: [number, number];
1025
- /** Output width and height. Defaults to the crop or full image size. */
1023
+ /** Output width and height; defaults to the texture crop size or [16, 16] for items. */
1026
1024
  size?: [number, number];
1027
1025
  }
1026
+ interface GuiTextureLayer extends GuiLayerLayout {
1027
+ texture: AssetKey | string;
1028
+ /** Source-image pixels: [x, y, width, height], measured from the top left. */
1029
+ crop?: [number, number, number, number];
1030
+ }
1031
+ interface GuiItemLayer extends GuiLayerLayout {
1032
+ /** Model key, such as minecraft:item/stone; uses the model's GUI display pose. */
1033
+ item: AssetKey | string;
1034
+ /** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
1035
+ tints?: Record<number, number>;
1036
+ }
1028
1037
 
1029
1038
  declare class GuiObject extends SceneObject {
1030
1039
  readonly textureLayers: readonly GuiLayer[];
@@ -1036,6 +1045,7 @@ declare class GuiObject extends SceneObject {
1036
1045
  private initialized;
1037
1046
  constructor(textureLayers: readonly GuiLayer[], options?: Partial<GuiObjectOptions>);
1038
1047
  init(): Promise<void>;
1048
+ private createItem;
1039
1049
  private loadMaterial;
1040
1050
  disposeAndRemoveAllChildren(): void;
1041
1051
  }
@@ -1641,7 +1651,10 @@ declare class Renderer implements Disposable {
1641
1651
  protected _frameInterval?: number;
1642
1652
  protected _resizeListener?: () => void;
1643
1653
  private _nextFrameTime?;
1654
+ private _running;
1655
+ private _inAnimationLoop;
1644
1656
  private _disposed;
1657
+ private readonly _frameCallbacks;
1645
1658
  private readonly _debugHelpers;
1646
1659
  private readonly _eventDispatchers;
1647
1660
  private readonly _changeListener;
@@ -1662,6 +1675,12 @@ declare class Renderer implements Disposable {
1662
1675
  resize(width: number, height: number): void;
1663
1676
  get dirty(): boolean;
1664
1677
  set dirty(dirty: boolean);
1678
+ /**
1679
+ * Calls a synchronous animation update before each FPS-limited draw while started.
1680
+ * Subscriptions keep the scene drawing without manual dirty flags. Returns an unsubscribe function.
1681
+ * Registering the same callback twice has no effect. Image exports do not invoke callbacks.
1682
+ */
1683
+ onFrame(callback: FrameCallback): () => void;
1665
1684
  start(): void;
1666
1685
  stop(): void;
1667
1686
  /**
@@ -1691,6 +1710,13 @@ declare class Renderer implements Disposable {
1691
1710
  /** Renderer-owned controls, or undefined when disabled at construction or after disposal. */
1692
1711
  get controls(): Maybe<OrbitControls>;
1693
1712
  }
1713
+ interface RendererFrame {
1714
+ /** Animation-loop timestamp in seconds, relative to the browser's performance time origin. */
1715
+ readonly time: number;
1716
+ /** Seconds since this callback's previous update; zero on its first update after subscribing or starting. */
1717
+ readonly delta: number;
1718
+ }
1719
+ type FrameCallback = (frame: RendererFrame) => void;
1694
1720
  interface RendererOptions {
1695
1721
  camera: CameraOptions;
1696
1722
  render: RenderOptions;
@@ -1766,13 +1792,15 @@ declare class SceneInspector {
1766
1792
  protected separator(name?: string): HTMLElement;
1767
1793
  }
1768
1794
 
1769
- declare class SceneStatsDisplay {
1795
+ declare class SceneStatsDisplay implements Disposable {
1770
1796
  readonly renderer: Renderer;
1771
1797
  readonly statsContainer: HTMLDivElement;
1772
1798
  private readonly lines;
1799
+ private interval?;
1773
1800
  constructor(renderer: Renderer);
1774
1801
  protected init(): void;
1775
1802
  appendTo(el: HTMLElement): void;
1803
+ dispose(): void;
1776
1804
  add(line?: StatLine): void;
1777
1805
  }
1778
1806
  declare class StatLine {
@@ -2055,4 +2083,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
2055
2083
  */
2056
2084
  declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
2057
2085
 
2058
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, ArchiveAssetSource, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type Block, 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, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type ElementFace, type ElementRotation, Entities, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, type FromTo, Geometries, GuiHelper, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelTextures, type ListAsset, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneExporter, type SceneGLTFExportOptions, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createImage, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, probeImageSize, registerBrowserEnv, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };
2086
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, type AnvilChunk, AnvilParser, type AnvilRegion, ArchiveAssetSource, type ArchiveEntry, type ArchiveProxy, AssetKey, AssetLoadError, AssetLoader, AssetParser, AssetSource, type AssetType, Assets, Axis, BUILTIN_ENTITY, BUILTIN_GENERATED, BasicAssetKey, type BasicMinecraftAsset, BatchedExecutor, type BedrockBone, type BedrockCube, type BedrockEntityDescription, type BedrockEntityFile, type BedrockGeometry, type BedrockGeometryFile, type Block, 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, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, CubeFace, CubeFaceIndex, DEFAULT_ELEMENTS, DEFAULT_NAMESPACE, DEFAULT_ROOT, DEFAULT_UV, DISPLAY_POSITIONS, type DebugOptions, type DeepPartial, DefaultBlockStates, DisplayPosition, DisplayTransforms, type Disposable, type DoubleArray, type ElementFace, type ElementRotation, Entities, type EntityLayer, type EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FluidKind, FluidModelObject, type FluidSample, type FluidSampler, type FrameCallback, type FromTo, Geometries, GuiHelper, type GuiItemLayer, type GuiLayer, GuiLight, GuiObject, type GuiObjectOptions, type GuiTextureLayer, HostedAssetSource, type IModelTextures, ITEM_GENERATED, type ImageInfo, ImageLoader, type ImageSizeInfo, InstanceManager, InstanceReference, type Instanceable, type ItemModel, type ItemModelTextures, type ListAsset, MapControls, type MaterialKey, Materials, type Maybe, type MeshKey, Meshes, MineRenderError, MineRenderScene, type MineRenderSceneOptions, MineRenderWorld, type MineRenderWorldOptions, type MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockEntity, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererFrame, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneExporter, type SceneGLTFExportOptions, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, SectionMesh, type SectionMeshEntry, type SectionMeshTemplate, SectionModels, type Serializable, type SkinGeometries, SkinImage, SkinObject, type SkinObjectOptions, SkinPart, type SkinTexture, type SkinTextureCoordinates, SkinTextures, Skins, type StructureNBT, StructureParser, type TextureAsset, TextureAtlas, type TextureKey, TextureLoader, Textures, Ticker, type TickerFunction, TintColors, type Transformable, type TripleArray, UVMapper, WrappedImage, addBox3WireframeToObject, addWireframeToMesh, addWireframeToObject, applyElementRotation, applyGenericRotation, axisToVec3, base64decode, base64encode, capeTextureSizes, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createFluidGeometry, createImage, estimateBytesUsed, getBlockFluidState, getFluidKind, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isGuiObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, probeImageSize, registerBrowserEnv, sampleFluid, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode, trimCanvas };