minerender 2.1.0-alpha.37 → 2.1.0-alpha.38
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 -2
- package/dist/browser/index.d.ts +21 -2
- package/dist/browser/index.js +275 -111
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +217 -53
- package/dist/browser/index.mjs.map +1 -1
- package/dist/bundle.js +177 -11
- package/dist/bundle.js.map +1 -1
- package/dist/node/index.d.mts +21 -2
- package/dist/node/index.d.ts +21 -2
- package/dist/node/index.js +277 -111
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +217 -53
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.mts
CHANGED
|
@@ -38,6 +38,7 @@ declare enum CubeFaceIndex {
|
|
|
38
38
|
NORTH = 5
|
|
39
39
|
}
|
|
40
40
|
declare const CUBE_FACES: CubeFace[];
|
|
41
|
+
declare const CUBE_FACE_OFFSETS: readonly [readonly [1, 0, 0], readonly [-1, 0, 0], readonly [0, 1, 0], readonly [0, -1, 0], readonly [0, 0, 1], readonly [0, 0, -1]];
|
|
41
42
|
|
|
42
43
|
interface Disposable {
|
|
43
44
|
dispose(): void;
|
|
@@ -804,6 +805,11 @@ declare class DisplayTransforms {
|
|
|
804
805
|
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
805
806
|
}
|
|
806
807
|
|
|
808
|
+
declare class ModelCulling {
|
|
809
|
+
static toLocalMask(worldMask: number, rotation: Euler): number;
|
|
810
|
+
static isOpaqueFullCube(atlas: Maybe<TextureAtlas>): boolean;
|
|
811
|
+
}
|
|
812
|
+
|
|
807
813
|
declare class ModelGenerator {
|
|
808
814
|
static readonly ITEM_LAYERS: string[];
|
|
809
815
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -881,6 +887,7 @@ declare class ModelObject extends SceneObject {
|
|
|
881
887
|
constructor(originalModel: Model, options?: Partial<ModelObjectOptions>);
|
|
882
888
|
init(): Promise<void>;
|
|
883
889
|
get textureAtlas(): Maybe<TextureAtlas>;
|
|
890
|
+
get isOpaqueFullCube(): boolean;
|
|
884
891
|
protected loadTextures(): Promise<void>;
|
|
885
892
|
protected createMeshes(force?: boolean): void;
|
|
886
893
|
protected applyTextures(): void;
|
|
@@ -892,6 +899,8 @@ interface ModelObjectOptions extends SceneObjectOptions {
|
|
|
892
899
|
uvLockRotation?: TripleArray;
|
|
893
900
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
894
901
|
tints?: Record<number, number>;
|
|
902
|
+
/** Hidden neighbor directions in CUBE_FACES order, before the model's block rotation. */
|
|
903
|
+
cullMask?: number;
|
|
895
904
|
}
|
|
896
905
|
declare function isModelObject(obj: any): obj is ModelObject;
|
|
897
906
|
|
|
@@ -1095,11 +1104,17 @@ declare class BlockObject extends SceneObject {
|
|
|
1095
1104
|
private _instanceModel;
|
|
1096
1105
|
private _variants;
|
|
1097
1106
|
private _models;
|
|
1107
|
+
private _cullMask;
|
|
1098
1108
|
constructor(blockState: BlockState, options?: Partial<BlockObjectOptions>);
|
|
1099
1109
|
init(): Promise<void>;
|
|
1100
1110
|
dispose(): void;
|
|
1101
1111
|
removeFromScene(): void;
|
|
1102
1112
|
private clearModels;
|
|
1113
|
+
private removeModels;
|
|
1114
|
+
get isOccluding(): boolean;
|
|
1115
|
+
private getModelMatrix;
|
|
1116
|
+
private getModelCullMask;
|
|
1117
|
+
setCullMask(worldMask: number): Promise<void>;
|
|
1103
1118
|
get state(): {
|
|
1104
1119
|
[key: string]: string;
|
|
1105
1120
|
};
|
|
@@ -1685,13 +1700,14 @@ interface BlockInfo {
|
|
|
1685
1700
|
}
|
|
1686
1701
|
|
|
1687
1702
|
declare class Chunk {
|
|
1703
|
+
private readonly onBlocksChanged?;
|
|
1688
1704
|
readonly scene: MineRenderScene;
|
|
1689
1705
|
readonly x: number;
|
|
1690
1706
|
readonly y: number;
|
|
1691
1707
|
readonly z: number;
|
|
1692
1708
|
private readonly data;
|
|
1693
1709
|
private readonly renderedBlocks;
|
|
1694
|
-
constructor(scene: MineRenderScene, x: number, y: number, z: number);
|
|
1710
|
+
constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined);
|
|
1695
1711
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1696
1712
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
1697
1713
|
getBlockAt(pos: TripleArray): Maybe<BlockInfo>;
|
|
@@ -1731,6 +1747,8 @@ declare class ChunkData {
|
|
|
1731
1747
|
declare class MineRenderWorld {
|
|
1732
1748
|
readonly scene: MineRenderScene;
|
|
1733
1749
|
private readonly _chunks;
|
|
1750
|
+
private readonly pendingCulling;
|
|
1751
|
+
private culling?;
|
|
1734
1752
|
constructor(scene: MineRenderScene);
|
|
1735
1753
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1736
1754
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
@@ -1740,6 +1758,7 @@ declare class MineRenderWorld {
|
|
|
1740
1758
|
setBlockAt(pos: TripleArray, block: Maybe<Block>): Promise<Maybe<BlockInfo>>;
|
|
1741
1759
|
placeMultiBlock(multiblock: MultiBlockStructure, useBatches?: boolean, executor?: BatchedExecutor): Promise<void>;
|
|
1742
1760
|
clear(): Promise<void>;
|
|
1761
|
+
private updateCulling;
|
|
1743
1762
|
private getOrCreateChunkAt;
|
|
1744
1763
|
getChunkAt(pos: Vector3): Maybe<Chunk>;
|
|
1745
1764
|
static worldToScenePosition(pos: Vector3): Vector3;
|
|
@@ -1784,4 +1803,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
|
|
|
1784
1803
|
*/
|
|
1785
1804
|
declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
|
|
1786
1805
|
|
|
1787
|
-
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, BrowserCache, BrowserEnv, CUBE_FACES, 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 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, 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, 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, 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 };
|
|
1806
|
+
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, 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 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, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, 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, 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, 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
|
@@ -38,6 +38,7 @@ declare enum CubeFaceIndex {
|
|
|
38
38
|
NORTH = 5
|
|
39
39
|
}
|
|
40
40
|
declare const CUBE_FACES: CubeFace[];
|
|
41
|
+
declare const CUBE_FACE_OFFSETS: readonly [readonly [1, 0, 0], readonly [-1, 0, 0], readonly [0, 1, 0], readonly [0, -1, 0], readonly [0, 0, 1], readonly [0, 0, -1]];
|
|
41
42
|
|
|
42
43
|
interface Disposable {
|
|
43
44
|
dispose(): void;
|
|
@@ -804,6 +805,11 @@ declare class DisplayTransforms {
|
|
|
804
805
|
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
805
806
|
}
|
|
806
807
|
|
|
808
|
+
declare class ModelCulling {
|
|
809
|
+
static toLocalMask(worldMask: number, rotation: Euler): number;
|
|
810
|
+
static isOpaqueFullCube(atlas: Maybe<TextureAtlas>): boolean;
|
|
811
|
+
}
|
|
812
|
+
|
|
807
813
|
declare class ModelGenerator {
|
|
808
814
|
static readonly ITEM_LAYERS: string[];
|
|
809
815
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -881,6 +887,7 @@ declare class ModelObject extends SceneObject {
|
|
|
881
887
|
constructor(originalModel: Model, options?: Partial<ModelObjectOptions>);
|
|
882
888
|
init(): Promise<void>;
|
|
883
889
|
get textureAtlas(): Maybe<TextureAtlas>;
|
|
890
|
+
get isOpaqueFullCube(): boolean;
|
|
884
891
|
protected loadTextures(): Promise<void>;
|
|
885
892
|
protected createMeshes(force?: boolean): void;
|
|
886
893
|
protected applyTextures(): void;
|
|
@@ -892,6 +899,8 @@ interface ModelObjectOptions extends SceneObjectOptions {
|
|
|
892
899
|
uvLockRotation?: TripleArray;
|
|
893
900
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
894
901
|
tints?: Record<number, number>;
|
|
902
|
+
/** Hidden neighbor directions in CUBE_FACES order, before the model's block rotation. */
|
|
903
|
+
cullMask?: number;
|
|
895
904
|
}
|
|
896
905
|
declare function isModelObject(obj: any): obj is ModelObject;
|
|
897
906
|
|
|
@@ -1095,11 +1104,17 @@ declare class BlockObject extends SceneObject {
|
|
|
1095
1104
|
private _instanceModel;
|
|
1096
1105
|
private _variants;
|
|
1097
1106
|
private _models;
|
|
1107
|
+
private _cullMask;
|
|
1098
1108
|
constructor(blockState: BlockState, options?: Partial<BlockObjectOptions>);
|
|
1099
1109
|
init(): Promise<void>;
|
|
1100
1110
|
dispose(): void;
|
|
1101
1111
|
removeFromScene(): void;
|
|
1102
1112
|
private clearModels;
|
|
1113
|
+
private removeModels;
|
|
1114
|
+
get isOccluding(): boolean;
|
|
1115
|
+
private getModelMatrix;
|
|
1116
|
+
private getModelCullMask;
|
|
1117
|
+
setCullMask(worldMask: number): Promise<void>;
|
|
1103
1118
|
get state(): {
|
|
1104
1119
|
[key: string]: string;
|
|
1105
1120
|
};
|
|
@@ -1685,13 +1700,14 @@ interface BlockInfo {
|
|
|
1685
1700
|
}
|
|
1686
1701
|
|
|
1687
1702
|
declare class Chunk {
|
|
1703
|
+
private readonly onBlocksChanged?;
|
|
1688
1704
|
readonly scene: MineRenderScene;
|
|
1689
1705
|
readonly x: number;
|
|
1690
1706
|
readonly y: number;
|
|
1691
1707
|
readonly z: number;
|
|
1692
1708
|
private readonly data;
|
|
1693
1709
|
private readonly renderedBlocks;
|
|
1694
|
-
constructor(scene: MineRenderScene, x: number, y: number, z: number);
|
|
1710
|
+
constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined);
|
|
1695
1711
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1696
1712
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
1697
1713
|
getBlockAt(pos: TripleArray): Maybe<BlockInfo>;
|
|
@@ -1731,6 +1747,8 @@ declare class ChunkData {
|
|
|
1731
1747
|
declare class MineRenderWorld {
|
|
1732
1748
|
readonly scene: MineRenderScene;
|
|
1733
1749
|
private readonly _chunks;
|
|
1750
|
+
private readonly pendingCulling;
|
|
1751
|
+
private culling?;
|
|
1734
1752
|
constructor(scene: MineRenderScene);
|
|
1735
1753
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1736
1754
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
@@ -1740,6 +1758,7 @@ declare class MineRenderWorld {
|
|
|
1740
1758
|
setBlockAt(pos: TripleArray, block: Maybe<Block>): Promise<Maybe<BlockInfo>>;
|
|
1741
1759
|
placeMultiBlock(multiblock: MultiBlockStructure, useBatches?: boolean, executor?: BatchedExecutor): Promise<void>;
|
|
1742
1760
|
clear(): Promise<void>;
|
|
1761
|
+
private updateCulling;
|
|
1743
1762
|
private getOrCreateChunkAt;
|
|
1744
1763
|
getChunkAt(pos: Vector3): Maybe<Chunk>;
|
|
1745
1764
|
static worldToScenePosition(pos: Vector3): Vector3;
|
|
@@ -1784,4 +1803,4 @@ declare class BrowserCache extends PersistentCache<LocalForage> {
|
|
|
1784
1803
|
*/
|
|
1785
1804
|
declare function probeImageSize(data: Uint8Array): ImageSizeInfo;
|
|
1786
1805
|
|
|
1787
|
-
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, BrowserCache, BrowserEnv, CUBE_FACES, 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 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, 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, 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, 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 };
|
|
1806
|
+
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, 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 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, ModelCulling, type ModelDisplay, type ModelElement, type ModelFaces, ModelGenerator, ModelMerger, ModelObject, type ModelObjectOptions, 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, 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, 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 };
|