@minecraft/server 2.3.0-beta.1.21.110-preview.20 → 2.3.0-beta.1.21.110-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.
- package/README.md +8 -8
- package/index.d.ts +16 -0
- package/package.json +19 -19
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# `@minecraft/server`
|
|
2
|
-
|
|
3
|
-
Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more.
|
|
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`
|
|
2
|
+
|
|
3
|
+
Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more.
|
|
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/minecraft-server
|
package/index.d.ts
CHANGED
|
@@ -346,6 +346,13 @@ export enum CustomCommandErrorReason {
|
|
|
346
346
|
*
|
|
347
347
|
*/
|
|
348
348
|
RegistryReadOnly = 'RegistryReadOnly',
|
|
349
|
+
/**
|
|
350
|
+
* @beta
|
|
351
|
+
* @remarks
|
|
352
|
+
* Non enum type command parameters cannot use enumName.
|
|
353
|
+
*
|
|
354
|
+
*/
|
|
355
|
+
UnexpectedEnumName = 'UnexpectedEnumName',
|
|
349
356
|
}
|
|
350
357
|
|
|
351
358
|
/**
|
|
@@ -20742,6 +20749,15 @@ export interface CustomCommand {
|
|
|
20742
20749
|
* command.
|
|
20743
20750
|
*/
|
|
20744
20751
|
export interface CustomCommandParameter {
|
|
20752
|
+
/**
|
|
20753
|
+
* @beta
|
|
20754
|
+
* @remarks
|
|
20755
|
+
* Can be used to reference the enum name when {@link
|
|
20756
|
+
* CustomCommandParamType} is 'Enum'. Allows the parameter name
|
|
20757
|
+
* to be different from the enum name.
|
|
20758
|
+
*
|
|
20759
|
+
*/
|
|
20760
|
+
enumName?: string;
|
|
20745
20761
|
/**
|
|
20746
20762
|
* @remarks
|
|
20747
20763
|
* The name of parameter as it appears on the command line.
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@minecraft/server",
|
|
3
|
-
"version": "2.3.0-beta.1.21.110-preview.
|
|
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.2.0",
|
|
17
|
-
"@minecraft/vanilla-data": ">=1.20.70 || 1.21.110-preview.
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT"
|
|
1
|
+
{
|
|
2
|
+
"name": "@minecraft/server",
|
|
3
|
+
"version": "2.3.0-beta.1.21.110-preview.22",
|
|
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.2.0",
|
|
17
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.21.110-preview.22"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT"
|
|
20
20
|
}
|