bc-minecraft-project 1.20.32-1 → 1.20.71-0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**A single
|
|
1
|
+
/**A single definition for MCDefinitions*/
|
|
2
2
|
export interface Definition {
|
|
3
3
|
/**The definition that have been defined*/
|
|
4
4
|
defined: string[];
|
|
@@ -19,7 +19,7 @@ export declare namespace Definition {
|
|
|
19
19
|
/**Creates an empty version of the interface Definition
|
|
20
20
|
* @returns A empty version of Definition*/
|
|
21
21
|
function createEmpty(): Definition;
|
|
22
|
-
/** Checks if the given object implements the
|
|
22
|
+
/** Checks if the given object implements the definition interface
|
|
23
23
|
* @param value The object to inspect
|
|
24
24
|
* @returns Whether or not the object implements Definition*/
|
|
25
25
|
function is(value: any): value is Definition;
|
|
@@ -31,7 +31,7 @@ export interface MCDefinition {
|
|
|
31
31
|
}
|
|
32
32
|
/**The namespace that provides functions for the MCDefinition interface*/
|
|
33
33
|
export declare namespace MCDefinition {
|
|
34
|
-
/**The default filename of
|
|
34
|
+
/**The default filename of MCdefinitions*/
|
|
35
35
|
const filename = ".mcdefinitions";
|
|
36
36
|
/**Converts the given contents as if its file contents and returns a MCDefinition object
|
|
37
37
|
* @param content The contents of the given files*/
|
|
@@ -43,7 +43,7 @@ var Definition;
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
Definition.createEmpty = createEmpty;
|
|
46
|
-
/** Checks if the given object implements the
|
|
46
|
+
/** Checks if the given object implements the definition interface
|
|
47
47
|
* @param value The object to inspect
|
|
48
48
|
* @returns Whether or not the object implements Definition*/
|
|
49
49
|
function is(value) {
|
|
@@ -61,7 +61,7 @@ var Definition;
|
|
|
61
61
|
/**The namespace that provides functions for the MCDefinition interface*/
|
|
62
62
|
var MCDefinition;
|
|
63
63
|
(function (MCDefinition) {
|
|
64
|
-
/**The default filename of
|
|
64
|
+
/**The default filename of MCdefinitions*/
|
|
65
65
|
MCDefinition.filename = ".mcdefinitions";
|
|
66
66
|
/**Converts the given contents as if its file contents and returns a MCDefinition object
|
|
67
67
|
* @param content The contents of the given files*/
|
package/lib/src/Lib/project.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ export declare namespace MCProject {
|
|
|
19
19
|
* @param value The object to inspect
|
|
20
20
|
* @returns Whether or not the given object implements MCProject*/
|
|
21
21
|
function is(value: any): value is MCProject;
|
|
22
|
-
/**Loads from the given root folder the
|
|
22
|
+
/**Loads from the given root folder the necessary project files
|
|
23
23
|
* @param Source The root folder to retrieve files from
|
|
24
24
|
* @returns*/
|
|
25
25
|
function loadSync(Source: string): MCProject;
|
|
26
|
-
/**Loads from the given root folder the
|
|
26
|
+
/**Loads from the given root folder the necessary project files
|
|
27
27
|
* @param Source The root folder to retrieve files from*/
|
|
28
28
|
function load(Source: string): Promise<MCProject>;
|
|
29
29
|
/**Saves the gives project into the specified folder
|
package/lib/src/Lib/project.js
CHANGED
|
@@ -34,7 +34,7 @@ var MCProject;
|
|
|
34
34
|
return false;
|
|
35
35
|
}
|
|
36
36
|
MCProject.is = is;
|
|
37
|
-
/**Loads from the given root folder the
|
|
37
|
+
/**Loads from the given root folder the necessary project files
|
|
38
38
|
* @param Source The root folder to retrieve files from
|
|
39
39
|
* @returns*/
|
|
40
40
|
function loadSync(Source) {
|
|
@@ -48,7 +48,7 @@ var MCProject;
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
MCProject.loadSync = loadSync;
|
|
51
|
-
/**Loads from the given root folder the
|
|
51
|
+
/**Loads from the given root folder the necessary project files
|
|
52
52
|
* @param Source The root folder to retrieve files from*/
|
|
53
53
|
function load(Source) {
|
|
54
54
|
return new Promise((resolve, reject) => {
|
package/package.json
CHANGED