@minecraft/server-gametest 1.0.0-beta.1.20.10-preview.21 → 1.0.0-beta.1.20.10-preview.23
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/index.d.ts +11 -9
- 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.10-preview.
|
|
20
|
+
* "version": "1.0.0-internal.1.20.10-preview.23"
|
|
21
21
|
* }
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
@@ -41,7 +41,7 @@ export enum GameTestErrorType {
|
|
|
41
41
|
* other fences in several directions.
|
|
42
42
|
*/
|
|
43
43
|
export class FenceConnectivity {
|
|
44
|
-
|
|
44
|
+
private constructor();
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
47
|
* Represents whether this fence block is connected to another
|
|
@@ -78,7 +78,7 @@ export class FenceConnectivity {
|
|
|
78
78
|
* GameTest setup methods and assertions over time.
|
|
79
79
|
*/
|
|
80
80
|
export class GameTestSequence {
|
|
81
|
-
|
|
81
|
+
private constructor();
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
84
|
* Runs the given callback as a step within a GameTest
|
|
@@ -201,7 +201,7 @@ export class GameTestSequence {
|
|
|
201
201
|
* Methods can be chained together to set multiple properties.
|
|
202
202
|
*/
|
|
203
203
|
export class RegistrationBuilder {
|
|
204
|
-
|
|
204
|
+
private constructor();
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
207
|
* Sets the batch for the test to run in.
|
|
@@ -335,7 +335,7 @@ export class RegistrationBuilder {
|
|
|
335
335
|
* growth of sculk around a particular block.
|
|
336
336
|
*/
|
|
337
337
|
export class SculkSpreader {
|
|
338
|
-
|
|
338
|
+
private constructor();
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
341
|
* Gets the maximum charge of a sculk spreader.
|
|
@@ -388,8 +388,9 @@ export class SculkSpreader {
|
|
|
388
388
|
* player. This type derives much of its structure and methods
|
|
389
389
|
* from the {@link @minecraft/server.Player} type.
|
|
390
390
|
*/
|
|
391
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
391
392
|
export class SimulatedPlayer extends minecraftserver.Player {
|
|
392
|
-
|
|
393
|
+
private constructor();
|
|
393
394
|
/**
|
|
394
395
|
* @remarks
|
|
395
396
|
* Rotation of the head across pitch and yaw angles.
|
|
@@ -859,7 +860,7 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
859
860
|
* tests into suites to run.
|
|
860
861
|
*/
|
|
861
862
|
export class Tags {
|
|
862
|
-
|
|
863
|
+
private constructor();
|
|
863
864
|
/**
|
|
864
865
|
* @remarks
|
|
865
866
|
* Indicates that the tagged test should be a part of all
|
|
@@ -897,7 +898,7 @@ export class Tags {
|
|
|
897
898
|
* the GameTest structure block.
|
|
898
899
|
*/
|
|
899
900
|
export class Test {
|
|
900
|
-
|
|
901
|
+
private constructor();
|
|
901
902
|
/**
|
|
902
903
|
* @remarks
|
|
903
904
|
* Tests that the condition specified in _condition_ is true.
|
|
@@ -2056,8 +2057,9 @@ export interface GameTestErrorContext {
|
|
|
2056
2057
|
tickCount: number;
|
|
2057
2058
|
}
|
|
2058
2059
|
|
|
2060
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
2059
2061
|
export class GameTestError extends Error {
|
|
2060
|
-
|
|
2062
|
+
private constructor();
|
|
2061
2063
|
context?: GameTestErrorContext;
|
|
2062
2064
|
messageParameters: string[];
|
|
2063
2065
|
type: GameTestErrorType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-gametest",
|
|
3
|
-
"version": "1.0.0-beta.1.20.10-preview.
|
|
3
|
+
"version": "1.0.0-beta.1.20.10-preview.23",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@minecraft/server": "1.
|
|
16
|
+
"@minecraft/server": "1.5.0-beta.1.20.10-preview.23"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT"
|
|
19
19
|
}
|