@minecraft/server-editor 0.1.0-beta.1.21.100-preview.25 → 0.1.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 +6 -6
- package/index.d.ts +32 -2
- package/package.json +19 -19
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# `@minecraft/server-editor`
|
|
2
|
-
|
|
3
|
-
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
4
|
-
|
|
5
|
-
See full documentation for this module here:
|
|
6
|
-
|
|
1
|
+
# `@minecraft/server-editor`
|
|
2
|
+
|
|
3
|
+
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
4
|
+
|
|
5
|
+
See full documentation for this module here:
|
|
6
|
+
|
|
7
7
|
https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server-editor/minecraft-server-editor
|
package/index.d.ts
CHANGED
|
@@ -1821,6 +1821,18 @@ export class BrushShapeManager {
|
|
|
1821
1821
|
*
|
|
1822
1822
|
*/
|
|
1823
1823
|
deactivateBrushTool(): void;
|
|
1824
|
+
/**
|
|
1825
|
+
* @remarks
|
|
1826
|
+
* This function can't be called in read-only mode.
|
|
1827
|
+
*
|
|
1828
|
+
*/
|
|
1829
|
+
disableItemPlacement(): void;
|
|
1830
|
+
/**
|
|
1831
|
+
* @remarks
|
|
1832
|
+
* This function can't be called in read-only mode.
|
|
1833
|
+
*
|
|
1834
|
+
*/
|
|
1835
|
+
enableItemPlacement(itemType: minecraftserver.ItemType, data?: number): void;
|
|
1824
1836
|
/**
|
|
1825
1837
|
* @remarks
|
|
1826
1838
|
* This function can't be called in read-only mode.
|
|
@@ -5383,6 +5395,24 @@ export interface IComboBoxPropertyItem extends IPropertyItemBase {
|
|
|
5383
5395
|
setTooltip(tooltip: BasicTooltipContent | undefined): void;
|
|
5384
5396
|
}
|
|
5385
5397
|
|
|
5398
|
+
/**
|
|
5399
|
+
* Properties of toggle group property item list entry
|
|
5400
|
+
*/
|
|
5401
|
+
export interface IComboBoxPropertyItemEntry {
|
|
5402
|
+
/**
|
|
5403
|
+
* @remarks
|
|
5404
|
+
* Localized display text of the entry.
|
|
5405
|
+
*
|
|
5406
|
+
*/
|
|
5407
|
+
readonly label?: LocalizedString;
|
|
5408
|
+
/**
|
|
5409
|
+
* @remarks
|
|
5410
|
+
* The selectable value of the entry.
|
|
5411
|
+
*
|
|
5412
|
+
*/
|
|
5413
|
+
readonly value: string;
|
|
5414
|
+
}
|
|
5415
|
+
|
|
5386
5416
|
/**
|
|
5387
5417
|
* Optional properties for ComboBox property item
|
|
5388
5418
|
*/
|
|
@@ -5410,7 +5440,7 @@ export interface IComboBoxPropertyItemOptions extends IPropertyItemOptionsBase {
|
|
|
5410
5440
|
* type).
|
|
5411
5441
|
*
|
|
5412
5442
|
*/
|
|
5413
|
-
entries?:
|
|
5443
|
+
entries?: IComboBoxPropertyItemEntry[];
|
|
5414
5444
|
/**
|
|
5415
5445
|
* @remarks
|
|
5416
5446
|
* If true label text will be hidden. It will be visible by
|
|
@@ -7359,7 +7389,7 @@ export interface IToggleGroupPropertyItemEntry {
|
|
|
7359
7389
|
* Optional tooltip description text of the entry.
|
|
7360
7390
|
*
|
|
7361
7391
|
*/
|
|
7362
|
-
readonly tooltip?:
|
|
7392
|
+
readonly tooltip?: BasicTooltipContent;
|
|
7363
7393
|
/**
|
|
7364
7394
|
* @remarks
|
|
7365
7395
|
* The selectable value of the entry.
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@minecraft/server-editor",
|
|
3
|
-
"version": "0.1.0-beta.1.21.
|
|
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
|
-
"
|
|
16
|
-
"@minecraft/common": "^1.0.0",
|
|
17
|
-
"@minecraft/server": "^2.
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT"
|
|
1
|
+
{
|
|
2
|
+
"name": "@minecraft/server-editor",
|
|
3
|
+
"version": "0.1.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.0.0",
|
|
17
|
+
"@minecraft/server": "^2.3.0-beta.1.21.110-preview.22"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT"
|
|
20
20
|
}
|