@minecraft/server-editor 0.1.0-beta.1.21.100-preview.21 → 0.1.0-beta.1.21.100-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/index.d.ts +28 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -33,6 +33,11 @@ export declare enum ActionTypes {
|
|
|
33
33
|
StatefulAction = 'StatefulAction',
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
export enum AudioSettingsProperty {
|
|
37
|
+
AreSoundsMuted = 'AreSoundsMuted',
|
|
38
|
+
IsMusicMuted = 'IsMusicMuted',
|
|
39
|
+
}
|
|
40
|
+
|
|
36
41
|
export enum Axis {
|
|
37
42
|
None = 0,
|
|
38
43
|
X = 1,
|
|
@@ -1454,6 +1459,7 @@ export type SupportedMouseActionTypes = RegisteredAction<MouseRayCastAction>;
|
|
|
1454
1459
|
export declare type TooltipContent = {
|
|
1455
1460
|
title?: LocalizedString;
|
|
1456
1461
|
description?: LocalizedString;
|
|
1462
|
+
image?: string;
|
|
1457
1463
|
};
|
|
1458
1464
|
|
|
1459
1465
|
/**
|
|
@@ -1479,6 +1485,26 @@ export declare type TooltipLink = {
|
|
|
1479
1485
|
|
|
1480
1486
|
export type UnregisterInputBindingCallback = () => void;
|
|
1481
1487
|
|
|
1488
|
+
export class AudioSettings {
|
|
1489
|
+
private constructor();
|
|
1490
|
+
get(property: AudioSettingsProperty): boolean | number | undefined;
|
|
1491
|
+
getAll(): Record<string, boolean | number>;
|
|
1492
|
+
/**
|
|
1493
|
+
* @remarks
|
|
1494
|
+
* This function can't be called in read-only mode.
|
|
1495
|
+
*
|
|
1496
|
+
* @throws This function can throw errors.
|
|
1497
|
+
*/
|
|
1498
|
+
set(property: AudioSettingsProperty, value: boolean | number): void;
|
|
1499
|
+
/**
|
|
1500
|
+
* @remarks
|
|
1501
|
+
* This function can't be called in read-only mode.
|
|
1502
|
+
*
|
|
1503
|
+
* @throws This function can throw errors.
|
|
1504
|
+
*/
|
|
1505
|
+
setAll(properties: Record<string, boolean | number>): void;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1482
1508
|
/**
|
|
1483
1509
|
* A cache for bedrock event subscriptions. Stores off a
|
|
1484
1510
|
* subscription by event key, and upon teardown unregisters all
|
|
@@ -3130,6 +3156,7 @@ export class SelectionManager {
|
|
|
3130
3156
|
*/
|
|
3131
3157
|
export class SettingsManager {
|
|
3132
3158
|
private constructor();
|
|
3159
|
+
readonly audio: AudioSettings;
|
|
3133
3160
|
/**
|
|
3134
3161
|
* @remarks
|
|
3135
3162
|
* Manages graphics settings properties.
|
|
@@ -7449,7 +7476,7 @@ export interface ModalToolCreationParameters {
|
|
|
7449
7476
|
* Tooltip description of the tool
|
|
7450
7477
|
*
|
|
7451
7478
|
*/
|
|
7452
|
-
tooltip?:
|
|
7479
|
+
tooltip?: BasicTooltipContent;
|
|
7453
7480
|
}
|
|
7454
7481
|
|
|
7455
7482
|
export interface ProjectExportOptions {
|
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.
|
|
3
|
+
"version": "0.1.0-beta.1.21.100-preview.22",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@minecraft/common": "^1.0.0",
|
|
17
|
-
"@minecraft/server": "^2.2.0-beta.1.21.100-preview.
|
|
17
|
+
"@minecraft/server": "^2.2.0-beta.1.21.100-preview.22"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|