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/node/index.d.mts
CHANGED
|
@@ -39,6 +39,7 @@ declare enum CubeFaceIndex {
|
|
|
39
39
|
NORTH = 5
|
|
40
40
|
}
|
|
41
41
|
declare const CUBE_FACES: CubeFace[];
|
|
42
|
+
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]];
|
|
42
43
|
|
|
43
44
|
interface Disposable {
|
|
44
45
|
dispose(): void;
|
|
@@ -805,6 +806,11 @@ declare class DisplayTransforms {
|
|
|
805
806
|
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
806
807
|
}
|
|
807
808
|
|
|
809
|
+
declare class ModelCulling {
|
|
810
|
+
static toLocalMask(worldMask: number, rotation: Euler): number;
|
|
811
|
+
static isOpaqueFullCube(atlas: Maybe<TextureAtlas>): boolean;
|
|
812
|
+
}
|
|
813
|
+
|
|
808
814
|
declare class ModelGenerator {
|
|
809
815
|
static readonly ITEM_LAYERS: string[];
|
|
810
816
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -882,6 +888,7 @@ declare class ModelObject extends SceneObject {
|
|
|
882
888
|
constructor(originalModel: Model, options?: Partial<ModelObjectOptions>);
|
|
883
889
|
init(): Promise<void>;
|
|
884
890
|
get textureAtlas(): Maybe<TextureAtlas>;
|
|
891
|
+
get isOpaqueFullCube(): boolean;
|
|
885
892
|
protected loadTextures(): Promise<void>;
|
|
886
893
|
protected createMeshes(force?: boolean): void;
|
|
887
894
|
protected applyTextures(): void;
|
|
@@ -893,6 +900,8 @@ interface ModelObjectOptions extends SceneObjectOptions {
|
|
|
893
900
|
uvLockRotation?: TripleArray;
|
|
894
901
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
895
902
|
tints?: Record<number, number>;
|
|
903
|
+
/** Hidden neighbor directions in CUBE_FACES order, before the model's block rotation. */
|
|
904
|
+
cullMask?: number;
|
|
896
905
|
}
|
|
897
906
|
declare function isModelObject(obj: any): obj is ModelObject;
|
|
898
907
|
|
|
@@ -1096,11 +1105,17 @@ declare class BlockObject extends SceneObject {
|
|
|
1096
1105
|
private _instanceModel;
|
|
1097
1106
|
private _variants;
|
|
1098
1107
|
private _models;
|
|
1108
|
+
private _cullMask;
|
|
1099
1109
|
constructor(blockState: BlockState, options?: Partial<BlockObjectOptions>);
|
|
1100
1110
|
init(): Promise<void>;
|
|
1101
1111
|
dispose(): void;
|
|
1102
1112
|
removeFromScene(): void;
|
|
1103
1113
|
private clearModels;
|
|
1114
|
+
private removeModels;
|
|
1115
|
+
get isOccluding(): boolean;
|
|
1116
|
+
private getModelMatrix;
|
|
1117
|
+
private getModelCullMask;
|
|
1118
|
+
setCullMask(worldMask: number): Promise<void>;
|
|
1104
1119
|
get state(): {
|
|
1105
1120
|
[key: string]: string;
|
|
1106
1121
|
};
|
|
@@ -1686,13 +1701,14 @@ interface BlockInfo {
|
|
|
1686
1701
|
}
|
|
1687
1702
|
|
|
1688
1703
|
declare class Chunk {
|
|
1704
|
+
private readonly onBlocksChanged?;
|
|
1689
1705
|
readonly scene: MineRenderScene;
|
|
1690
1706
|
readonly x: number;
|
|
1691
1707
|
readonly y: number;
|
|
1692
1708
|
readonly z: number;
|
|
1693
1709
|
private readonly data;
|
|
1694
1710
|
private readonly renderedBlocks;
|
|
1695
|
-
constructor(scene: MineRenderScene, x: number, y: number, z: number);
|
|
1711
|
+
constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined);
|
|
1696
1712
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1697
1713
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
1698
1714
|
getBlockAt(pos: TripleArray): Maybe<BlockInfo>;
|
|
@@ -1732,6 +1748,8 @@ declare class ChunkData {
|
|
|
1732
1748
|
declare class MineRenderWorld {
|
|
1733
1749
|
readonly scene: MineRenderScene;
|
|
1734
1750
|
private readonly _chunks;
|
|
1751
|
+
private readonly pendingCulling;
|
|
1752
|
+
private culling?;
|
|
1735
1753
|
constructor(scene: MineRenderScene);
|
|
1736
1754
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1737
1755
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
@@ -1741,6 +1759,7 @@ declare class MineRenderWorld {
|
|
|
1741
1759
|
setBlockAt(pos: TripleArray, block: Maybe<Block>): Promise<Maybe<BlockInfo>>;
|
|
1742
1760
|
placeMultiBlock(multiblock: MultiBlockStructure, useBatches?: boolean, executor?: BatchedExecutor): Promise<void>;
|
|
1743
1761
|
clear(): Promise<void>;
|
|
1762
|
+
private updateCulling;
|
|
1744
1763
|
private getOrCreateChunkAt;
|
|
1745
1764
|
getChunkAt(pos: Vector3): Maybe<Chunk>;
|
|
1746
1765
|
static worldToScenePosition(pos: Vector3): Vector3;
|
|
@@ -1787,4 +1806,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
|
|
|
1787
1806
|
forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
|
|
1788
1807
|
}
|
|
1789
1808
|
|
|
1790
|
-
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, 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, 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, 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, registerNodeEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
|
|
1809
|
+
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, 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, 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, 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, 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
|
@@ -39,6 +39,7 @@ declare enum CubeFaceIndex {
|
|
|
39
39
|
NORTH = 5
|
|
40
40
|
}
|
|
41
41
|
declare const CUBE_FACES: CubeFace[];
|
|
42
|
+
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]];
|
|
42
43
|
|
|
43
44
|
interface Disposable {
|
|
44
45
|
dispose(): void;
|
|
@@ -805,6 +806,11 @@ declare class DisplayTransforms {
|
|
|
805
806
|
static apply(geometry: BufferGeometry, matrix: Matrix4): void;
|
|
806
807
|
}
|
|
807
808
|
|
|
809
|
+
declare class ModelCulling {
|
|
810
|
+
static toLocalMask(worldMask: number, rotation: Euler): number;
|
|
811
|
+
static isOpaqueFullCube(atlas: Maybe<TextureAtlas>): boolean;
|
|
812
|
+
}
|
|
813
|
+
|
|
808
814
|
declare class ModelGenerator {
|
|
809
815
|
static readonly ITEM_LAYERS: string[];
|
|
810
816
|
static generateItemModel(imageData: ImageData$1, layer: string): ModelElement[];
|
|
@@ -882,6 +888,7 @@ declare class ModelObject extends SceneObject {
|
|
|
882
888
|
constructor(originalModel: Model, options?: Partial<ModelObjectOptions>);
|
|
883
889
|
init(): Promise<void>;
|
|
884
890
|
get textureAtlas(): Maybe<TextureAtlas>;
|
|
891
|
+
get isOpaqueFullCube(): boolean;
|
|
885
892
|
protected loadTextures(): Promise<void>;
|
|
886
893
|
protected createMeshes(force?: boolean): void;
|
|
887
894
|
protected applyTextures(): void;
|
|
@@ -893,6 +900,8 @@ interface ModelObjectOptions extends SceneObjectOptions {
|
|
|
893
900
|
uvLockRotation?: TripleArray;
|
|
894
901
|
/** sRGB 0xRRGGBB colors by face tint index; omitted indices stay white. */
|
|
895
902
|
tints?: Record<number, number>;
|
|
903
|
+
/** Hidden neighbor directions in CUBE_FACES order, before the model's block rotation. */
|
|
904
|
+
cullMask?: number;
|
|
896
905
|
}
|
|
897
906
|
declare function isModelObject(obj: any): obj is ModelObject;
|
|
898
907
|
|
|
@@ -1096,11 +1105,17 @@ declare class BlockObject extends SceneObject {
|
|
|
1096
1105
|
private _instanceModel;
|
|
1097
1106
|
private _variants;
|
|
1098
1107
|
private _models;
|
|
1108
|
+
private _cullMask;
|
|
1099
1109
|
constructor(blockState: BlockState, options?: Partial<BlockObjectOptions>);
|
|
1100
1110
|
init(): Promise<void>;
|
|
1101
1111
|
dispose(): void;
|
|
1102
1112
|
removeFromScene(): void;
|
|
1103
1113
|
private clearModels;
|
|
1114
|
+
private removeModels;
|
|
1115
|
+
get isOccluding(): boolean;
|
|
1116
|
+
private getModelMatrix;
|
|
1117
|
+
private getModelCullMask;
|
|
1118
|
+
setCullMask(worldMask: number): Promise<void>;
|
|
1104
1119
|
get state(): {
|
|
1105
1120
|
[key: string]: string;
|
|
1106
1121
|
};
|
|
@@ -1686,13 +1701,14 @@ interface BlockInfo {
|
|
|
1686
1701
|
}
|
|
1687
1702
|
|
|
1688
1703
|
declare class Chunk {
|
|
1704
|
+
private readonly onBlocksChanged?;
|
|
1689
1705
|
readonly scene: MineRenderScene;
|
|
1690
1706
|
readonly x: number;
|
|
1691
1707
|
readonly y: number;
|
|
1692
1708
|
readonly z: number;
|
|
1693
1709
|
private readonly data;
|
|
1694
1710
|
private readonly renderedBlocks;
|
|
1695
|
-
constructor(scene: MineRenderScene, x: number, y: number, z: number);
|
|
1711
|
+
constructor(scene: MineRenderScene, x: number, y: number, z: number, onBlocksChanged?: ((positions: Vector3[]) => Promise<void>) | undefined);
|
|
1696
1712
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1697
1713
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
1698
1714
|
getBlockAt(pos: TripleArray): Maybe<BlockInfo>;
|
|
@@ -1732,6 +1748,8 @@ declare class ChunkData {
|
|
|
1732
1748
|
declare class MineRenderWorld {
|
|
1733
1749
|
readonly scene: MineRenderScene;
|
|
1734
1750
|
private readonly _chunks;
|
|
1751
|
+
private readonly pendingCulling;
|
|
1752
|
+
private culling?;
|
|
1735
1753
|
constructor(scene: MineRenderScene);
|
|
1736
1754
|
getBlockAt(x: number, y: number, z: number): Maybe<BlockInfo>;
|
|
1737
1755
|
getBlockAt(pos: Vector3): Maybe<BlockInfo>;
|
|
@@ -1741,6 +1759,7 @@ declare class MineRenderWorld {
|
|
|
1741
1759
|
setBlockAt(pos: TripleArray, block: Maybe<Block>): Promise<Maybe<BlockInfo>>;
|
|
1742
1760
|
placeMultiBlock(multiblock: MultiBlockStructure, useBatches?: boolean, executor?: BatchedExecutor): Promise<void>;
|
|
1743
1761
|
clear(): Promise<void>;
|
|
1762
|
+
private updateCulling;
|
|
1744
1763
|
private getOrCreateChunkAt;
|
|
1745
1764
|
getChunkAt(pos: Vector3): Maybe<Chunk>;
|
|
1746
1765
|
static worldToScenePosition(pos: Vector3): Vector3;
|
|
@@ -1787,4 +1806,4 @@ declare class NodeCache extends PersistentCache<LocalStorage> {
|
|
|
1787
1806
|
forEach<T>(callback: (v: T, k: string) => void): Promise<void>;
|
|
1788
1807
|
}
|
|
1789
1808
|
|
|
1790
|
-
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, 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, 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, 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, registerNodeEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
|
|
1809
|
+
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, 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, 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, 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, registerNodeEnv, serializeBoxGeometryKey, serializeImageKey, serializeMaterialKey, serializeMeshKey, serializeTextureKey, sha1, sha256, sha512, shutdown, sleep, slimSkinGeometries, slimSkinTextureCoordinates, timingEnd, timingStart, toDegrees, toRadians, toTrianglesDrawMode };
|