@minecraft/server-ui 1.2.0-beta.1.20.40-preview.24 → 1.2.0-beta.1.20.40-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 +0 -2
- package/index.d.ts +1 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,8 +10,6 @@ The `@minecraft/server-ui` module contains types for expressing simple dialog-ba
|
|
|
10
10
|
|
|
11
11
|
* [*@minecraft/server-ui.ModalFormData*](../../minecraft/server-ui/ModalFormData.md) allow for a more flexible "questionnaire-style" list of controls that can be used to take input.
|
|
12
12
|
|
|
13
|
-
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
14
|
-
|
|
15
13
|
See full documentation for this module here:
|
|
16
14
|
|
|
17
15
|
https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server-ui/minecraft-server-ui
|
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
***************************************************************************** */
|
|
9
9
|
/**
|
|
10
|
-
* @beta
|
|
11
10
|
* @packageDocumentation
|
|
12
11
|
* The `@minecraft/server-ui` module contains types for
|
|
13
12
|
* expressing simple dialog-based user experiences.
|
|
@@ -43,16 +42,13 @@
|
|
|
43
42
|
* ```json
|
|
44
43
|
* {
|
|
45
44
|
* "module_name": "@minecraft/server-ui",
|
|
46
|
-
* "version": "1.
|
|
45
|
+
* "version": "1.1.0"
|
|
47
46
|
* }
|
|
48
47
|
* ```
|
|
49
48
|
*
|
|
50
49
|
*/
|
|
51
50
|
import * as minecraftcommon from '@minecraft/common';
|
|
52
51
|
import * as minecraftserver from '@minecraft/server';
|
|
53
|
-
/**
|
|
54
|
-
* @beta
|
|
55
|
-
*/
|
|
56
52
|
export enum FormCancelationReason {
|
|
57
53
|
UserBusy = 'UserBusy',
|
|
58
54
|
UserClosed = 'UserClosed',
|
|
@@ -124,14 +120,12 @@ export class ActionFormResponse extends FormResponse {
|
|
|
124
120
|
export class FormResponse {
|
|
125
121
|
private constructor();
|
|
126
122
|
/**
|
|
127
|
-
* @beta
|
|
128
123
|
* @remarks
|
|
129
124
|
* Contains additional details as to why a form was canceled.
|
|
130
125
|
*
|
|
131
126
|
*/
|
|
132
127
|
readonly cancelationReason?: FormCancelationReason;
|
|
133
128
|
/**
|
|
134
|
-
* @beta
|
|
135
129
|
* @remarks
|
|
136
130
|
* If true, the form was canceled by the player (e.g., they
|
|
137
131
|
* selected the pop-up X close button).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-ui",
|
|
3
|
-
"version": "1.2.0-beta.1.20.40-
|
|
3
|
+
"version": "1.2.0-beta.1.20.40-stable",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@minecraft/common": "^1.0.0
|
|
17
|
-
"@minecraft/server": "^1.7.0-beta.1.20.40-
|
|
16
|
+
"@minecraft/common": "^1.0.0",
|
|
17
|
+
"@minecraft/server": "^1.7.0-beta.1.20.40-stable"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|