minerender 2.1.0-alpha.22 → 2.1.0-alpha.24

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.
@@ -380,13 +380,7 @@ declare function isDoubleArray(obj: any): obj is DoubleArray;
380
380
  declare function isTripleArray(obj: any): obj is TripleArray;
381
381
  declare function isQuadArray(obj: any): obj is QuadArray;
382
382
 
383
- /**
384
- * down up
385
- * east north west south
386
- *
387
- * bottom-left to top-right
388
- * [bl, br, tl, tr]
389
- */
383
+ /** Vanilla Minecraft cube UVs in Three.js BoxGeometry face and vertex order. */
390
384
  declare class MinecraftCubeTexture {
391
385
  readonly u: number;
392
386
  readonly v: number;
@@ -402,7 +396,7 @@ declare class MinecraftCubeTexture {
402
396
  getUvSouth(w: number, h: number, l: number): QuadArray<DoubleArray>;
403
397
  getUvNorth(w: number, h: number, l: number): QuadArray<DoubleArray>;
404
398
  getFaceUv(face: CubeFace, w: number, h: number, l: number): QuadArray<DoubleArray>;
405
- toUvArray(w: number, h: number, l: number): number[];
399
+ toUvArray(w: number, h: number, l: number, mirror?: boolean): number[];
406
400
  }
407
401
 
408
402
  interface MinecraftTextureMeta extends MinecraftAsset {
@@ -601,32 +595,7 @@ type Task = () => any | Promise<any>;
601
595
 
602
596
  declare function prefix(prefix?: string): string;
603
597
 
604
- interface ModelPart {
605
- textureWidth: number;
606
- textureHeight: number;
607
- textureOffsetU: number;
608
- textureOffsetV: number;
609
- pivotX: number;
610
- pivotY: number;
611
- pivotZ: number;
612
- pitch: number;
613
- yaw: number;
614
- roll: number;
615
- mirror: boolean;
616
- cubes: Cube[];
617
- children: ModelPart[];
618
- }
619
- interface Cube {
620
- minX: number;
621
- minY: number;
622
- minZ: number;
623
- maxX: number;
624
- maxY: number;
625
- maxZ: number;
626
- }
627
-
628
598
  declare function applyElementRotation(rotation: ElementRotation, geometry: BufferGeometry): void;
629
- declare function applyModelPartRotation(modelPart: ModelPart, geometry: BufferGeometry): void;
630
599
  declare function applyGenericRotation(axis: Axis, rotation: number, obj: Object3D): void;
631
600
  declare function addBox3WireframeToObject(box: Box3, obj: Object3D, color?: number, w?: number): void;
632
601
  declare function addWireframeToObject(obj: Object3D, color?: number, w?: number): void;
@@ -668,6 +637,8 @@ declare class AssetLoadError extends Error {
668
637
  declare class AssetLoader {
669
638
  static ROOT: string;
670
639
  private static _SOURCES;
640
+ static get version(): string;
641
+ static setVersion(version: string): void;
671
642
  static addSource(key: string, source: AssetSource, override?: boolean): void;
672
643
  static removeSource(key: string): Maybe<AssetSource>;
673
644
  static getAll<T extends MinecraftAsset>(key: AssetKey, parser: AssetParser | string): Promise<T[]>;
@@ -743,25 +714,47 @@ declare class DefaultBlockStates implements MinecraftAsset {
743
714
  [k: string]: BlockStatePropertyDefaults;
744
715
  }
745
716
 
746
- interface EntityModel extends BasicMinecraftAsset {
747
- parts?: {
748
- [p: string]: ModelPart;
717
+ interface EntityModel {
718
+ key: BasicAssetKey;
719
+ layer: EntityModelLayer;
720
+ id: string;
721
+ }
722
+ interface EntityModelFile extends MinecraftAsset {
723
+ id: string;
724
+ layers: Record<string, EntityModelLayer>;
725
+ }
726
+ interface EntityModelLayer {
727
+ texture: [number, number];
728
+ root: EntityModelPart;
729
+ }
730
+ interface EntityModelPart {
731
+ pose: {
732
+ offset: [number, number, number];
733
+ rotation: [number, number, number];
734
+ scale?: [number, number, number];
749
735
  };
736
+ texture?: [number, number];
737
+ cubes: EntityModelCube[];
738
+ children: Record<string, EntityModelPart>;
739
+ }
740
+ interface EntityModelCube {
741
+ origin: [number, number, number];
742
+ size: [number, number, number];
743
+ uv: [number, number];
744
+ grow?: [number, number, number];
745
+ mirror?: boolean;
750
746
  }
751
747
 
752
748
  declare class Entities {
753
- static getBlockEntityModels(): Promise<Maybe<BlockEntityModels>>;
754
- static getEntityModels(): Promise<Maybe<EntityModels>>;
755
- static getBlockList(): Promise<string[]>;
756
749
  static getEntityList(): Promise<string[]>;
757
- static getBlock(modelKey: BasicAssetKey, textureKey?: BasicAssetKey): Promise<Maybe<EntityModel>>;
758
- static getEntity(modelKey: BasicAssetKey, textureKey?: BasicAssetKey): Promise<Maybe<EntityModel>>;
759
- }
760
- declare class EntityModels implements MinecraftAsset {
761
- [k: string]: any;
750
+ static getEntity(modelKey: BasicAssetKey, textureKey?: BasicAssetKey, options?: EntityModelOptions): Promise<Maybe<EntityModel>>;
751
+ /** @deprecated Use getEntityList(); block entities share the entity dataset. */
752
+ static getBlockList(): Promise<string[]>;
753
+ /** @deprecated Use getEntity(); block entities share the entity dataset. */
754
+ static getBlock(modelKey: BasicAssetKey, textureKey?: BasicAssetKey, options?: EntityModelOptions): Promise<Maybe<EntityModel>>;
762
755
  }
763
- declare class BlockEntityModels implements MinecraftAsset {
764
- [k: string]: any;
756
+ interface EntityModelOptions {
757
+ layer?: string;
765
758
  }
766
759
 
767
760
  declare class Models {
@@ -934,9 +927,11 @@ declare class EntityObject extends SceneObject {
934
927
  private get textureKey();
935
928
  protected loadTextures(): Promise<void>;
936
929
  protected createMeshes(force?: boolean): void;
930
+ private createPart;
937
931
  protected applyTextures(): Promise<void>;
938
932
  }
939
933
  interface EntityObjectOptions extends SceneObjectOptions {
934
+ flip?: boolean;
940
935
  }
941
936
  declare function isEntityObject(obj: any): obj is EntityObject;
942
937
 
@@ -1295,7 +1290,7 @@ declare class Caching {
1295
1290
  static readonly listAssetCache: AsyncLoadingCache<CacheKey, ListAsset>;
1296
1291
  static readonly defaultBlockStatesCache: AsyncLoadingCache<CacheKey, DefaultBlockStates>;
1297
1292
  static readonly blockTintCache: AsyncLoadingCache<CacheKey, number>;
1298
- static readonly entityModelsCache: AsyncLoadingCache<CacheKey, EntityModels>;
1293
+ static readonly entityModelCache: AsyncLoadingCache<CacheKey, EntityModelFile>;
1299
1294
  private static createAssetCache;
1300
1295
  /** Every cache above, so clear()/end() can never fall out of sync with the field list again. */
1301
1296
  private static get all();
@@ -1699,4 +1694,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
1699
1694
  forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
1700
1695
  }
1701
1696
 
1702
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, 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, BlockEntityModels, type BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, CUBE_FACES, type CacheKey, Caching, type CameraOptions, CanvasImage, Chunk, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, type Cube, 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 EntityModel, EntityModels, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FromTo, Geometries, 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 MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, type ModelPart, ModelTextures, Models, type MultiBlockBlock, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, NodeCache, NodeEnv, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, type Serializable, type SkinGeometries, SkinObject, type SkinObjectOptions, SkinPart, type SkinTextureCoordinates, 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, applyModelPartRotation, axisToVec3, base64decode, base64encode, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createImage, estimateBytesUsed, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, registerNodeEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
1697
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, 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 BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, CUBE_FACES, type CacheKey, Caching, type CameraOptions, CanvasImage, Chunk, 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 EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FromTo, Geometries, 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 MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, NodeCache, NodeEnv, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, type Serializable, type SkinGeometries, SkinObject, type SkinObjectOptions, SkinPart, type SkinTextureCoordinates, 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, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createImage, estimateBytesUsed, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, registerNodeEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
@@ -380,13 +380,7 @@ declare function isDoubleArray(obj: any): obj is DoubleArray;
380
380
  declare function isTripleArray(obj: any): obj is TripleArray;
381
381
  declare function isQuadArray(obj: any): obj is QuadArray;
382
382
 
383
- /**
384
- * down up
385
- * east north west south
386
- *
387
- * bottom-left to top-right
388
- * [bl, br, tl, tr]
389
- */
383
+ /** Vanilla Minecraft cube UVs in Three.js BoxGeometry face and vertex order. */
390
384
  declare class MinecraftCubeTexture {
391
385
  readonly u: number;
392
386
  readonly v: number;
@@ -402,7 +396,7 @@ declare class MinecraftCubeTexture {
402
396
  getUvSouth(w: number, h: number, l: number): QuadArray<DoubleArray>;
403
397
  getUvNorth(w: number, h: number, l: number): QuadArray<DoubleArray>;
404
398
  getFaceUv(face: CubeFace, w: number, h: number, l: number): QuadArray<DoubleArray>;
405
- toUvArray(w: number, h: number, l: number): number[];
399
+ toUvArray(w: number, h: number, l: number, mirror?: boolean): number[];
406
400
  }
407
401
 
408
402
  interface MinecraftTextureMeta extends MinecraftAsset {
@@ -601,32 +595,7 @@ type Task = () => any | Promise<any>;
601
595
 
602
596
  declare function prefix(prefix?: string): string;
603
597
 
604
- interface ModelPart {
605
- textureWidth: number;
606
- textureHeight: number;
607
- textureOffsetU: number;
608
- textureOffsetV: number;
609
- pivotX: number;
610
- pivotY: number;
611
- pivotZ: number;
612
- pitch: number;
613
- yaw: number;
614
- roll: number;
615
- mirror: boolean;
616
- cubes: Cube[];
617
- children: ModelPart[];
618
- }
619
- interface Cube {
620
- minX: number;
621
- minY: number;
622
- minZ: number;
623
- maxX: number;
624
- maxY: number;
625
- maxZ: number;
626
- }
627
-
628
598
  declare function applyElementRotation(rotation: ElementRotation, geometry: BufferGeometry): void;
629
- declare function applyModelPartRotation(modelPart: ModelPart, geometry: BufferGeometry): void;
630
599
  declare function applyGenericRotation(axis: Axis, rotation: number, obj: Object3D): void;
631
600
  declare function addBox3WireframeToObject(box: Box3, obj: Object3D, color?: number, w?: number): void;
632
601
  declare function addWireframeToObject(obj: Object3D, color?: number, w?: number): void;
@@ -668,6 +637,8 @@ declare class AssetLoadError extends Error {
668
637
  declare class AssetLoader {
669
638
  static ROOT: string;
670
639
  private static _SOURCES;
640
+ static get version(): string;
641
+ static setVersion(version: string): void;
671
642
  static addSource(key: string, source: AssetSource, override?: boolean): void;
672
643
  static removeSource(key: string): Maybe<AssetSource>;
673
644
  static getAll<T extends MinecraftAsset>(key: AssetKey, parser: AssetParser | string): Promise<T[]>;
@@ -743,25 +714,47 @@ declare class DefaultBlockStates implements MinecraftAsset {
743
714
  [k: string]: BlockStatePropertyDefaults;
744
715
  }
745
716
 
746
- interface EntityModel extends BasicMinecraftAsset {
747
- parts?: {
748
- [p: string]: ModelPart;
717
+ interface EntityModel {
718
+ key: BasicAssetKey;
719
+ layer: EntityModelLayer;
720
+ id: string;
721
+ }
722
+ interface EntityModelFile extends MinecraftAsset {
723
+ id: string;
724
+ layers: Record<string, EntityModelLayer>;
725
+ }
726
+ interface EntityModelLayer {
727
+ texture: [number, number];
728
+ root: EntityModelPart;
729
+ }
730
+ interface EntityModelPart {
731
+ pose: {
732
+ offset: [number, number, number];
733
+ rotation: [number, number, number];
734
+ scale?: [number, number, number];
749
735
  };
736
+ texture?: [number, number];
737
+ cubes: EntityModelCube[];
738
+ children: Record<string, EntityModelPart>;
739
+ }
740
+ interface EntityModelCube {
741
+ origin: [number, number, number];
742
+ size: [number, number, number];
743
+ uv: [number, number];
744
+ grow?: [number, number, number];
745
+ mirror?: boolean;
750
746
  }
751
747
 
752
748
  declare class Entities {
753
- static getBlockEntityModels(): Promise<Maybe<BlockEntityModels>>;
754
- static getEntityModels(): Promise<Maybe<EntityModels>>;
755
- static getBlockList(): Promise<string[]>;
756
749
  static getEntityList(): Promise<string[]>;
757
- static getBlock(modelKey: BasicAssetKey, textureKey?: BasicAssetKey): Promise<Maybe<EntityModel>>;
758
- static getEntity(modelKey: BasicAssetKey, textureKey?: BasicAssetKey): Promise<Maybe<EntityModel>>;
759
- }
760
- declare class EntityModels implements MinecraftAsset {
761
- [k: string]: any;
750
+ static getEntity(modelKey: BasicAssetKey, textureKey?: BasicAssetKey, options?: EntityModelOptions): Promise<Maybe<EntityModel>>;
751
+ /** @deprecated Use getEntityList(); block entities share the entity dataset. */
752
+ static getBlockList(): Promise<string[]>;
753
+ /** @deprecated Use getEntity(); block entities share the entity dataset. */
754
+ static getBlock(modelKey: BasicAssetKey, textureKey?: BasicAssetKey, options?: EntityModelOptions): Promise<Maybe<EntityModel>>;
762
755
  }
763
- declare class BlockEntityModels implements MinecraftAsset {
764
- [k: string]: any;
756
+ interface EntityModelOptions {
757
+ layer?: string;
765
758
  }
766
759
 
767
760
  declare class Models {
@@ -934,9 +927,11 @@ declare class EntityObject extends SceneObject {
934
927
  private get textureKey();
935
928
  protected loadTextures(): Promise<void>;
936
929
  protected createMeshes(force?: boolean): void;
930
+ private createPart;
937
931
  protected applyTextures(): Promise<void>;
938
932
  }
939
933
  interface EntityObjectOptions extends SceneObjectOptions {
934
+ flip?: boolean;
940
935
  }
941
936
  declare function isEntityObject(obj: any): obj is EntityObject;
942
937
 
@@ -1295,7 +1290,7 @@ declare class Caching {
1295
1290
  static readonly listAssetCache: AsyncLoadingCache<CacheKey, ListAsset>;
1296
1291
  static readonly defaultBlockStatesCache: AsyncLoadingCache<CacheKey, DefaultBlockStates>;
1297
1292
  static readonly blockTintCache: AsyncLoadingCache<CacheKey, number>;
1298
- static readonly entityModelsCache: AsyncLoadingCache<CacheKey, EntityModels>;
1293
+ static readonly entityModelCache: AsyncLoadingCache<CacheKey, EntityModelFile>;
1299
1294
  private static createAssetCache;
1300
1295
  /** Every cache above, so clear()/end() can never fall out of sync with the field list again. */
1301
1296
  private static get all();
@@ -1699,4 +1694,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
1699
1694
  forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
1700
1695
  }
1701
1696
 
1702
- export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, 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, BlockEntityModels, type BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, CUBE_FACES, type CacheKey, Caching, type CameraOptions, CanvasImage, Chunk, type CompatCanvas, type CompatImage, type ComposerOptions, type ControlsOptions, type Cube, 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 EntityModel, EntityModels, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FromTo, Geometries, 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 MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, type ModelPart, ModelTextures, Models, type MultiBlockBlock, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, NodeCache, NodeEnv, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, type Serializable, type SkinGeometries, SkinObject, type SkinObjectOptions, SkinPart, type SkinTextureCoordinates, 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, applyModelPartRotation, axisToVec3, base64decode, base64encode, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createImage, estimateBytesUsed, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, registerNodeEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
1697
+ export { AXES, type AnimationFrame, type AnimationMeta, type AnimatorFunction, 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 BlockInfo, type BlockModel, type BlockModelTextures, BlockObject, type BlockObjectOptions, type BlockState, type BlockStateMultipart, type BlockStateProperties, type BlockStateProperty, type BlockStatePropertyDefaults, type BlockStatePropertyValue, type BlockStateVariant, type BlockStateVariants, BlockStates, BlockTints, type BoxGeometryKey, BrowserArchiveProxy, CUBE_FACES, type CacheKey, Caching, type CameraOptions, CanvasImage, Chunk, 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 EntityModel, type EntityModelCube, type EntityModelFile, type EntityModelLayer, type EntityModelOptions, type EntityModelPart, EntityObject, type EntityObjectOptions, Env, type EnvProvider, type ExtractableImageData, type FromTo, Geometries, 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 MinecraftAsset, MinecraftCubeTexture, MinecraftFaceUV, type MinecraftTextureMeta, type Model, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, ModelTextures, Models, type MultiBlockBlock, type MultiBlockStructure, type MultipartCondition, type NBTAsset, NBTHelper, NodeCache, NodeEnv, OrbitControls, PersistentCache, type QuadArray, type RawImageKey, type RenderOptions, Renderer, type RendererOptions, type RequestConfig, RequestError, type RequestResponse, Requests, type ResponseParser, SKIN_PARTS, SceneInspector, SceneObject, type SceneObjectOptions, SceneStats, SceneStatsDisplay, SchematicParser, type Serializable, type SkinGeometries, SkinObject, type SkinObjectOptions, SkinPart, type SkinTextureCoordinates, 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, captureException, changeEvent, clampRotationDegrees, classicSkinGeometries, classicSkinTextureCoordinates, computeMorphedAttributes, createCanvas, createImage, estimateBytesUsed, interleaveAttributes, isAssetKey, isBasicAssetKey, isBlockObject, isDisposable, isDoubleArray, isEntityObject, isInstanceManager, isInstanceReference, isInstanceable, isInstancedMesh, isMesh, isMineRenderScene, isModelObject, isObject3D, isOrthographicCamera, isPerspectiveCamera, isQuadArray, isSceneObject, isTransformable, isTripleArray, isVector3, md5, mergeBufferAttributes, mergeBufferGeometries, mergeVertices, prefix, registerNodeEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };