bc-minecraft-bedrock-project 1.20.40-1 → 1.20.60-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,6 +1,7 @@
1
1
  import { ComponentContainer, ComponentGroups } from "bc-minecraft-bedrock-types/lib/src/Minecraft/Components";
2
2
  import { SMap } from "../../Types/SMap";
3
3
  import { ScriptContainer } from "../Types/Script";
4
+ import { CommandContainer } from '../General/Commands';
4
5
  /**The interface that deals with entity events that add or remove component groups*/
5
6
  export interface EntityEventGroup {
6
7
  /**The group of entity events*/
@@ -20,6 +21,8 @@ export interface EntityEvent {
20
21
  })[];
21
22
  /** */
22
23
  set_property?: Record<string, string | number | boolean>;
24
+ /** The command to run when the event is triggered */
25
+ queue_command: CommandContainer;
23
26
  }
24
27
  /**
25
28
  * @deprecated Replace with @see {@link ComponentContainer}
@@ -1 +1 @@
1
- {"version":3,"file":"Entity.js","sourceRoot":"","sources":["../../../../../src/Lib/Internal/BehaviorPack/Entity.ts"],"names":[],"mappings":";;;AA4DA,MAAM;AACN,IAAiB,MAAM,CAwBtB;AAxBD,WAAiB,MAAM;IACrB;;;OAGG;IACH,SAAgB,EAAE,CAAC,KAAU;QAC3B,IACE,OAAO,KAAK,KAAK,QAAQ;YACzB,OAAO,KAAK,CAAC,cAAc,KAAK,QAAQ;YACxC,OAAO,KAAK,CAAC,kBAAkB,CAAC,KAAK,QAAQ,EAC7C;YACA,MAAM,CAAC,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC;YAEpC,IACE,OAAO,CAAC,CAAC,WAAW,KAAK,QAAQ;gBACjC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,KAAK,QAAQ;gBAC5C,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ,EAChC;gBACA,OAAO,IAAI,CAAC;aACb;SACF;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAlBe,SAAE,KAkBjB,CAAA;AACH,CAAC,EAxBgB,MAAM,sBAAN,MAAM,QAwBtB"}
1
+ {"version":3,"file":"Entity.js","sourceRoot":"","sources":["../../../../../src/Lib/Internal/BehaviorPack/Entity.ts"],"names":[],"mappings":";;;AA+DA,MAAM;AACN,IAAiB,MAAM,CAwBtB;AAxBD,WAAiB,MAAM;IACrB;;;OAGG;IACH,SAAgB,EAAE,CAAC,KAAU;QAC3B,IACE,OAAO,KAAK,KAAK,QAAQ;YACzB,OAAO,KAAK,CAAC,cAAc,KAAK,QAAQ;YACxC,OAAO,KAAK,CAAC,kBAAkB,CAAC,KAAK,QAAQ,EAC7C;YACA,MAAM,CAAC,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC;YAEpC,IACE,OAAO,CAAC,CAAC,WAAW,KAAK,QAAQ;gBACjC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,KAAK,QAAQ;gBAC5C,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ,EAChC;gBACA,OAAO,IAAI,CAAC;aACb;SACF;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAlBe,SAAE,KAkBjB,CAAA;AACH,CAAC,EAxBgB,MAAM,sBAAN,MAAM,QAwBtB"}
@@ -0,0 +1,3 @@
1
+ export interface CommandContainer {
2
+ command: string | string[];
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Commands.js","sourceRoot":"","sources":["../../../../../src/Lib/Internal/General/Commands.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bc-minecraft-bedrock-project",
3
- "version": "1.20.40-1",
3
+ "version": "1.20.60-0",
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",
@@ -50,7 +50,7 @@
50
50
  "typescript": "^5.2.2"
51
51
  },
52
52
  "dependencies": {
53
- "bc-minecraft-bedrock-command": "^1.20.32-1",
53
+ "bc-minecraft-bedrock-command": "^1.20.32-2",
54
54
  "bc-minecraft-bedrock-types": "^1.20.32-2",
55
55
  "bc-minecraft-molang": "^1.20.40-2",
56
56
  "bc-minecraft-project": "^1.20.32-1",