@minecraft/server-gametest 1.0.0-beta.1.20.10-stable → 1.0.0-beta.1.20.20-preview.21
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 +10 -1
- 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
|
+
* "version": "1.0.0-internal.1.20.20-preview.21"
|
|
21
21
|
* }
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
@@ -455,6 +455,15 @@ export class SimulatedPlayer extends minecraftserver.Player {
|
|
|
455
455
|
* @throws This function can throw errors.
|
|
456
456
|
*/
|
|
457
457
|
disconnect(): void;
|
|
458
|
+
/**
|
|
459
|
+
* @remarks
|
|
460
|
+
* Drops the simulated player's selected item
|
|
461
|
+
*
|
|
462
|
+
* This function can't be called in read-only mode.
|
|
463
|
+
*
|
|
464
|
+
* @throws This function can throw errors.
|
|
465
|
+
*/
|
|
466
|
+
dropSelectedItem(): boolean;
|
|
458
467
|
/**
|
|
459
468
|
* @remarks
|
|
460
469
|
* This function can't be called in read-only mode.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-gametest",
|
|
3
|
-
"version": "1.0.0-beta.1.20.
|
|
3
|
+
"version": "1.0.0-beta.1.20.20-preview.21",
|
|
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.20-preview.21"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT"
|
|
19
19
|
}
|