@minecraft/server-editor 0.1.0-beta.1.21.100-preview.24 → 0.1.0-beta.1.21.110-preview.20

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 +13 -1
  2. package/package.json +3 -3
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.
@@ -7359,7 +7371,7 @@ export interface IToggleGroupPropertyItemEntry {
7359
7371
  * Optional tooltip description text of the entry.
7360
7372
  *
7361
7373
  */
7362
- readonly tooltip?: LocalizedString;
7374
+ readonly tooltip?: BasicTooltipContent;
7363
7375
  /**
7364
7376
  * @remarks
7365
7377
  * The selectable value of the entry.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server-editor",
3
- "version": "0.1.0-beta.1.21.100-preview.24",
3
+ "version": "0.1.0-beta.1.21.110-preview.20",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {
@@ -12,9 +12,9 @@
12
12
  "email": "mikeam@microsoft.com"
13
13
  }
14
14
  ],
15
- "dependencies": {
15
+ "peerDependencies": {
16
16
  "@minecraft/common": "^1.0.0",
17
- "@minecraft/server": "^2.2.0-beta.1.21.100-preview.24"
17
+ "@minecraft/server": "^2.3.0-beta.1.21.110-preview.20"
18
18
  },
19
19
  "license": "MIT"
20
20
  }