@minecraft/server-gametest 1.0.0-beta.1.26.10-preview.24 → 1.0.0-beta.1.26.2-stable
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/README.md +8 -8
- package/index.d.ts +4 -10
- package/package.json +19 -19
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# `@minecraft/server-gametest`
|
|
2
|
-
|
|
3
|
-
The @minecraft/server-gametest module provides scriptable APIs for scaffolding and testing content experiences in Minecraft.
|
|
4
|
-
|
|
5
|
-
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
6
|
-
|
|
7
|
-
See full documentation for this module here:
|
|
8
|
-
|
|
1
|
+
# `@minecraft/server-gametest`
|
|
2
|
+
|
|
3
|
+
The @minecraft/server-gametest module provides scriptable APIs for scaffolding and testing content experiences in Minecraft.
|
|
4
|
+
|
|
5
|
+
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
6
|
+
|
|
7
|
+
See full documentation for this module here:
|
|
8
|
+
|
|
9
9
|
https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server-gametest/minecraft-server-gametest
|
package/index.d.ts
CHANGED
|
@@ -754,7 +754,6 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
754
754
|
*
|
|
755
755
|
* @param speed
|
|
756
756
|
* Defaults to: 1
|
|
757
|
-
* Bounds: [0, 1]
|
|
758
757
|
* @throws This function can throw errors.
|
|
759
758
|
*/
|
|
760
759
|
move(westEast: number, northSouth: number, speed?: number): void;
|
|
@@ -767,7 +766,6 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
767
766
|
*
|
|
768
767
|
* @param speed
|
|
769
768
|
* Defaults to: 1
|
|
770
|
-
* Bounds: [0, 1]
|
|
771
769
|
* @throws This function can throw errors.
|
|
772
770
|
*/
|
|
773
771
|
moveRelative(leftRight: number, backwardForward: number, speed?: number): void;
|
|
@@ -813,7 +811,6 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
813
811
|
*
|
|
814
812
|
* @param speed
|
|
815
813
|
* Defaults to: 1
|
|
816
|
-
* Bounds: [0, 1]
|
|
817
814
|
* @throws This function can throw errors.
|
|
818
815
|
*
|
|
819
816
|
* {@link GameTestError}
|
|
@@ -831,7 +828,6 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
831
828
|
*
|
|
832
829
|
* @param speed
|
|
833
830
|
* Defaults to: 1
|
|
834
|
-
* Bounds: [0, 1]
|
|
835
831
|
* @throws This function can throw errors.
|
|
836
832
|
*
|
|
837
833
|
* {@link minecraftcommon.InvalidArgumentError}
|
|
@@ -852,7 +848,6 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
852
848
|
*
|
|
853
849
|
* @param speed
|
|
854
850
|
* Defaults to: 1
|
|
855
|
-
* Bounds: [0, 1]
|
|
856
851
|
* @throws This function can throw errors.
|
|
857
852
|
*
|
|
858
853
|
* {@link GameTestError}
|
|
@@ -873,7 +868,6 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
873
868
|
* @param speed
|
|
874
869
|
* Net speed to use for doing the navigation.
|
|
875
870
|
* Defaults to: 1
|
|
876
|
-
* Bounds: [0, 1]
|
|
877
871
|
* @throws This function can throw errors.
|
|
878
872
|
*
|
|
879
873
|
* {@link GameTestError}
|
|
@@ -2719,7 +2713,7 @@ export class GameTestCompletedError extends Error {
|
|
|
2719
2713
|
* This property can be read in early-execution mode.
|
|
2720
2714
|
*
|
|
2721
2715
|
*/
|
|
2722
|
-
|
|
2716
|
+
reason: GameTestCompletedErrorReason;
|
|
2723
2717
|
}
|
|
2724
2718
|
|
|
2725
2719
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -2730,19 +2724,19 @@ export class GameTestError extends Error {
|
|
|
2730
2724
|
* This property can be read in early-execution mode.
|
|
2731
2725
|
*
|
|
2732
2726
|
*/
|
|
2733
|
-
|
|
2727
|
+
context?: GameTestErrorContext;
|
|
2734
2728
|
/**
|
|
2735
2729
|
* @remarks
|
|
2736
2730
|
* This property can be read in early-execution mode.
|
|
2737
2731
|
*
|
|
2738
2732
|
*/
|
|
2739
|
-
|
|
2733
|
+
messageParameters: string[];
|
|
2740
2734
|
/**
|
|
2741
2735
|
* @remarks
|
|
2742
2736
|
* This property can be read in early-execution mode.
|
|
2743
2737
|
*
|
|
2744
2738
|
*/
|
|
2745
|
-
|
|
2739
|
+
type: GameTestErrorType;
|
|
2746
2740
|
}
|
|
2747
2741
|
|
|
2748
2742
|
/**
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@minecraft/server-gametest",
|
|
3
|
-
"version": "1.0.0-beta.1.26.
|
|
4
|
-
"description": "",
|
|
5
|
-
"contributors": [
|
|
6
|
-
{
|
|
7
|
-
"name": "Jake Shirley",
|
|
8
|
-
"email": "jake@xbox.com"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "Mike Ammerlaan",
|
|
12
|
-
"email": "mikeam@microsoft.com"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"@minecraft/common": "^1.0.0",
|
|
17
|
-
"@minecraft/server": "^1.17.0 || ^2.0.0 || ^2.
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT"
|
|
1
|
+
{
|
|
2
|
+
"name": "@minecraft/server-gametest",
|
|
3
|
+
"version": "1.0.0-beta.1.26.2-stable",
|
|
4
|
+
"description": "",
|
|
5
|
+
"contributors": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Jake Shirley",
|
|
8
|
+
"email": "jake@xbox.com"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Mike Ammerlaan",
|
|
12
|
+
"email": "mikeam@microsoft.com"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@minecraft/common": "^1.0.0",
|
|
17
|
+
"@minecraft/server": "^1.17.0 || ^2.0.0 || ^2.6.0-beta.1.26.2-stable"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT"
|
|
20
20
|
}
|