@minecraft/server-editor 0.1.0-beta.1.26.40-preview.20 → 0.1.0-beta.1.26.40-preview.23

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 (2) hide show
  1. package/index.d.ts +20 -0
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -6178,6 +6178,12 @@ export interface BuiltInUIManager {
6178
6178
  *
6179
6179
  */
6180
6180
  saveAndExit(): void;
6181
+ /**
6182
+ * @remarks
6183
+ * Shows the Keyboard Settings modal
6184
+ *
6185
+ */
6186
+ showKeyboardSettings(): void;
6181
6187
  /**
6182
6188
  * @remarks
6183
6189
  * Shows update information for the current version
@@ -6196,6 +6202,12 @@ export interface BuiltInUIManager {
6196
6202
  *
6197
6203
  */
6198
6204
  updateLogPanelVisibility(visibility: boolean): void;
6205
+ /**
6206
+ * @remarks
6207
+ * Updates the visibility of the Structure panel
6208
+ *
6209
+ */
6210
+ updateStructurePanelVisibility(visibility: boolean): void;
6199
6211
  /**
6200
6212
  * @remarks
6201
6213
  * Updates the visibility of the control demo
@@ -10686,6 +10698,14 @@ export interface IStringPropertyItem extends IPropertyItemBase {
10686
10698
  */
10687
10699
  // @ts-ignore Class inheritance allowed for native defined classes
10688
10700
  export interface IStringPropertyItemOptions extends IPropertyItemOptionsBase {
10701
+ /**
10702
+ * @remarks
10703
+ * If true, profanity filtering will be applied on blur and a
10704
+ * warning modal will be shown. The field value will be cleared
10705
+ * if profanity is detected.
10706
+ *
10707
+ */
10708
+ filterProfanity?: boolean;
10689
10709
  /**
10690
10710
  * @remarks
10691
10711
  * Shows clear button for the item. If undefined, it will be
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server-editor",
3
- "version": "0.1.0-beta.1.26.40-preview.20",
3
+ "version": "0.1.0-beta.1.26.40-preview.23",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {
@@ -14,8 +14,8 @@
14
14
  ],
15
15
  "peerDependencies": {
16
16
  "@minecraft/common": "^1.0.0",
17
- "@minecraft/server": "^2.10.0-beta.1.26.40-preview.20",
18
- "@minecraft/vanilla-data": ">=1.20.70 || 1.26.40-preview.20"
17
+ "@minecraft/server": "^2.10.0-beta.1.26.40-preview.23",
18
+ "@minecraft/vanilla-data": ">=1.20.70 || 1.26.40-preview.23"
19
19
  },
20
20
  "license": "MIT"
21
21
  }