@minecraft/server-editor 0.1.0-beta.1.21.70-preview.23 → 0.1.0-beta.1.21.70-preview.24
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 +94 -8
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1518,7 +1518,7 @@ export declare class BedrockEventSubscriptionCache {
|
|
|
1518
1518
|
export declare class BlockIdentifierObservableValidator implements ObservableValidator<string> {
|
|
1519
1519
|
/**
|
|
1520
1520
|
* @remarks
|
|
1521
|
-
* This property can't be
|
|
1521
|
+
* This property can't be used in read-only mode.
|
|
1522
1522
|
*
|
|
1523
1523
|
*/
|
|
1524
1524
|
protected _defaultValue: string;
|
|
@@ -2262,7 +2262,7 @@ export class EditorStructureManager {
|
|
|
2262
2262
|
export declare class EntityIdentifierObservableValidator implements ObservableValidator<string> {
|
|
2263
2263
|
/**
|
|
2264
2264
|
* @remarks
|
|
2265
|
-
* This property can't be
|
|
2265
|
+
* This property can't be used in read-only mode.
|
|
2266
2266
|
*
|
|
2267
2267
|
*/
|
|
2268
2268
|
protected _defaultValue: string;
|
|
@@ -2446,17 +2446,44 @@ export class ExtensionContext {
|
|
|
2446
2446
|
*/
|
|
2447
2447
|
export class ExtensionContextAfterEvents {
|
|
2448
2448
|
private constructor();
|
|
2449
|
+
/**
|
|
2450
|
+
* @remarks
|
|
2451
|
+
* This property can be read in early-execution mode.
|
|
2452
|
+
*
|
|
2453
|
+
*/
|
|
2449
2454
|
readonly clipboardChange: ClipboardChangeAfterEventSignal;
|
|
2455
|
+
/**
|
|
2456
|
+
* @remarks
|
|
2457
|
+
* This property can be read in early-execution mode.
|
|
2458
|
+
*
|
|
2459
|
+
*/
|
|
2450
2460
|
readonly currentThemeChange: CurrentThemeChangeAfterEventSignal;
|
|
2461
|
+
/**
|
|
2462
|
+
* @remarks
|
|
2463
|
+
* This property can be read in early-execution mode.
|
|
2464
|
+
*
|
|
2465
|
+
*/
|
|
2451
2466
|
readonly currentThemeColorChange: CurrentThemeColorChangeAfterEventSignal;
|
|
2467
|
+
/**
|
|
2468
|
+
* @remarks
|
|
2469
|
+
* This property can be read in early-execution mode.
|
|
2470
|
+
*
|
|
2471
|
+
*/
|
|
2452
2472
|
readonly cursorPropertyChange: CursorPropertyChangeAfterEventSignal;
|
|
2453
2473
|
/**
|
|
2454
2474
|
* @remarks
|
|
2455
2475
|
* This event triggers when the editor mode changes for the
|
|
2456
2476
|
* player.
|
|
2457
2477
|
*
|
|
2478
|
+
* This property can be read in early-execution mode.
|
|
2479
|
+
*
|
|
2458
2480
|
*/
|
|
2459
2481
|
readonly modeChange: ModeChangeAfterEventSignal;
|
|
2482
|
+
/**
|
|
2483
|
+
* @remarks
|
|
2484
|
+
* This property can be read in early-execution mode.
|
|
2485
|
+
*
|
|
2486
|
+
*/
|
|
2460
2487
|
readonly primarySelectionChange: PrimarySelectionChangeAfterEventSignal;
|
|
2461
2488
|
}
|
|
2462
2489
|
|
|
@@ -2470,6 +2497,8 @@ export class GraphicsSettings {
|
|
|
2470
2497
|
* @remarks
|
|
2471
2498
|
* Retrieves a graphics settings property value.
|
|
2472
2499
|
*
|
|
2500
|
+
* This function can't be called in read-only mode.
|
|
2501
|
+
*
|
|
2473
2502
|
* @param property
|
|
2474
2503
|
* Property identifier.
|
|
2475
2504
|
* @returns
|
|
@@ -2481,6 +2510,8 @@ export class GraphicsSettings {
|
|
|
2481
2510
|
* @remarks
|
|
2482
2511
|
* Retrieves all graphics settings properties and their values.
|
|
2483
2512
|
*
|
|
2513
|
+
* This function can't be called in read-only mode.
|
|
2514
|
+
*
|
|
2484
2515
|
* @returns
|
|
2485
2516
|
* Returns a property value map for all available properties.
|
|
2486
2517
|
*/
|
|
@@ -2489,6 +2520,8 @@ export class GraphicsSettings {
|
|
|
2489
2520
|
* @remarks
|
|
2490
2521
|
* Modifies a graphics settings property value.
|
|
2491
2522
|
*
|
|
2523
|
+
* This function can't be called in read-only mode.
|
|
2524
|
+
*
|
|
2492
2525
|
* @param property
|
|
2493
2526
|
* Property identifier.
|
|
2494
2527
|
* @param value
|
|
@@ -2500,6 +2533,8 @@ export class GraphicsSettings {
|
|
|
2500
2533
|
* @remarks
|
|
2501
2534
|
* Modify multiple graphics settings properties.
|
|
2502
2535
|
*
|
|
2536
|
+
* This function can't be called in read-only mode.
|
|
2537
|
+
*
|
|
2503
2538
|
* @param properties
|
|
2504
2539
|
* Property map to set available property values. If the
|
|
2505
2540
|
* property is not defined in the map, it will not be modified.
|
|
@@ -2672,19 +2707,19 @@ export class ModeChangeAfterEventSignal {
|
|
|
2672
2707
|
export declare class NumberLimitObservableValidator implements ObservableValidator<number> {
|
|
2673
2708
|
/**
|
|
2674
2709
|
* @remarks
|
|
2675
|
-
* This property can't be
|
|
2710
|
+
* This property can't be used in read-only mode.
|
|
2676
2711
|
*
|
|
2677
2712
|
*/
|
|
2678
2713
|
protected _isInteger?: boolean;
|
|
2679
2714
|
/**
|
|
2680
2715
|
* @remarks
|
|
2681
|
-
* This property can't be
|
|
2716
|
+
* This property can't be used in read-only mode.
|
|
2682
2717
|
*
|
|
2683
2718
|
*/
|
|
2684
2719
|
protected _max?: number;
|
|
2685
2720
|
/**
|
|
2686
2721
|
* @remarks
|
|
2687
|
-
* This property can't be
|
|
2722
|
+
* This property can't be used in read-only mode.
|
|
2688
2723
|
*
|
|
2689
2724
|
*/
|
|
2690
2725
|
protected _min?: number;
|
|
@@ -2751,6 +2786,11 @@ export class PrimarySelectionChangedEvent {
|
|
|
2751
2786
|
|
|
2752
2787
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
2753
2788
|
export class ProbabilityBlockPaletteItem extends IBlockPaletteItem {
|
|
2789
|
+
/**
|
|
2790
|
+
* @remarks
|
|
2791
|
+
* This function can't be called in read-only mode.
|
|
2792
|
+
*
|
|
2793
|
+
*/
|
|
2754
2794
|
constructor(displayName?: string);
|
|
2755
2795
|
/**
|
|
2756
2796
|
* @remarks
|
|
@@ -3044,6 +3084,11 @@ export class SettingsUIElement {
|
|
|
3044
3084
|
readonly name: string;
|
|
3045
3085
|
readonly onChange: (arg0: boolean | number | string | minecraftserver.Vector3) => void;
|
|
3046
3086
|
readonly options: SettingsUIElementOptions;
|
|
3087
|
+
/**
|
|
3088
|
+
* @remarks
|
|
3089
|
+
* This function can't be called in read-only mode.
|
|
3090
|
+
*
|
|
3091
|
+
*/
|
|
3047
3092
|
constructor(
|
|
3048
3093
|
name: string,
|
|
3049
3094
|
initialValue: boolean | number | string | minecraftserver.Vector3,
|
|
@@ -3054,6 +3099,11 @@ export class SettingsUIElement {
|
|
|
3054
3099
|
|
|
3055
3100
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
3056
3101
|
export class SimpleBlockPaletteItem extends IBlockPaletteItem {
|
|
3102
|
+
/**
|
|
3103
|
+
* @remarks
|
|
3104
|
+
* This function can't be called in read-only mode.
|
|
3105
|
+
*
|
|
3106
|
+
*/
|
|
3057
3107
|
constructor(displayName?: string);
|
|
3058
3108
|
}
|
|
3059
3109
|
|
|
@@ -3124,13 +3174,29 @@ export class SimulationState {
|
|
|
3124
3174
|
|
|
3125
3175
|
export class SpeedSettings {
|
|
3126
3176
|
private constructor();
|
|
3177
|
+
/**
|
|
3178
|
+
* @remarks
|
|
3179
|
+
* This function can't be called in read-only mode.
|
|
3180
|
+
*
|
|
3181
|
+
*/
|
|
3127
3182
|
get<T extends keyof SpeedSettingsPropertyTypeMap>(property: T): SpeedSettingsPropertyTypeMap[T] | undefined;
|
|
3183
|
+
/**
|
|
3184
|
+
* @remarks
|
|
3185
|
+
* This function can't be called in read-only mode.
|
|
3186
|
+
*
|
|
3187
|
+
*/
|
|
3128
3188
|
getAll(): SpeedSettingsPropertyTypeMap;
|
|
3129
3189
|
/**
|
|
3190
|
+
* @remarks
|
|
3191
|
+
* This function can't be called in read-only mode.
|
|
3192
|
+
*
|
|
3130
3193
|
* @throws This function can throw errors.
|
|
3131
3194
|
*/
|
|
3132
3195
|
set<T extends keyof SpeedSettingsPropertyTypeMap>(property: T, value: SpeedSettingsPropertyTypeMap[T]): void;
|
|
3133
3196
|
/**
|
|
3197
|
+
* @remarks
|
|
3198
|
+
* This function can't be called in read-only mode.
|
|
3199
|
+
*
|
|
3134
3200
|
* @throws This function can throw errors.
|
|
3135
3201
|
*/
|
|
3136
3202
|
setAll(properties: SpeedSettingsPropertyTypeMap): void;
|
|
@@ -3487,19 +3553,19 @@ export class UserDefinedTransactionHandlerId {
|
|
|
3487
3553
|
export declare class Vector3LimitObservableValidator implements ObservableValidator<minecraftserver.Vector3> {
|
|
3488
3554
|
/**
|
|
3489
3555
|
* @remarks
|
|
3490
|
-
* This property can't be
|
|
3556
|
+
* This property can't be used in read-only mode.
|
|
3491
3557
|
*
|
|
3492
3558
|
*/
|
|
3493
3559
|
protected _isInteger?: boolean;
|
|
3494
3560
|
/**
|
|
3495
3561
|
* @remarks
|
|
3496
|
-
* This property can't be
|
|
3562
|
+
* This property can't be used in read-only mode.
|
|
3497
3563
|
*
|
|
3498
3564
|
*/
|
|
3499
3565
|
protected _max: Partial<minecraftserver.Vector3>;
|
|
3500
3566
|
/**
|
|
3501
3567
|
* @remarks
|
|
3502
|
-
* This property can't be
|
|
3568
|
+
* This property can't be used in read-only mode.
|
|
3503
3569
|
*
|
|
3504
3570
|
*/
|
|
3505
3571
|
protected _min: Partial<minecraftserver.Vector3>;
|
|
@@ -3865,6 +3931,11 @@ export class WidgetComponentRenderPrimitiveTypeAxialSphere extends WidgetCompone
|
|
|
3865
3931
|
*
|
|
3866
3932
|
*/
|
|
3867
3933
|
radius: number;
|
|
3934
|
+
/**
|
|
3935
|
+
* @remarks
|
|
3936
|
+
* This function can't be called in read-only mode.
|
|
3937
|
+
*
|
|
3938
|
+
*/
|
|
3868
3939
|
constructor(center: minecraftserver.Vector3, radius: number, color?: minecraftserver.RGBA);
|
|
3869
3940
|
}
|
|
3870
3941
|
|
|
@@ -3893,6 +3964,11 @@ export class WidgetComponentRenderPrimitiveTypeBox extends WidgetComponentRender
|
|
|
3893
3964
|
*
|
|
3894
3965
|
*/
|
|
3895
3966
|
size?: minecraftserver.Vector3;
|
|
3967
|
+
/**
|
|
3968
|
+
* @remarks
|
|
3969
|
+
* This function can't be called in read-only mode.
|
|
3970
|
+
*
|
|
3971
|
+
*/
|
|
3896
3972
|
constructor(center: minecraftserver.Vector3, color: minecraftserver.RGBA, size?: minecraftserver.Vector3);
|
|
3897
3973
|
}
|
|
3898
3974
|
|
|
@@ -3916,6 +3992,11 @@ export class WidgetComponentRenderPrimitiveTypeDisc extends WidgetComponentRende
|
|
|
3916
3992
|
*
|
|
3917
3993
|
*/
|
|
3918
3994
|
radius: number;
|
|
3995
|
+
/**
|
|
3996
|
+
* @remarks
|
|
3997
|
+
* This function can't be called in read-only mode.
|
|
3998
|
+
*
|
|
3999
|
+
*/
|
|
3919
4000
|
constructor(center: minecraftserver.Vector3, radius: number, color: minecraftserver.RGBA);
|
|
3920
4001
|
}
|
|
3921
4002
|
|
|
@@ -3939,6 +4020,11 @@ export class WidgetComponentRenderPrimitiveTypeLine extends WidgetComponentRende
|
|
|
3939
4020
|
*
|
|
3940
4021
|
*/
|
|
3941
4022
|
start: minecraftserver.Vector3;
|
|
4023
|
+
/**
|
|
4024
|
+
* @remarks
|
|
4025
|
+
* This function can't be called in read-only mode.
|
|
4026
|
+
*
|
|
4027
|
+
*/
|
|
3942
4028
|
constructor(start: minecraftserver.Vector3, end: minecraftserver.Vector3, color: minecraftserver.RGBA);
|
|
3943
4029
|
}
|
|
3944
4030
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-editor",
|
|
3
|
-
"version": "0.1.0-beta.1.21.70-preview.
|
|
3
|
+
"version": "0.1.0-beta.1.21.70-preview.24",
|
|
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.0.0-beta.1.21.70-preview.
|
|
17
|
+
"@minecraft/server": "^2.0.0-beta.1.21.70-preview.24"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|