blockbench-types 5.1.0 → 5.2.0-beta.0-next.1
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/README.md +30 -30
- package/custom/animation.d.ts +256 -256
- package/custom/animation_controller.d.ts +124 -124
- package/custom/blockbench.d.ts +71 -73
- package/custom/canvas.d.ts +307 -307
- package/custom/codec.d.ts +182 -182
- package/custom/copy_paste.d.ts +43 -42
- package/custom/cube.d.ts +151 -151
- package/custom/desktop.d.ts +61 -73
- package/custom/display_mode.d.ts +137 -137
- package/custom/edit_session.d.ts +38 -37
- package/custom/global.d.ts +182 -168
- package/custom/group.d.ts +113 -113
- package/custom/interface.d.ts +83 -78
- package/custom/io.d.ts +12 -12
- package/custom/keyframe.d.ts +94 -94
- package/custom/libs.d.ts +13 -13
- package/custom/menu.d.ts +137 -136
- package/custom/mesh.d.ts +196 -196
- package/custom/misc.d.ts +188 -199
- package/custom/molang.d.ts +159 -159
- package/custom/outliner.d.ts +158 -158
- package/custom/painter.d.ts +70 -69
- package/custom/preview.d.ts +147 -137
- package/custom/preview_scene.d.ts +120 -120
- package/custom/screencam.d.ts +71 -71
- package/custom/spline_mesh.d.ts +189 -189
- package/custom/texture_group.d.ts +68 -68
- package/custom/textures.d.ts +524 -515
- package/custom/timeline.d.ts +66 -66
- package/custom/toolbars.d.ts +222 -221
- package/custom/undo.d.ts +209 -208
- package/custom/util/version_util.d.ts +32 -32
- package/custom/util.d.ts +235 -235
- package/custom/uveditor.d.ts +3 -3
- package/custom/validator.d.ts +99 -99
- package/documentation.md +12 -12
- package/generated/animations/mirror_animating.d.ts +7 -0
- package/generated/api.d.ts +6 -0
- package/generated/file_system.d.ts +1 -1
- package/generated/formats/standards/obj.d.ts +9 -11
- package/generated/interface/actions.d.ts +6 -3
- package/generated/interface/form.d.ts +2 -1
- package/generated/interface/resize_lines.d.ts +2 -0
- package/generated/interface/settings.d.ts +6 -2
- package/generated/interface/start_screen.d.ts +62 -42
- package/generated/io/project.d.ts +9 -1
- package/generated/lib/CanvasFrame.d.ts +1 -0
- package/generated/main.d.ts +1 -1
- package/generated/modeling/mesh/proportional_edit.d.ts +15 -13
- package/generated/modeling/mirror_modeling.d.ts +4 -0
- package/generated/modeling/weight_paint.d.ts +11 -0
- package/generated/texturing/layers.d.ts +140 -0
- package/generated/util/state_memory.d.ts +1 -1
- package/index.d.ts +2 -2
- package/package.json +39 -39
- package/tsconfig.json +19 -19
- package/type_config.json +45 -46
- package/custom/start_screen.d.ts +0 -15
- package/custom/texture_layers.d.ts +0 -117
- package/generated/global_types.d.ts +0 -47
- package/generated/io/formats/bedrock.d.ts +0 -4
- package/generated/io/formats/bedrock_old.d.ts +0 -4
- package/generated/io/formats/collada.d.ts +0 -4
- package/generated/io/formats/fbx.d.ts +0 -17
- package/generated/io/formats/gltf.d.ts +0 -6
- package/generated/io/formats/java_block.d.ts +0 -4
- package/generated/io/formats/modded_entity.d.ts +0 -139
- package/generated/io/formats/obj.d.ts +0 -12
- package/generated/io/formats/optifine_jem.d.ts +0 -3
- package/generated/io/formats/optifine_jpm.d.ts +0 -3
- package/generated/io/formats/skin.d.ts +0 -22
package/type_config.json
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"exclude": [
|
|
3
|
-
"interface/action_control",
|
|
4
|
-
"animations/animation_controllers",
|
|
5
|
-
"animations/animation",
|
|
6
|
-
"animations/keyframe",
|
|
7
|
-
"animations/molang",
|
|
8
|
-
"animations/timeline",
|
|
9
|
-
"interface/menu",
|
|
10
|
-
"interface/setup_settings",
|
|
11
|
-
"desktop",
|
|
12
|
-
"util/math_util",
|
|
13
|
-
"display_mode/display_references",
|
|
14
|
-
"display_mode/display_mode",
|
|
15
|
-
"interface/interface",
|
|
16
|
-
"outliner/cube",
|
|
17
|
-
"outliner/group",
|
|
18
|
-
"outliner/locator",
|
|
19
|
-
"outliner/mesh",
|
|
20
|
-
"outliner/null_object",
|
|
21
|
-
"outliner/outliner",
|
|
22
|
-
"outliner/texture_mesh",
|
|
23
|
-
"preview/preview_scenes",
|
|
24
|
-
"preview/preview",
|
|
25
|
-
"preview/canvas",
|
|
26
|
-
"io/codec",
|
|
27
|
-
"io/io",
|
|
28
|
-
"preview/screenshot",
|
|
29
|
-
"texturing/painter",
|
|
30
|
-
"texturing/texture_groups",
|
|
31
|
-
"texturing/textures",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"lib/
|
|
41
|
-
"lib/
|
|
42
|
-
"lib/
|
|
43
|
-
"lib/
|
|
44
|
-
"lib/VuePrismEditor"
|
|
45
|
-
|
|
46
|
-
]
|
|
1
|
+
{
|
|
2
|
+
"exclude": [
|
|
3
|
+
"interface/action_control",
|
|
4
|
+
"animations/animation_controllers",
|
|
5
|
+
"animations/animation",
|
|
6
|
+
"animations/keyframe",
|
|
7
|
+
"animations/molang",
|
|
8
|
+
"animations/timeline",
|
|
9
|
+
"interface/menu",
|
|
10
|
+
"interface/setup_settings",
|
|
11
|
+
"desktop",
|
|
12
|
+
"util/math_util",
|
|
13
|
+
"display_mode/display_references",
|
|
14
|
+
"display_mode/display_mode",
|
|
15
|
+
"interface/interface",
|
|
16
|
+
"outliner/cube",
|
|
17
|
+
"outliner/group",
|
|
18
|
+
"outliner/locator",
|
|
19
|
+
"outliner/mesh",
|
|
20
|
+
"outliner/null_object",
|
|
21
|
+
"outliner/outliner",
|
|
22
|
+
"outliner/texture_mesh",
|
|
23
|
+
"preview/preview_scenes",
|
|
24
|
+
"preview/preview",
|
|
25
|
+
"preview/canvas",
|
|
26
|
+
"io/codec",
|
|
27
|
+
"io/io",
|
|
28
|
+
"preview/screenshot",
|
|
29
|
+
"texturing/painter",
|
|
30
|
+
"texturing/texture_groups",
|
|
31
|
+
"texturing/textures",
|
|
32
|
+
"undo",
|
|
33
|
+
"web",
|
|
34
|
+
"copy_paste",
|
|
35
|
+
"uv/uv",
|
|
36
|
+
"validator",
|
|
37
|
+
"native_apis_web",
|
|
38
|
+
"util/util",
|
|
39
|
+
"lib/fik",
|
|
40
|
+
"lib/gif",
|
|
41
|
+
"lib/fik",
|
|
42
|
+
"lib/lzutf8",
|
|
43
|
+
"lib/VuePrismEditor",
|
|
44
|
+
"lib/VuePrismEditor.min"
|
|
45
|
+
]
|
|
47
46
|
}
|
package/custom/start_screen.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Temporary file since model loader has been rewritten in ts on a different branch
|
|
2
|
-
|
|
3
|
-
declare interface ModelLoaderOptions {
|
|
4
|
-
id?: string
|
|
5
|
-
icon: string
|
|
6
|
-
name?: string
|
|
7
|
-
description?: string
|
|
8
|
-
category?: string
|
|
9
|
-
target?: string | string[]
|
|
10
|
-
confidential?: boolean
|
|
11
|
-
condition?: ConditionResolvable
|
|
12
|
-
format_page?: FormatPage
|
|
13
|
-
onFormatPage?(): void
|
|
14
|
-
onStart?(): void
|
|
15
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/// <reference types="three" />
|
|
2
|
-
|
|
3
|
-
interface TextureLayerData {
|
|
4
|
-
name?: string
|
|
5
|
-
in_limbo?: boolean
|
|
6
|
-
offset?: ArrayVector2
|
|
7
|
-
scale?: ArrayVector2
|
|
8
|
-
opacity?: number
|
|
9
|
-
visible?: boolean
|
|
10
|
-
blend_mode?: 'default' | 'set_opacity' | 'color' | 'multiply' | 'add' | 'darken' | 'lighten' | 'screen' | 'overlay' | 'difference' | 'alpha_mask'
|
|
11
|
-
image_data?: ImageData
|
|
12
|
-
data_url?: string
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Texture layers always belong to a texture and represent the layers of the texture. Each layer has its own HTML canvas and canvas context
|
|
17
|
-
*/
|
|
18
|
-
declare class TextureLayer {
|
|
19
|
-
constructor(data: TextureLayerData, texture: Texture, uuid?: string)
|
|
20
|
-
|
|
21
|
-
name: string
|
|
22
|
-
uuid: UUID
|
|
23
|
-
texture: Texture
|
|
24
|
-
canvas: HTMLCanvasElement
|
|
25
|
-
ctx: CanvasRenderingContext2D
|
|
26
|
-
in_limbo: boolean
|
|
27
|
-
img: HTMLImageElement
|
|
28
|
-
/**
|
|
29
|
-
* Layer offset from the top left corner of the texture to the top left corner of the layer
|
|
30
|
-
*/
|
|
31
|
-
offset: ArrayVector2
|
|
32
|
-
/**
|
|
33
|
-
* Layer scale. This is only used by the layer transform tool and should be applied and reset to 1x1 before doing further changes
|
|
34
|
-
*/
|
|
35
|
-
scale: ArrayVector2
|
|
36
|
-
opacity: number
|
|
37
|
-
visible: boolean
|
|
38
|
-
blend_mode: 'default' | 'set_opacity' | 'color' | 'multiply' | 'add' | 'darken' | 'lighten' | 'screen' | 'overlay' | 'difference' | 'alpha_mask'
|
|
39
|
-
|
|
40
|
-
extend(data: TextureLayerData): void
|
|
41
|
-
/**
|
|
42
|
-
* Selects the layer
|
|
43
|
-
*/
|
|
44
|
-
select(): void
|
|
45
|
-
showContextMenu(event: Event): void
|
|
46
|
-
/**
|
|
47
|
-
* Remove the layer
|
|
48
|
-
* @param undo Create an undo point and update the texture
|
|
49
|
-
*/
|
|
50
|
-
remove(undo: boolean): void
|
|
51
|
-
getUndoCopy(image_data: boolean): object
|
|
52
|
-
getSaveCopy(): object
|
|
53
|
-
/**
|
|
54
|
-
* Set the layer into a limbo state, where clicking Place or clicking next to the layer will place it on the layer below
|
|
55
|
-
*/
|
|
56
|
-
setLimbo(): void
|
|
57
|
-
/**
|
|
58
|
-
* Resolves the limbo state by turning the limbo layer into a full layer, or merging it into the layer below
|
|
59
|
-
* @param keep_separate If true, the layer is kept as a separate layer
|
|
60
|
-
*/
|
|
61
|
-
resolveLimbo(keep_separate: boolean): void
|
|
62
|
-
/**
|
|
63
|
-
* Set the layer size. This resizes the canvas, which discards the layer content
|
|
64
|
-
*/
|
|
65
|
-
setSize(width: number, height: number): void
|
|
66
|
-
/**
|
|
67
|
-
* Toggle layer visibility. This creates an undo point
|
|
68
|
-
*/
|
|
69
|
-
toggleVisibility(): void
|
|
70
|
-
/**
|
|
71
|
-
* Scroll the layer panel list to
|
|
72
|
-
*/
|
|
73
|
-
scrollTo(): void
|
|
74
|
-
/**
|
|
75
|
-
* Add the layer to the associated texture above the previously selected layer, select this layer, and scroll the layer panel list to it
|
|
76
|
-
*/
|
|
77
|
-
addForEditing(): void
|
|
78
|
-
/**
|
|
79
|
-
* Merge this texture onto the texture below
|
|
80
|
-
* @param undo Create an undo entry
|
|
81
|
-
*/
|
|
82
|
-
mergeDown(undo: boolean): void
|
|
83
|
-
/**
|
|
84
|
-
* Expand the layer to include the listed pixels
|
|
85
|
-
* @param points
|
|
86
|
-
*/
|
|
87
|
-
expandTo(...points: ArrayVector2): void
|
|
88
|
-
/**
|
|
89
|
-
* Flip the texture along an axis
|
|
90
|
-
* @param axis Flip axis, where 0 is X and 1 is Y
|
|
91
|
-
* @param undo Create an undo entry
|
|
92
|
-
*/
|
|
93
|
-
flip(axis: number, undo: boolean): void
|
|
94
|
-
/**
|
|
95
|
-
* Rotate the layer around itself in 90 degree steps
|
|
96
|
-
* @param angle Angle in degrees
|
|
97
|
-
* @param undo Create an undo entry
|
|
98
|
-
*/
|
|
99
|
-
rotate(angle: number, undo: boolean): void
|
|
100
|
-
/**
|
|
101
|
-
* Centers the layer on the texture
|
|
102
|
-
*/
|
|
103
|
-
center(): void
|
|
104
|
-
/**
|
|
105
|
-
* Open the properties dialog
|
|
106
|
-
*/
|
|
107
|
-
propertiesDialog(): void
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Get all layers of the active texture
|
|
111
|
-
*/
|
|
112
|
-
static all: TextureLayer[]
|
|
113
|
-
/**
|
|
114
|
-
* Get the selected layer
|
|
115
|
-
*/
|
|
116
|
-
static selected: TextureLayer
|
|
117
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ModelFormat as _ModelFormat } from "./io/format";
|
|
2
|
-
declare global {
|
|
3
|
-
const ModelFormat: typeof _ModelFormat;
|
|
4
|
-
const Format: _ModelFormat;
|
|
5
|
-
const Formats: Record<string, _ModelFormat>;
|
|
6
|
-
namespace Blockbench {
|
|
7
|
-
const ModelFormat: typeof _ModelFormat;
|
|
8
|
-
const Format: _ModelFormat;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
import { settings as _settings, Setting as _Setting, SettingsProfile as _SettingsProfile, Settings as _Settings } from './interface/settings';
|
|
12
|
-
declare global {
|
|
13
|
-
const settings: typeof _settings;
|
|
14
|
-
const Setting: typeof _Setting;
|
|
15
|
-
const SettingsProfile: typeof _SettingsProfile;
|
|
16
|
-
const Settings: typeof _Settings;
|
|
17
|
-
namespace Blockbench {
|
|
18
|
-
const settings: typeof _settings;
|
|
19
|
-
const Setting: typeof _Setting;
|
|
20
|
-
const SettingsProfile: typeof _SettingsProfile;
|
|
21
|
-
const Settings: typeof _Settings;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
import { Modes as _Modes, Mode as _Mode } from './modes';
|
|
25
|
-
declare global {
|
|
26
|
-
const Modes: typeof _Modes;
|
|
27
|
-
const Mode: typeof _Mode;
|
|
28
|
-
}
|
|
29
|
-
import { Dialog as _Dialog, ConfigDialog as _ConfigDialog, DialogSidebar as _DialogSidebar, MessageBox as _MessageBox, ShapelessDialog as _ShapelessDialog, ToolConfig as _ToolConfig } from './interface/dialog';
|
|
30
|
-
declare global {
|
|
31
|
-
const Dialog: typeof _Dialog;
|
|
32
|
-
const ConfigDialog: typeof _ConfigDialog;
|
|
33
|
-
const DialogSidebar: typeof _DialogSidebar;
|
|
34
|
-
const MessageBox: typeof _MessageBox;
|
|
35
|
-
const ShapelessDialog: typeof _ShapelessDialog;
|
|
36
|
-
const ToolConfig: typeof _ToolConfig;
|
|
37
|
-
}
|
|
38
|
-
import { Property as _Property } from './util/property';
|
|
39
|
-
declare global {
|
|
40
|
-
const Property: typeof _Property;
|
|
41
|
-
}
|
|
42
|
-
import { Language as _Language, tl as _tl } from './languages';
|
|
43
|
-
declare global {
|
|
44
|
-
const Language: typeof _Language;
|
|
45
|
-
const tl: typeof _tl;
|
|
46
|
-
}
|
|
47
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
type TNumType = 'I' | 'D' | 'F' | 'L' | 'C' | 'Y';
|
|
2
|
-
type TNumVal = {
|
|
3
|
-
type: TNumType;
|
|
4
|
-
value: number | BigInt;
|
|
5
|
-
isTNum: true;
|
|
6
|
-
toString: () => string;
|
|
7
|
-
};
|
|
8
|
-
type FBXNode = {
|
|
9
|
-
_key?: string;
|
|
10
|
-
_values: (string | number | TNumVal)[];
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
};
|
|
13
|
-
declare global {
|
|
14
|
-
function compileBinaryFBXModel(top_level_object: any): Uint8Array<ArrayBufferLike>;
|
|
15
|
-
function compileASCIIFBXSection(object: FBXNode): string;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
function buildAnimationTracks(export_scale?: string | number | boolean, do_quaternions?: boolean): any[];
|
|
3
|
-
function buildSkinnedMeshFromGroup(root_group: any): import("three").SkinnedMesh<import("three").BufferGeometry, any>;
|
|
4
|
-
function buildSkinnedMesh(armature: any, scale: any): import("three").SkinnedMesh<any, any>;
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
const Templates: {
|
|
3
|
-
'1.12': {
|
|
4
|
-
name: string;
|
|
5
|
-
remember: boolean;
|
|
6
|
-
integer_size: boolean;
|
|
7
|
-
file: string;
|
|
8
|
-
field: string;
|
|
9
|
-
bone: string;
|
|
10
|
-
renderer: string;
|
|
11
|
-
cube: string;
|
|
12
|
-
};
|
|
13
|
-
'1.14': {
|
|
14
|
-
name: string;
|
|
15
|
-
remember: boolean;
|
|
16
|
-
integer_size: boolean;
|
|
17
|
-
file: string;
|
|
18
|
-
field: string;
|
|
19
|
-
bone: string;
|
|
20
|
-
renderer: string;
|
|
21
|
-
cube: string;
|
|
22
|
-
};
|
|
23
|
-
'1.14_mojmaps': {
|
|
24
|
-
name: string;
|
|
25
|
-
remember: boolean;
|
|
26
|
-
integer_size: boolean;
|
|
27
|
-
file: string;
|
|
28
|
-
field: string;
|
|
29
|
-
bone: string;
|
|
30
|
-
renderer: string;
|
|
31
|
-
cube: string;
|
|
32
|
-
};
|
|
33
|
-
'1.15': {
|
|
34
|
-
name: string;
|
|
35
|
-
remember: boolean;
|
|
36
|
-
integer_size: boolean;
|
|
37
|
-
file: string;
|
|
38
|
-
field: string;
|
|
39
|
-
bone: string;
|
|
40
|
-
renderer: string;
|
|
41
|
-
cube: string;
|
|
42
|
-
};
|
|
43
|
-
'1.15_mojmaps': {
|
|
44
|
-
name: string;
|
|
45
|
-
remember: boolean;
|
|
46
|
-
integer_size: boolean;
|
|
47
|
-
file: string;
|
|
48
|
-
field: string;
|
|
49
|
-
bone: string;
|
|
50
|
-
renderer: string;
|
|
51
|
-
cube: string;
|
|
52
|
-
};
|
|
53
|
-
'1.17': {
|
|
54
|
-
name: string;
|
|
55
|
-
remember: boolean;
|
|
56
|
-
use_layer_definition: boolean;
|
|
57
|
-
integer_size: boolean;
|
|
58
|
-
file: string;
|
|
59
|
-
field: string;
|
|
60
|
-
model_part: string;
|
|
61
|
-
bone: string;
|
|
62
|
-
renderer: string;
|
|
63
|
-
cube: string;
|
|
64
|
-
animation_template: string;
|
|
65
|
-
};
|
|
66
|
-
'1.17_yarn': {
|
|
67
|
-
name: string;
|
|
68
|
-
remember: boolean;
|
|
69
|
-
integer_size: boolean;
|
|
70
|
-
file: string;
|
|
71
|
-
field: string;
|
|
72
|
-
model_part: string;
|
|
73
|
-
bone: string;
|
|
74
|
-
renderer: string;
|
|
75
|
-
cube: string;
|
|
76
|
-
animation_template: string;
|
|
77
|
-
};
|
|
78
|
-
get(key: any, version?: any): any;
|
|
79
|
-
keepLine(line: any): any;
|
|
80
|
-
getVariableRegex(name: any): RegExp;
|
|
81
|
-
};
|
|
82
|
-
namespace AnimationTemplates {
|
|
83
|
-
namespace mojang {
|
|
84
|
-
let name: string;
|
|
85
|
-
let file: string;
|
|
86
|
-
let animation: string;
|
|
87
|
-
let looping: string;
|
|
88
|
-
let channel: string;
|
|
89
|
-
let keyframe_rotation: string;
|
|
90
|
-
let keyframe_position: string;
|
|
91
|
-
let keyframe_scale: string;
|
|
92
|
-
namespace channel_types {
|
|
93
|
-
let rotation: string;
|
|
94
|
-
let position: string;
|
|
95
|
-
let scale: string;
|
|
96
|
-
}
|
|
97
|
-
namespace interpolations {
|
|
98
|
-
let linear: string;
|
|
99
|
-
let catmullrom: string;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
namespace fabric {
|
|
103
|
-
let name_1: string;
|
|
104
|
-
export { name_1 as name };
|
|
105
|
-
let file_1: string;
|
|
106
|
-
export { file_1 as file };
|
|
107
|
-
let animation_1: string;
|
|
108
|
-
export { animation_1 as animation };
|
|
109
|
-
let looping_1: string;
|
|
110
|
-
export { looping_1 as looping };
|
|
111
|
-
let channel_1: string;
|
|
112
|
-
export { channel_1 as channel };
|
|
113
|
-
let keyframe_rotation_1: string;
|
|
114
|
-
export { keyframe_rotation_1 as keyframe_rotation };
|
|
115
|
-
let keyframe_position_1: string;
|
|
116
|
-
export { keyframe_position_1 as keyframe_position };
|
|
117
|
-
let keyframe_scale_1: string;
|
|
118
|
-
export { keyframe_scale_1 as keyframe_scale };
|
|
119
|
-
export namespace channel_types_1 {
|
|
120
|
-
let rotation_1: string;
|
|
121
|
-
export { rotation_1 as rotation };
|
|
122
|
-
let position_1: string;
|
|
123
|
-
export { position_1 as position };
|
|
124
|
-
let scale_1: string;
|
|
125
|
-
export { scale_1 as scale };
|
|
126
|
-
}
|
|
127
|
-
export { channel_types_1 as channel_types };
|
|
128
|
-
export namespace interpolations_1 {
|
|
129
|
-
let linear_1: string;
|
|
130
|
-
export { linear_1 as linear };
|
|
131
|
-
let catmullrom_1: string;
|
|
132
|
-
export { catmullrom_1 as catmullrom };
|
|
133
|
-
}
|
|
134
|
-
export { interpolations_1 as interpolations };
|
|
135
|
-
}
|
|
136
|
-
function get(key: any, version?: any): any;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
function getMtlFace(obj: any, index: any): string | false;
|
|
3
|
-
namespace cube_face_normals {
|
|
4
|
-
let north: number[];
|
|
5
|
-
let east: number[];
|
|
6
|
-
let south: number[];
|
|
7
|
-
let west: number[];
|
|
8
|
-
let up: number[];
|
|
9
|
-
let down: number[];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
type SkinPreset = {
|
|
2
|
-
display_name: string;
|
|
3
|
-
pose?: boolean;
|
|
4
|
-
model?: string;
|
|
5
|
-
model_java?: string;
|
|
6
|
-
model_bedrock?: string;
|
|
7
|
-
variants?: {
|
|
8
|
-
[key: string]: {
|
|
9
|
-
name: string;
|
|
10
|
-
model: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
declare global {
|
|
15
|
-
const skin_presets: Record<string, SkinPreset>;
|
|
16
|
-
const codec: Codec;
|
|
17
|
-
const format: import("../format").ModelFormat;
|
|
18
|
-
function generateTemplate(width: number, height: number, cubes: any, name: string, eyes: any, layer_template: any): Texture;
|
|
19
|
-
const model_options: Record<string, string>;
|
|
20
|
-
const skin_dialog: import("../../interface/dialog").Dialog;
|
|
21
|
-
}
|
|
22
|
-
export {};
|