@minecraft/server-ui 2.0.0 → 2.1.0-beta.1.12.111-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.
Files changed (3) hide show
  1. package/README.md +16 -14
  2. package/index.d.ts +3 -2
  3. package/package.json +19 -19
package/README.md CHANGED
@@ -1,15 +1,17 @@
1
- # `@minecraft/server-ui`
2
-
3
- The `@minecraft/server-ui` module contains types for expressing simple dialog-based user experiences.
4
-
5
-
6
-
7
- * [*@minecraft/server-ui.ActionFormData*](../../../scriptapi/minecraft/server-ui/ActionFormData.md) contain a list of buttons with captions and images that can be used for presenting a set of options to a player.
8
-
9
- * [*@minecraft/server-ui.MessageFormData*](../../../scriptapi/minecraft/server-ui/MessageFormData.md) are simple two-button message experiences that are functional for Yes/No or OK/Cancel questions.
10
-
11
- * [*@minecraft/server-ui.ModalFormData*](../../../scriptapi/minecraft/server-ui/ModalFormData.md) allow for a more flexible "questionnaire-style" list of controls that can be used to take input.
12
-
13
- See full documentation for this module here:
14
-
1
+ # `@minecraft/server-ui`
2
+
3
+ The `@minecraft/server-ui` module contains types for expressing simple dialog-based user experiences.
4
+
5
+
6
+
7
+ * [*@minecraft/server-ui.ActionFormData*](../../../scriptapi/minecraft/server-ui/ActionFormData.md) contain a list of buttons with captions and images that can be used for presenting a set of options to a player.
8
+
9
+ * [*@minecraft/server-ui.MessageFormData*](../../../scriptapi/minecraft/server-ui/MessageFormData.md) are simple two-button message experiences that are functional for Yes/No or OK/Cancel questions.
10
+
11
+ * [*@minecraft/server-ui.ModalFormData*](../../../scriptapi/minecraft/server-ui/ModalFormData.md) allow for a more flexible "questionnaire-style" list of controls that can be used to take input.
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
+ See full documentation for this module here:
16
+
15
17
  https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server-ui/minecraft-server-ui
package/index.d.ts CHANGED
@@ -7,6 +7,7 @@
7
7
  Copyright (c) Microsoft Corporation.
8
8
  ***************************************************************************** */
9
9
  /**
10
+ * @beta
10
11
  * @packageDocumentation
11
12
  * The `@minecraft/server-ui` module contains types for
12
13
  * expressing simple dialog-based user experiences.
@@ -25,7 +26,7 @@
25
26
  * ```json
26
27
  * {
27
28
  * "module_name": "@minecraft/server-ui",
28
- * "version": "2.0.0"
29
+ * "version": "2.1.0-beta"
29
30
  * }
30
31
  * ```
31
32
  *
@@ -724,7 +725,7 @@ export interface ModalFormDataTextFieldOptions {
724
725
  * The default value for the textfield.
725
726
  *
726
727
  */
727
- defaultValue?: string;
728
+ defaultValue?: minecraftserver.RawMessage | string;
728
729
  /**
729
730
  * @remarks
730
731
  * It will show an exclamation icon that will display a tooltip
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
- {
2
- "name": "@minecraft/server-ui",
3
- "version": "2.0.0",
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
- "dependencies": {
16
- "@minecraft/common": "^1.0.0",
17
- "@minecraft/server": "^2.0.0"
18
- },
19
- "license": "MIT"
1
+ {
2
+ "name": "@minecraft/server-ui",
3
+ "version": "2.1.0-beta.1.12.111-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": "^2.0.0"
18
+ },
19
+ "license": "MIT"
20
20
  }