minerender 2.1.0-alpha.20 → 2.1.0-alpha.22
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/dist/browser/index.d.mts +21 -4
- package/dist/browser/index.d.ts +21 -4
- package/dist/browser/index.js +327 -185
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +235 -93
- package/dist/browser/index.mjs.map +1 -1
- package/dist/bundle.js +186 -37
- package/dist/bundle.js.map +1 -1
- package/dist/node/index.d.mts +21 -4
- package/dist/node/index.d.ts +21 -4
- package/dist/node/index.js +331 -185
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +237 -93
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/node/index.d.mts
CHANGED
|
@@ -247,7 +247,8 @@ declare enum DisplayPosition {
|
|
|
247
247
|
GUI = "gui",
|
|
248
248
|
HEAD = "head",
|
|
249
249
|
GROUND = "ground",
|
|
250
|
-
FIXED = "fixed"
|
|
250
|
+
FIXED = "fixed",
|
|
251
|
+
ON_SHELF = "on_shelf"
|
|
251
252
|
}
|
|
252
253
|
declare const DISPLAY_POSITIONS: DisplayPosition[];
|
|
253
254
|
|
|
@@ -345,7 +346,7 @@ declare const DEFAULT_ELEMENTS: ModelElement[];
|
|
|
345
346
|
interface Model extends MinecraftAsset {
|
|
346
347
|
textures?: IModelTextures;
|
|
347
348
|
parent?: string;
|
|
348
|
-
display?: ModelDisplay
|
|
349
|
+
display?: Partial<Record<DisplayPosition, ModelDisplay>>;
|
|
349
350
|
elements?: ModelElement[];
|
|
350
351
|
hierarchy?: string[];
|
|
351
352
|
}
|
|
@@ -360,7 +361,6 @@ interface ItemModel extends Model {
|
|
|
360
361
|
interface TextureAsset extends MinecraftAsset, ImageInfo {
|
|
361
362
|
}
|
|
362
363
|
interface ModelDisplay {
|
|
363
|
-
position?: DisplayPosition;
|
|
364
364
|
translation?: TripleArray;
|
|
365
365
|
rotation?: TripleArray;
|
|
366
366
|
scale?: TripleArray;
|
|
@@ -777,6 +777,14 @@ declare class Models {
|
|
|
777
777
|
static clearCache(): Promise<void>;
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
+
declare class DisplayTransforms {
|
|
781
|
+
/** Resolve hand fallbacks within one model, before inheriting parent display entries. */
|
|
782
|
+
static withHandFallbacks(display: Model["display"]): Model["display"];
|
|
783
|
+
/** Build a display pose for geometry already centered at the model's [8, 8, 8] pivot. */
|
|
784
|
+
static getMatrix(display: Model["display"], position: DisplayPosition): Matrix4;
|
|
785
|
+
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
786
|
+
}
|
|
787
|
+
|
|
780
788
|
declare class ModelGenerator {
|
|
781
789
|
static readonly ITEM_LAYERS: string[];
|
|
782
790
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -793,6 +801,12 @@ interface Block {
|
|
|
793
801
|
nbt?: any;
|
|
794
802
|
}
|
|
795
803
|
|
|
804
|
+
declare class BlockTints {
|
|
805
|
+
/** Resolves block preview colors without biome context; explicit tints take precedence. */
|
|
806
|
+
static get(key: AssetKey | undefined, state: BlockStateProperties, model: Model, tints?: Record<number, number>): Promise<Record<number, number> | undefined>;
|
|
807
|
+
private static grassColor;
|
|
808
|
+
}
|
|
809
|
+
|
|
796
810
|
interface Instanceable {
|
|
797
811
|
nextInstance(): InstanceReference<SceneObject>;
|
|
798
812
|
getMatrixAt(index: number, matrix?: Matrix4): Matrix4;
|
|
@@ -849,6 +863,8 @@ declare class ModelObject extends SceneObject {
|
|
|
849
863
|
protected applyTextures(): void;
|
|
850
864
|
}
|
|
851
865
|
interface ModelObjectOptions extends SceneObjectOptions {
|
|
866
|
+
/** Minecraft display pose applied around the model center, before scene transforms. */
|
|
867
|
+
displayPosition?: DisplayPosition;
|
|
852
868
|
/** Quarter-turn block rotation in radians to compensate when locking UVs. */
|
|
853
869
|
uvLockRotation?: TripleArray;
|
|
854
870
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
@@ -1278,6 +1294,7 @@ declare class Caching {
|
|
|
1278
1294
|
static readonly blockStateCache: AsyncLoadingCache<CacheKey, BlockState>;
|
|
1279
1295
|
static readonly listAssetCache: AsyncLoadingCache<CacheKey, ListAsset>;
|
|
1280
1296
|
static readonly defaultBlockStatesCache: AsyncLoadingCache<CacheKey, DefaultBlockStates>;
|
|
1297
|
+
static readonly blockTintCache: AsyncLoadingCache<CacheKey, number>;
|
|
1281
1298
|
static readonly entityModelsCache: AsyncLoadingCache<CacheKey, EntityModels>;
|
|
1282
1299
|
private static createAssetCache;
|
|
1283
1300
|
/** Every cache above, so clear()/end() can never fall out of sync with the field list again. */
|
|
@@ -1682,4 +1699,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
|
|
|
1682
1699
|
forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
|
|
1683
1700
|
}
|
|
1684
1701
|
|
|
1685
|
-
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, 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, 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 };
|
|
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 };
|
package/dist/node/index.d.ts
CHANGED
|
@@ -247,7 +247,8 @@ declare enum DisplayPosition {
|
|
|
247
247
|
GUI = "gui",
|
|
248
248
|
HEAD = "head",
|
|
249
249
|
GROUND = "ground",
|
|
250
|
-
FIXED = "fixed"
|
|
250
|
+
FIXED = "fixed",
|
|
251
|
+
ON_SHELF = "on_shelf"
|
|
251
252
|
}
|
|
252
253
|
declare const DISPLAY_POSITIONS: DisplayPosition[];
|
|
253
254
|
|
|
@@ -345,7 +346,7 @@ declare const DEFAULT_ELEMENTS: ModelElement[];
|
|
|
345
346
|
interface Model extends MinecraftAsset {
|
|
346
347
|
textures?: IModelTextures;
|
|
347
348
|
parent?: string;
|
|
348
|
-
display?: ModelDisplay
|
|
349
|
+
display?: Partial<Record<DisplayPosition, ModelDisplay>>;
|
|
349
350
|
elements?: ModelElement[];
|
|
350
351
|
hierarchy?: string[];
|
|
351
352
|
}
|
|
@@ -360,7 +361,6 @@ interface ItemModel extends Model {
|
|
|
360
361
|
interface TextureAsset extends MinecraftAsset, ImageInfo {
|
|
361
362
|
}
|
|
362
363
|
interface ModelDisplay {
|
|
363
|
-
position?: DisplayPosition;
|
|
364
364
|
translation?: TripleArray;
|
|
365
365
|
rotation?: TripleArray;
|
|
366
366
|
scale?: TripleArray;
|
|
@@ -777,6 +777,14 @@ declare class Models {
|
|
|
777
777
|
static clearCache(): Promise<void>;
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
+
declare class DisplayTransforms {
|
|
781
|
+
/** Resolve hand fallbacks within one model, before inheriting parent display entries. */
|
|
782
|
+
static withHandFallbacks(display: Model["display"]): Model["display"];
|
|
783
|
+
/** Build a display pose for geometry already centered at the model's [8, 8, 8] pivot. */
|
|
784
|
+
static getMatrix(display: Model["display"], position: DisplayPosition): Matrix4;
|
|
785
|
+
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
786
|
+
}
|
|
787
|
+
|
|
780
788
|
declare class ModelGenerator {
|
|
781
789
|
static readonly ITEM_LAYERS: string[];
|
|
782
790
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -793,6 +801,12 @@ interface Block {
|
|
|
793
801
|
nbt?: any;
|
|
794
802
|
}
|
|
795
803
|
|
|
804
|
+
declare class BlockTints {
|
|
805
|
+
/** Resolves block preview colors without biome context; explicit tints take precedence. */
|
|
806
|
+
static get(key: AssetKey | undefined, state: BlockStateProperties, model: Model, tints?: Record<number, number>): Promise<Record<number, number> | undefined>;
|
|
807
|
+
private static grassColor;
|
|
808
|
+
}
|
|
809
|
+
|
|
796
810
|
interface Instanceable {
|
|
797
811
|
nextInstance(): InstanceReference<SceneObject>;
|
|
798
812
|
getMatrixAt(index: number, matrix?: Matrix4): Matrix4;
|
|
@@ -849,6 +863,8 @@ declare class ModelObject extends SceneObject {
|
|
|
849
863
|
protected applyTextures(): void;
|
|
850
864
|
}
|
|
851
865
|
interface ModelObjectOptions extends SceneObjectOptions {
|
|
866
|
+
/** Minecraft display pose applied around the model center, before scene transforms. */
|
|
867
|
+
displayPosition?: DisplayPosition;
|
|
852
868
|
/** Quarter-turn block rotation in radians to compensate when locking UVs. */
|
|
853
869
|
uvLockRotation?: TripleArray;
|
|
854
870
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
@@ -1278,6 +1294,7 @@ declare class Caching {
|
|
|
1278
1294
|
static readonly blockStateCache: AsyncLoadingCache<CacheKey, BlockState>;
|
|
1279
1295
|
static readonly listAssetCache: AsyncLoadingCache<CacheKey, ListAsset>;
|
|
1280
1296
|
static readonly defaultBlockStatesCache: AsyncLoadingCache<CacheKey, DefaultBlockStates>;
|
|
1297
|
+
static readonly blockTintCache: AsyncLoadingCache<CacheKey, number>;
|
|
1281
1298
|
static readonly entityModelsCache: AsyncLoadingCache<CacheKey, EntityModels>;
|
|
1282
1299
|
private static createAssetCache;
|
|
1283
1300
|
/** Every cache above, so clear()/end() can never fall out of sync with the field list again. */
|
|
@@ -1682,4 +1699,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
|
|
|
1682
1699
|
forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
|
|
1683
1700
|
}
|
|
1684
1701
|
|
|
1685
|
-
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, 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, 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 };
|
|
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 };
|