@minecraft/server-gametest 1.0.0-beta.1.20.20-preview.21 → 1.0.0-beta.1.20.20-preview.22

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.
Files changed (2) hide show
  1. package/index.d.ts +4 -4
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -17,7 +17,7 @@
17
17
  * ```json
18
18
  * {
19
19
  * "module_name": "@minecraft/server-gametest",
20
- * "version": "1.0.0-internal.1.20.20-preview.21"
20
+ * "version": "1.0.0-internal.1.20.20-preview.22"
21
21
  * }
22
22
  * ```
23
23
  *
@@ -937,7 +937,7 @@ export class Test {
937
937
  * @throws This function can throw errors.
938
938
  */
939
939
  assertBlockPresent(
940
- blockType: minecraftserver.BlockType,
940
+ blockType: minecraftserver.BlockType | string,
941
941
  blockLocation: minecraftserver.Vector3,
942
942
  isPresent?: boolean,
943
943
  ): void;
@@ -1606,7 +1606,7 @@ export class Test {
1606
1606
  * Location of the block to set.
1607
1607
  * @throws This function can throw errors.
1608
1608
  */
1609
- setBlockType(blockType: minecraftserver.BlockType, blockLocation: minecraftserver.Vector3): void;
1609
+ setBlockType(blockType: minecraftserver.BlockType | string, blockLocation: minecraftserver.Vector3): void;
1610
1610
  /**
1611
1611
  * @remarks
1612
1612
  * For blocks that are fluid containers - like a cauldron -
@@ -1905,7 +1905,7 @@ export class Test {
1905
1905
  * @throws This function can throw errors.
1906
1906
  */
1907
1907
  succeedWhenBlockPresent(
1908
- blockType: minecraftserver.BlockType,
1908
+ blockType: minecraftserver.BlockType | string,
1909
1909
  blockLocation: minecraftserver.Vector3,
1910
1910
  isPresent?: boolean,
1911
1911
  ): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server-gametest",
3
- "version": "1.0.0-beta.1.20.20-preview.21",
3
+ "version": "1.0.0-beta.1.20.20-preview.22",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "dependencies": {
16
- "@minecraft/server": "^1.5.0-beta.1.20.20-preview.21"
16
+ "@minecraft/server": "^1.5.0-beta.1.20.20-preview.22"
17
17
  },
18
18
  "license": "MIT"
19
19
  }