bc-minecraft-bedrock-project 1.7.85 → 1.7.87
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,3 +1,4 @@
|
|
|
1
|
+
import { ComponentContainer } from 'bc-minecraft-bedrock-types/lib/src/Minecraft/Components';
|
|
1
2
|
import { SMap } from "../../Types/SMap";
|
|
2
3
|
import { FormatVersion } from "../Types/FormatVersion";
|
|
3
4
|
export interface Block extends FormatVersion {
|
|
@@ -10,7 +11,7 @@ export interface Block extends FormatVersion {
|
|
|
10
11
|
properties?: SMap<string[] | number[] | boolean[]>;
|
|
11
12
|
};
|
|
12
13
|
permutations?: any[];
|
|
13
|
-
components:
|
|
14
|
+
components: ComponentContainer;
|
|
14
15
|
events?: SMap<any>;
|
|
15
16
|
};
|
|
16
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Block.js","sourceRoot":"","sources":["../../../../../src/Lib/Internal/BehaviorPack/Block.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Block.js","sourceRoot":"","sources":["../../../../../src/Lib/Internal/BehaviorPack/Block.ts"],"names":[],"mappings":";;;AAmBA,MAAM;AACN,IAAiB,KAAK,CAiBrB;AAjBD,WAAiB,KAAK;IACpB;;;;OAIG;IACH,SAAgB,EAAE,CAAC,KAAU;QAC3B,IAAI,KAAK,IAAI,OAAO,KAAK,CAAC,cAAc,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,iBAAiB,CAAC,KAAK,QAAQ,EAAE;YACrG,MAAM,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;YAEnC,IAAI,OAAO,CAAC,CAAC,WAAW,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ,EAAE;gBACzH,OAAO,IAAI,CAAC;aACb;SACF;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAVe,QAAE,KAUjB,CAAA;AACH,CAAC,EAjBgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAiBrB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComponentContainer, ComponentGroups } from 'bc-minecraft-bedrock-types/lib/src/Minecraft/Components';
|
|
1
2
|
import { SMap } from "../../Types/SMap";
|
|
2
3
|
import { ScriptContainer } from "../Types/Script";
|
|
3
4
|
/**The interface that deals with entity events that add or remove component groups*/
|
|
@@ -18,11 +19,10 @@ export interface EntityEvent {
|
|
|
18
19
|
weight: number;
|
|
19
20
|
})[];
|
|
20
21
|
}
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Replace with @see {@link ComponentContainer}
|
|
24
|
+
*/
|
|
25
|
+
export declare type EntityComponentContainer = ComponentContainer;
|
|
26
26
|
/** */
|
|
27
27
|
export interface EntityDescription extends ScriptContainer {
|
|
28
28
|
/** */
|
|
@@ -41,9 +41,9 @@ export interface Entity {
|
|
|
41
41
|
/** */
|
|
42
42
|
description: EntityDescription;
|
|
43
43
|
/** */
|
|
44
|
-
component_groups?:
|
|
44
|
+
component_groups?: ComponentGroups;
|
|
45
45
|
/** */
|
|
46
|
-
components:
|
|
46
|
+
components: ComponentContainer;
|
|
47
47
|
/** */
|
|
48
48
|
events?: SMap<EntityEvent>;
|
|
49
49
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bc-minecraft-bedrock-project",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.87",
|
|
4
4
|
"description": "The typescript library responsible for reading/parsing minecraft bedrock data",
|
|
5
5
|
"main": "./lib/src/main.js",
|
|
6
6
|
"types": "./lib/src/main.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"homepage": "https://github.com/Blockception/BC-Minecraft-Bedrock-Project#readme",
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/chai": "^4.3.3",
|
|
44
|
-
"@types/mocha": "^
|
|
44
|
+
"@types/mocha": "^10.0.0",
|
|
45
45
|
"@types/node": "^18.7.16",
|
|
46
46
|
"chai": "^4.3.6",
|
|
47
47
|
"mocha": "^10.0.0",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"typescript": "^4.8.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"bc-minecraft-bedrock-command": "^1.2.
|
|
54
|
-
"bc-minecraft-bedrock-types": "^1.
|
|
55
|
-
"bc-minecraft-molang": "^1.3.
|
|
53
|
+
"bc-minecraft-bedrock-command": "^1.2.35",
|
|
54
|
+
"bc-minecraft-bedrock-types": "^1.4.10",
|
|
55
|
+
"bc-minecraft-molang": "^1.3.7",
|
|
56
56
|
"bc-minecraft-project": "^1.0.20",
|
|
57
57
|
"jsonc": "^2.0.0"
|
|
58
58
|
}
|