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/browser/index.d.mts
CHANGED
|
@@ -246,7 +246,8 @@ declare enum DisplayPosition {
|
|
|
246
246
|
GUI = "gui",
|
|
247
247
|
HEAD = "head",
|
|
248
248
|
GROUND = "ground",
|
|
249
|
-
FIXED = "fixed"
|
|
249
|
+
FIXED = "fixed",
|
|
250
|
+
ON_SHELF = "on_shelf"
|
|
250
251
|
}
|
|
251
252
|
declare const DISPLAY_POSITIONS: DisplayPosition[];
|
|
252
253
|
|
|
@@ -344,7 +345,7 @@ declare const DEFAULT_ELEMENTS: ModelElement[];
|
|
|
344
345
|
interface Model extends MinecraftAsset {
|
|
345
346
|
textures?: IModelTextures;
|
|
346
347
|
parent?: string;
|
|
347
|
-
display?: ModelDisplay
|
|
348
|
+
display?: Partial<Record<DisplayPosition, ModelDisplay>>;
|
|
348
349
|
elements?: ModelElement[];
|
|
349
350
|
hierarchy?: string[];
|
|
350
351
|
}
|
|
@@ -359,7 +360,6 @@ interface ItemModel extends Model {
|
|
|
359
360
|
interface TextureAsset extends MinecraftAsset, ImageInfo {
|
|
360
361
|
}
|
|
361
362
|
interface ModelDisplay {
|
|
362
|
-
position?: DisplayPosition;
|
|
363
363
|
translation?: TripleArray;
|
|
364
364
|
rotation?: TripleArray;
|
|
365
365
|
scale?: TripleArray;
|
|
@@ -776,6 +776,14 @@ declare class Models {
|
|
|
776
776
|
static clearCache(): Promise<void>;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
+
declare class DisplayTransforms {
|
|
780
|
+
/** Resolve hand fallbacks within one model, before inheriting parent display entries. */
|
|
781
|
+
static withHandFallbacks(display: Model["display"]): Model["display"];
|
|
782
|
+
/** Build a display pose for geometry already centered at the model's [8, 8, 8] pivot. */
|
|
783
|
+
static getMatrix(display: Model["display"], position: DisplayPosition): Matrix4;
|
|
784
|
+
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
785
|
+
}
|
|
786
|
+
|
|
779
787
|
declare class ModelGenerator {
|
|
780
788
|
static readonly ITEM_LAYERS: string[];
|
|
781
789
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -792,6 +800,12 @@ interface Block {
|
|
|
792
800
|
nbt?: any;
|
|
793
801
|
}
|
|
794
802
|
|
|
803
|
+
declare class BlockTints {
|
|
804
|
+
/** Resolves block preview colors without biome context; explicit tints take precedence. */
|
|
805
|
+
static get(key: AssetKey | undefined, state: BlockStateProperties, model: Model, tints?: Record<number, number>): Promise<Record<number, number> | undefined>;
|
|
806
|
+
private static grassColor;
|
|
807
|
+
}
|
|
808
|
+
|
|
795
809
|
interface Instanceable {
|
|
796
810
|
nextInstance(): InstanceReference<SceneObject>;
|
|
797
811
|
getMatrixAt(index: number, matrix?: Matrix4): Matrix4;
|
|
@@ -848,6 +862,8 @@ declare class ModelObject extends SceneObject {
|
|
|
848
862
|
protected applyTextures(): void;
|
|
849
863
|
}
|
|
850
864
|
interface ModelObjectOptions extends SceneObjectOptions {
|
|
865
|
+
/** Minecraft display pose applied around the model center, before scene transforms. */
|
|
866
|
+
displayPosition?: DisplayPosition;
|
|
851
867
|
/** Quarter-turn block rotation in radians to compensate when locking UVs. */
|
|
852
868
|
uvLockRotation?: TripleArray;
|
|
853
869
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
@@ -1277,6 +1293,7 @@ declare class Caching {
|
|
|
1277
1293
|
static readonly blockStateCache: AsyncLoadingCache<CacheKey, BlockState>;
|
|
1278
1294
|
static readonly listAssetCache: AsyncLoadingCache<CacheKey, ListAsset>;
|
|
1279
1295
|
static readonly defaultBlockStatesCache: AsyncLoadingCache<CacheKey, DefaultBlockStates>;
|
|
1296
|
+
static readonly blockTintCache: AsyncLoadingCache<CacheKey, number>;
|
|
1280
1297
|
static readonly entityModelsCache: AsyncLoadingCache<CacheKey, EntityModels>;
|
|
1281
1298
|
private static createAssetCache;
|
|
1282
1299
|
/** Every cache above, so clear()/end() can never fall out of sync with the field list again. */
|
|
@@ -1679,4 +1696,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
|
|
|
1679
1696
|
*/
|
|
1680
1697
|
declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
|
|
1681
1698
|
|
|
1682
|
-
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, BrowserCache, BrowserEnv, 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, 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, probeImageSize, registerBrowserEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
|
|
1699
|
+
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, BrowserCache, BrowserEnv, 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, 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, probeImageSize, registerBrowserEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -246,7 +246,8 @@ declare enum DisplayPosition {
|
|
|
246
246
|
GUI = "gui",
|
|
247
247
|
HEAD = "head",
|
|
248
248
|
GROUND = "ground",
|
|
249
|
-
FIXED = "fixed"
|
|
249
|
+
FIXED = "fixed",
|
|
250
|
+
ON_SHELF = "on_shelf"
|
|
250
251
|
}
|
|
251
252
|
declare const DISPLAY_POSITIONS: DisplayPosition[];
|
|
252
253
|
|
|
@@ -344,7 +345,7 @@ declare const DEFAULT_ELEMENTS: ModelElement[];
|
|
|
344
345
|
interface Model extends MinecraftAsset {
|
|
345
346
|
textures?: IModelTextures;
|
|
346
347
|
parent?: string;
|
|
347
|
-
display?: ModelDisplay
|
|
348
|
+
display?: Partial<Record<DisplayPosition, ModelDisplay>>;
|
|
348
349
|
elements?: ModelElement[];
|
|
349
350
|
hierarchy?: string[];
|
|
350
351
|
}
|
|
@@ -359,7 +360,6 @@ interface ItemModel extends Model {
|
|
|
359
360
|
interface TextureAsset extends MinecraftAsset, ImageInfo {
|
|
360
361
|
}
|
|
361
362
|
interface ModelDisplay {
|
|
362
|
-
position?: DisplayPosition;
|
|
363
363
|
translation?: TripleArray;
|
|
364
364
|
rotation?: TripleArray;
|
|
365
365
|
scale?: TripleArray;
|
|
@@ -776,6 +776,14 @@ declare class Models {
|
|
|
776
776
|
static clearCache(): Promise<void>;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
+
declare class DisplayTransforms {
|
|
780
|
+
/** Resolve hand fallbacks within one model, before inheriting parent display entries. */
|
|
781
|
+
static withHandFallbacks(display: Model["display"]): Model["display"];
|
|
782
|
+
/** Build a display pose for geometry already centered at the model's [8, 8, 8] pivot. */
|
|
783
|
+
static getMatrix(display: Model["display"], position: DisplayPosition): Matrix4;
|
|
784
|
+
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
785
|
+
}
|
|
786
|
+
|
|
779
787
|
declare class ModelGenerator {
|
|
780
788
|
static readonly ITEM_LAYERS: string[];
|
|
781
789
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -792,6 +800,12 @@ interface Block {
|
|
|
792
800
|
nbt?: any;
|
|
793
801
|
}
|
|
794
802
|
|
|
803
|
+
declare class BlockTints {
|
|
804
|
+
/** Resolves block preview colors without biome context; explicit tints take precedence. */
|
|
805
|
+
static get(key: AssetKey | undefined, state: BlockStateProperties, model: Model, tints?: Record<number, number>): Promise<Record<number, number> | undefined>;
|
|
806
|
+
private static grassColor;
|
|
807
|
+
}
|
|
808
|
+
|
|
795
809
|
interface Instanceable {
|
|
796
810
|
nextInstance(): InstanceReference<SceneObject>;
|
|
797
811
|
getMatrixAt(index: number, matrix?: Matrix4): Matrix4;
|
|
@@ -848,6 +862,8 @@ declare class ModelObject extends SceneObject {
|
|
|
848
862
|
protected applyTextures(): void;
|
|
849
863
|
}
|
|
850
864
|
interface ModelObjectOptions extends SceneObjectOptions {
|
|
865
|
+
/** Minecraft display pose applied around the model center, before scene transforms. */
|
|
866
|
+
displayPosition?: DisplayPosition;
|
|
851
867
|
/** Quarter-turn block rotation in radians to compensate when locking UVs. */
|
|
852
868
|
uvLockRotation?: TripleArray;
|
|
853
869
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
@@ -1277,6 +1293,7 @@ declare class Caching {
|
|
|
1277
1293
|
static readonly blockStateCache: AsyncLoadingCache<CacheKey, BlockState>;
|
|
1278
1294
|
static readonly listAssetCache: AsyncLoadingCache<CacheKey, ListAsset>;
|
|
1279
1295
|
static readonly defaultBlockStatesCache: AsyncLoadingCache<CacheKey, DefaultBlockStates>;
|
|
1296
|
+
static readonly blockTintCache: AsyncLoadingCache<CacheKey, number>;
|
|
1280
1297
|
static readonly entityModelsCache: AsyncLoadingCache<CacheKey, EntityModels>;
|
|
1281
1298
|
private static createAssetCache;
|
|
1282
1299
|
/** Every cache above, so clear()/end() can never fall out of sync with the field list again. */
|
|
@@ -1679,4 +1696,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
|
|
|
1679
1696
|
*/
|
|
1680
1697
|
declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
|
|
1681
1698
|
|
|
1682
|
-
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, BrowserCache, BrowserEnv, 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, 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, probeImageSize, registerBrowserEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
|
|
1699
|
+
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, BrowserCache, BrowserEnv, 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, 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, probeImageSize, registerBrowserEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
|