@minecraft/server-editor 0.1.0-beta.1.26.30-preview.26 → 0.1.0-beta.1.26.30-preview.28
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 +319 -6
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -890,6 +890,12 @@ export declare enum KeyboardKey {
|
|
|
890
890
|
*
|
|
891
891
|
*/
|
|
892
892
|
F12 = 123,
|
|
893
|
+
/**
|
|
894
|
+
* @remarks
|
|
895
|
+
* KeyboardEvent.DOM_VK_SEMICOLON, ie. ';'
|
|
896
|
+
*
|
|
897
|
+
*/
|
|
898
|
+
SEMICOLON = 186,
|
|
893
899
|
/**
|
|
894
900
|
* @remarks
|
|
895
901
|
* KeyboardEvent.DOM_VK_COMMA, ie. ','
|
|
@@ -1118,6 +1124,14 @@ export declare enum MouseActionType {
|
|
|
1118
1124
|
Wheel = 4,
|
|
1119
1125
|
}
|
|
1120
1126
|
|
|
1127
|
+
export enum MouseCursorIconType {
|
|
1128
|
+
Crosshair = 'Crosshair',
|
|
1129
|
+
Default = 'Default',
|
|
1130
|
+
Move = 'Move',
|
|
1131
|
+
NotAllowed = 'NotAllowed',
|
|
1132
|
+
Wait = 'Wait',
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1121
1135
|
/**
|
|
1122
1136
|
* Input event information about mouse actions
|
|
1123
1137
|
*/
|
|
@@ -1249,12 +1263,21 @@ export declare enum PropertyItemType {
|
|
|
1249
1263
|
Vector3Timeline = 'editorUI:Vector3Timeline',
|
|
1250
1264
|
}
|
|
1251
1265
|
|
|
1266
|
+
export enum RenderPlaneGridResolution {
|
|
1267
|
+
EightBlocks = 'EightBlocks',
|
|
1268
|
+
FourBlocks = 'FourBlocks',
|
|
1269
|
+
None = 'None',
|
|
1270
|
+
OneBlock = 'OneBlock',
|
|
1271
|
+
SixteenBlocks = 'SixteenBlocks',
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1252
1274
|
/**
|
|
1253
1275
|
* Determines the location root pane will be displayed in
|
|
1254
1276
|
*/
|
|
1255
1277
|
export declare enum RootPaneLocation {
|
|
1256
1278
|
Drawer = 0,
|
|
1257
1279
|
Viewport = 1,
|
|
1280
|
+
Bottom = 2,
|
|
1258
1281
|
}
|
|
1259
1282
|
|
|
1260
1283
|
export enum SelectionVolumeEventType {
|
|
@@ -1342,6 +1365,7 @@ export enum ThemeSettingsColorKey {
|
|
|
1342
1365
|
PrefillVolumeBorder = 'PrefillVolumeBorder',
|
|
1343
1366
|
PrefillVolumeFill = 'PrefillVolumeFill',
|
|
1344
1367
|
PrimaryActive = 'PrimaryActive',
|
|
1368
|
+
PrimaryAttention = 'PrimaryAttention',
|
|
1345
1369
|
PrimaryBackground1 = 'PrimaryBackground1',
|
|
1346
1370
|
PrimaryBackground2 = 'PrimaryBackground2',
|
|
1347
1371
|
PrimaryBackground3 = 'PrimaryBackground3',
|
|
@@ -1351,6 +1375,7 @@ export enum ThemeSettingsColorKey {
|
|
|
1351
1375
|
PrimaryMute = 'PrimaryMute',
|
|
1352
1376
|
ScrollBar = 'ScrollBar',
|
|
1353
1377
|
SecondaryActive = 'SecondaryActive',
|
|
1378
|
+
SecondaryAttention = 'SecondaryAttention',
|
|
1354
1379
|
SecondaryBackground1 = 'SecondaryBackground1',
|
|
1355
1380
|
SecondaryBackground2 = 'SecondaryBackground2',
|
|
1356
1381
|
SecondaryBackground3 = 'SecondaryBackground3',
|
|
@@ -1379,6 +1404,7 @@ export enum WidgetComponentType {
|
|
|
1379
1404
|
Gizmo = 'Gizmo',
|
|
1380
1405
|
Grid = 'Grid',
|
|
1381
1406
|
Guide = 'Guide',
|
|
1407
|
+
RenderPlane = 'RenderPlane',
|
|
1382
1408
|
RenderPrim = 'RenderPrim',
|
|
1383
1409
|
Spline = 'Spline',
|
|
1384
1410
|
Text = 'Text',
|
|
@@ -1628,11 +1654,13 @@ export type IPlayerUISession<PerPlayerStorage = Record<string, never>> = {
|
|
|
1628
1654
|
createPropertyPane(options: IRootPropertyPaneOptions): IRootPropertyPane;
|
|
1629
1655
|
readonly actionManager: ActionManager;
|
|
1630
1656
|
readonly inputManager: IGlobalInputManager;
|
|
1657
|
+
readonly paneManager: IPaneManager;
|
|
1631
1658
|
readonly menuBar: IMenuContainer;
|
|
1632
1659
|
readonly actionBar: IActionBar;
|
|
1633
1660
|
readonly statusBar: IStatusBar;
|
|
1634
1661
|
readonly dialogManager: IModalDialogManager;
|
|
1635
1662
|
readonly toolRail: IModalToolContainer;
|
|
1663
|
+
readonly badgeManager: IContentBadgeManager;
|
|
1636
1664
|
readonly log: IPlayerLogger;
|
|
1637
1665
|
readonly extensionContext: ExtensionContext;
|
|
1638
1666
|
readonly builtInUIManager: BuiltInUIManager;
|
|
@@ -3423,6 +3451,7 @@ export class ExtensionContext {
|
|
|
3423
3451
|
*
|
|
3424
3452
|
*/
|
|
3425
3453
|
readonly extensionInfo: Extension;
|
|
3454
|
+
readonly guidePlaneManager: GuidePlaneManager;
|
|
3426
3455
|
/**
|
|
3427
3456
|
* @remarks
|
|
3428
3457
|
* Manager for minimap functionality, providing interface for
|
|
@@ -3571,6 +3600,78 @@ export class GraphicsSettings {
|
|
|
3571
3600
|
setAll(properties: GraphicsSettingsPropertyTypeMap): void;
|
|
3572
3601
|
}
|
|
3573
3602
|
|
|
3603
|
+
export class GuidePlaneManager {
|
|
3604
|
+
private constructor();
|
|
3605
|
+
/**
|
|
3606
|
+
* @remarks
|
|
3607
|
+
* This property can't be edited in restricted-execution mode.
|
|
3608
|
+
*
|
|
3609
|
+
*/
|
|
3610
|
+
allPlanesVisible: boolean;
|
|
3611
|
+
/**
|
|
3612
|
+
* @remarks
|
|
3613
|
+
* This function can't be called in restricted-execution mode.
|
|
3614
|
+
*
|
|
3615
|
+
* @throws This function can throw errors.
|
|
3616
|
+
*/
|
|
3617
|
+
addPlane(
|
|
3618
|
+
origin: minecraftserver.Vector3,
|
|
3619
|
+
normal: minecraftserver.Vector3,
|
|
3620
|
+
visible: boolean,
|
|
3621
|
+
outlineColor: minecraftserver.RGBA,
|
|
3622
|
+
fillColor: minecraftserver.RGBA,
|
|
3623
|
+
): string;
|
|
3624
|
+
/**
|
|
3625
|
+
* @remarks
|
|
3626
|
+
* This function can't be called in restricted-execution mode.
|
|
3627
|
+
*
|
|
3628
|
+
* @throws This function can throw errors.
|
|
3629
|
+
*/
|
|
3630
|
+
getPlane(planeId: string): GuidePlane | undefined;
|
|
3631
|
+
/**
|
|
3632
|
+
* @remarks
|
|
3633
|
+
* This function can't be called in restricted-execution mode.
|
|
3634
|
+
*
|
|
3635
|
+
* @throws This function can throw errors.
|
|
3636
|
+
*/
|
|
3637
|
+
getPlanes(): GuidePlane[];
|
|
3638
|
+
/**
|
|
3639
|
+
* @remarks
|
|
3640
|
+
* This function can't be called in restricted-execution mode.
|
|
3641
|
+
*
|
|
3642
|
+
* @throws This function can throw errors.
|
|
3643
|
+
*/
|
|
3644
|
+
removePlane(planeId: string): void;
|
|
3645
|
+
/**
|
|
3646
|
+
* @remarks
|
|
3647
|
+
* This function can't be called in restricted-execution mode.
|
|
3648
|
+
*
|
|
3649
|
+
* @throws This function can throw errors.
|
|
3650
|
+
*/
|
|
3651
|
+
setPlaneColors(planeId: string, outlineColor: minecraftserver.RGBA, fillColor: minecraftserver.RGBA): void;
|
|
3652
|
+
/**
|
|
3653
|
+
* @remarks
|
|
3654
|
+
* This function can't be called in restricted-execution mode.
|
|
3655
|
+
*
|
|
3656
|
+
* @throws This function can throw errors.
|
|
3657
|
+
*/
|
|
3658
|
+
setPlaneNormal(planeId: string, normal: minecraftserver.Vector3): void;
|
|
3659
|
+
/**
|
|
3660
|
+
* @remarks
|
|
3661
|
+
* This function can't be called in restricted-execution mode.
|
|
3662
|
+
*
|
|
3663
|
+
* @throws This function can throw errors.
|
|
3664
|
+
*/
|
|
3665
|
+
setPlaneOrigin(planeId: string, origin: minecraftserver.Vector3): void;
|
|
3666
|
+
/**
|
|
3667
|
+
* @remarks
|
|
3668
|
+
* This function can't be called in restricted-execution mode.
|
|
3669
|
+
*
|
|
3670
|
+
* @throws This function can throw errors.
|
|
3671
|
+
*/
|
|
3672
|
+
setPlaneVisibility(planeId: string, visible: boolean): void;
|
|
3673
|
+
}
|
|
3674
|
+
|
|
3574
3675
|
export class IBlockPaletteItem {
|
|
3575
3676
|
private constructor();
|
|
3576
3677
|
getBlock(): minecraftserver.BlockType | undefined;
|
|
@@ -4893,6 +4994,16 @@ export class Widget {
|
|
|
4893
4994
|
* @throws This function can throw errors.
|
|
4894
4995
|
*/
|
|
4895
4996
|
addGuideComponent(componentName: string, options?: WidgetComponentGuideOptions): WidgetComponentGuide;
|
|
4997
|
+
/**
|
|
4998
|
+
* @remarks
|
|
4999
|
+
* This function can't be called in restricted-execution mode.
|
|
5000
|
+
*
|
|
5001
|
+
* @throws This function can throw errors.
|
|
5002
|
+
*/
|
|
5003
|
+
addRenderPlaneComponent(
|
|
5004
|
+
componentName: string,
|
|
5005
|
+
options?: WidgetComponentRenderPlaneOptions,
|
|
5006
|
+
): WidgetComponentRenderPlane;
|
|
4896
5007
|
/**
|
|
4897
5008
|
* @remarks
|
|
4898
5009
|
* This function can't be called in restricted-execution mode.
|
|
@@ -5236,6 +5347,41 @@ export class WidgetComponentGuide extends WidgetComponentBase {
|
|
|
5236
5347
|
private constructor();
|
|
5237
5348
|
}
|
|
5238
5349
|
|
|
5350
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
5351
|
+
export class WidgetComponentRenderPlane extends WidgetComponentBase {
|
|
5352
|
+
private constructor();
|
|
5353
|
+
/**
|
|
5354
|
+
* @remarks
|
|
5355
|
+
* This property can't be edited in restricted-execution mode.
|
|
5356
|
+
*
|
|
5357
|
+
*/
|
|
5358
|
+
fillColor: minecraftserver.RGBA;
|
|
5359
|
+
/**
|
|
5360
|
+
* @remarks
|
|
5361
|
+
* This property can't be edited in restricted-execution mode.
|
|
5362
|
+
*
|
|
5363
|
+
*/
|
|
5364
|
+
gridResolution: RenderPlaneGridResolution;
|
|
5365
|
+
/**
|
|
5366
|
+
* @remarks
|
|
5367
|
+
* This property can't be edited in restricted-execution mode.
|
|
5368
|
+
*
|
|
5369
|
+
*/
|
|
5370
|
+
maxSizeChunks: number;
|
|
5371
|
+
/**
|
|
5372
|
+
* @remarks
|
|
5373
|
+
* This property can't be edited in restricted-execution mode.
|
|
5374
|
+
*
|
|
5375
|
+
*/
|
|
5376
|
+
normal: minecraftserver.Vector3;
|
|
5377
|
+
/**
|
|
5378
|
+
* @remarks
|
|
5379
|
+
* This property can't be edited in restricted-execution mode.
|
|
5380
|
+
*
|
|
5381
|
+
*/
|
|
5382
|
+
outlineColor: minecraftserver.RGBA;
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5239
5385
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
5240
5386
|
export class WidgetComponentRenderPrimitive extends WidgetComponentBase {
|
|
5241
5387
|
private constructor();
|
|
@@ -6004,22 +6150,22 @@ export interface BuiltInUIManager {
|
|
|
6004
6150
|
saveAndExit(): void;
|
|
6005
6151
|
/**
|
|
6006
6152
|
* @remarks
|
|
6007
|
-
*
|
|
6153
|
+
* Shows update information for the current version
|
|
6008
6154
|
*
|
|
6009
6155
|
*/
|
|
6010
|
-
|
|
6156
|
+
showUpdateInformation(): void;
|
|
6011
6157
|
/**
|
|
6012
6158
|
* @remarks
|
|
6013
|
-
* Updates the visibility of the
|
|
6159
|
+
* Updates the visibility of the log panel
|
|
6014
6160
|
*
|
|
6015
6161
|
*/
|
|
6016
|
-
|
|
6162
|
+
updateLogPanelVisibility(visibility: boolean): void;
|
|
6017
6163
|
/**
|
|
6018
6164
|
* @remarks
|
|
6019
|
-
* Updates the visibility of the
|
|
6165
|
+
* Updates the visibility of the control demo
|
|
6020
6166
|
*
|
|
6021
6167
|
*/
|
|
6022
|
-
|
|
6168
|
+
updateUISettingsPanelVisibility(visibility: boolean): void;
|
|
6023
6169
|
}
|
|
6024
6170
|
|
|
6025
6171
|
/**
|
|
@@ -6336,6 +6482,15 @@ export interface GameOptions {
|
|
|
6336
6482
|
worldName?: string;
|
|
6337
6483
|
}
|
|
6338
6484
|
|
|
6485
|
+
export interface GuidePlane {
|
|
6486
|
+
fillColor: minecraftserver.RGBA;
|
|
6487
|
+
normal: minecraftserver.Vector3;
|
|
6488
|
+
origin: minecraftserver.Vector3;
|
|
6489
|
+
outlineColor: minecraftserver.RGBA;
|
|
6490
|
+
planeId: string;
|
|
6491
|
+
visible: boolean;
|
|
6492
|
+
}
|
|
6493
|
+
|
|
6339
6494
|
/**
|
|
6340
6495
|
* Manager for IActionBarItem objects.
|
|
6341
6496
|
*/
|
|
@@ -6400,6 +6555,12 @@ export interface IActionBarItem {
|
|
|
6400
6555
|
* Properties required to create an Action Bar item.
|
|
6401
6556
|
*/
|
|
6402
6557
|
export interface IActionBarItemCreationParams {
|
|
6558
|
+
/**
|
|
6559
|
+
* @remarks
|
|
6560
|
+
* Optional content badge identifier associated with the item.
|
|
6561
|
+
*
|
|
6562
|
+
*/
|
|
6563
|
+
contentBadgeId?: string;
|
|
6403
6564
|
/**
|
|
6404
6565
|
* @remarks
|
|
6405
6566
|
* Initial enabled state of the item. If not defined, default
|
|
@@ -7584,6 +7745,27 @@ export interface IComboBoxPropertyItemOptions extends IPropertyItemOptionsBase {
|
|
|
7584
7745
|
tooltip?: BasicTooltipContent;
|
|
7585
7746
|
}
|
|
7586
7747
|
|
|
7748
|
+
export interface IContentBadgeManager {
|
|
7749
|
+
/**
|
|
7750
|
+
* @remarks
|
|
7751
|
+
* Register a badge to highlight a content.
|
|
7752
|
+
*
|
|
7753
|
+
* @param id
|
|
7754
|
+
* The badge identifier
|
|
7755
|
+
* @param iteration
|
|
7756
|
+
* The iteration number (default: 0)
|
|
7757
|
+
*/
|
|
7758
|
+
registerBadge(id: string, iteration?: number): void;
|
|
7759
|
+
/**
|
|
7760
|
+
* @remarks
|
|
7761
|
+
* Unregister a badge.
|
|
7762
|
+
*
|
|
7763
|
+
* @param id
|
|
7764
|
+
* The badge identifier to unregister
|
|
7765
|
+
*/
|
|
7766
|
+
unregisterBadge(id: string): void;
|
|
7767
|
+
}
|
|
7768
|
+
|
|
7587
7769
|
/**
|
|
7588
7770
|
* A property item which supports data entries displayed in a
|
|
7589
7771
|
* table
|
|
@@ -7827,6 +8009,19 @@ export interface IGlobalInputManager {
|
|
|
7827
8009
|
binding: KeyBinding,
|
|
7828
8010
|
info?: KeyBindingInfo,
|
|
7829
8011
|
): IRegisteredKeyBinding;
|
|
8012
|
+
/**
|
|
8013
|
+
* @remarks
|
|
8014
|
+
* Set or clear the mouse cursor icon for a given editor input
|
|
8015
|
+
* context layer.
|
|
8016
|
+
*
|
|
8017
|
+
* @param contextId
|
|
8018
|
+
* The editor input context id (maps to EditorInputContext).
|
|
8019
|
+
* @param mouseIcon
|
|
8020
|
+
* The MouseCursorIconType, or null to clear.
|
|
8021
|
+
* @throws
|
|
8022
|
+
* *
|
|
8023
|
+
*/
|
|
8024
|
+
setMouseIcon(contextId: EditorInputContext, mouseIcon: MouseCursorIconType | undefined): void;
|
|
7830
8025
|
}
|
|
7831
8026
|
|
|
7832
8027
|
/**
|
|
@@ -7895,6 +8090,38 @@ export interface IImagePropertyItemOptions extends IPropertyItemOptionsBase {
|
|
|
7895
8090
|
onClick?: (x: number, y: number) => void;
|
|
7896
8091
|
}
|
|
7897
8092
|
|
|
8093
|
+
/**
|
|
8094
|
+
* A root pane that can store property items.
|
|
8095
|
+
*/
|
|
8096
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
8097
|
+
export interface IIntroductionPane extends IPane {
|
|
8098
|
+
/**
|
|
8099
|
+
* @remarks
|
|
8100
|
+
* Adds a new tab to the introduction pane
|
|
8101
|
+
*
|
|
8102
|
+
*/
|
|
8103
|
+
addTab(props: IntroductionPaneTabProps): IPropertyPane;
|
|
8104
|
+
}
|
|
8105
|
+
|
|
8106
|
+
/**
|
|
8107
|
+
* The options to create introduction pane.
|
|
8108
|
+
*/
|
|
8109
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
8110
|
+
export interface IIntroductionPaneOptions extends IPropertyPaneOptions {
|
|
8111
|
+
/**
|
|
8112
|
+
* @remarks
|
|
8113
|
+
* Localized title of the property pane
|
|
8114
|
+
*
|
|
8115
|
+
*/
|
|
8116
|
+
title?: LocalizedString;
|
|
8117
|
+
/**
|
|
8118
|
+
* @remarks
|
|
8119
|
+
* Unique identifier for the pane
|
|
8120
|
+
*
|
|
8121
|
+
*/
|
|
8122
|
+
uniqueId?: string;
|
|
8123
|
+
}
|
|
8124
|
+
|
|
7898
8125
|
/**
|
|
7899
8126
|
* A property item which supports Link properties
|
|
7900
8127
|
*/
|
|
@@ -8634,6 +8861,12 @@ export interface IMenuCreationParams {
|
|
|
8634
8861
|
*
|
|
8635
8862
|
*/
|
|
8636
8863
|
label: string;
|
|
8864
|
+
/**
|
|
8865
|
+
* @remarks
|
|
8866
|
+
* Determines the order of the menu item among its siblings.
|
|
8867
|
+
*
|
|
8868
|
+
*/
|
|
8869
|
+
sortIndex?: number;
|
|
8637
8870
|
/**
|
|
8638
8871
|
* @remarks
|
|
8639
8872
|
* Whether the menu should have a tooltip.
|
|
@@ -9123,6 +9356,16 @@ export interface IModalTool {
|
|
|
9123
9356
|
* Action to register the binding for.
|
|
9124
9357
|
*/
|
|
9125
9358
|
registerMouseWheelBinding(action: SupportedMouseActionTypes): void;
|
|
9359
|
+
/**
|
|
9360
|
+
* @remarks
|
|
9361
|
+
* Set the mouse cursor icon for this tool when it's active.
|
|
9362
|
+
* The icon will only be visible when this tool is the
|
|
9363
|
+
* currently selected tool.
|
|
9364
|
+
*
|
|
9365
|
+
* @param mouseIcon
|
|
9366
|
+
* The mouse cursor icon, or undefined to reset to default.
|
|
9367
|
+
*/
|
|
9368
|
+
setMouseIcon(mouseIcon: MouseCursorIconType | undefined): void;
|
|
9126
9369
|
/**
|
|
9127
9370
|
* @remarks
|
|
9128
9371
|
* Unregister all input binding for this tool.
|
|
@@ -9204,6 +9447,42 @@ export interface IModalToolContainer {
|
|
|
9204
9447
|
setSortOrder(ids: string[] | undefined): void;
|
|
9205
9448
|
}
|
|
9206
9449
|
|
|
9450
|
+
/**
|
|
9451
|
+
* Properties for introduction pane tab.
|
|
9452
|
+
*/
|
|
9453
|
+
export interface IntroductionPaneTabProps {
|
|
9454
|
+
/**
|
|
9455
|
+
* @remarks
|
|
9456
|
+
* Optional header for the tab content
|
|
9457
|
+
*
|
|
9458
|
+
*/
|
|
9459
|
+
contentHeader?: LocalizedString;
|
|
9460
|
+
/**
|
|
9461
|
+
* @remarks
|
|
9462
|
+
* Optional image for the tab content
|
|
9463
|
+
*
|
|
9464
|
+
*/
|
|
9465
|
+
contentImage?: string;
|
|
9466
|
+
/**
|
|
9467
|
+
* @remarks
|
|
9468
|
+
* Icon for the tab
|
|
9469
|
+
*
|
|
9470
|
+
*/
|
|
9471
|
+
icon?: string;
|
|
9472
|
+
/**
|
|
9473
|
+
* @remarks
|
|
9474
|
+
* Unique identifier for the tab
|
|
9475
|
+
*
|
|
9476
|
+
*/
|
|
9477
|
+
id: string;
|
|
9478
|
+
/**
|
|
9479
|
+
* @remarks
|
|
9480
|
+
* Localized title of the tab
|
|
9481
|
+
*
|
|
9482
|
+
*/
|
|
9483
|
+
label: LocalizedString;
|
|
9484
|
+
}
|
|
9485
|
+
|
|
9207
9486
|
/**
|
|
9208
9487
|
* A property item which supports Number properties
|
|
9209
9488
|
*/
|
|
@@ -9533,6 +9812,24 @@ export interface IPane {
|
|
|
9533
9812
|
show(): void;
|
|
9534
9813
|
}
|
|
9535
9814
|
|
|
9815
|
+
/**
|
|
9816
|
+
* Manager for creating and controlling property panes.
|
|
9817
|
+
*/
|
|
9818
|
+
export interface IPaneManager {
|
|
9819
|
+
/**
|
|
9820
|
+
* @remarks
|
|
9821
|
+
* Create a pane to be shown on the introduction window
|
|
9822
|
+
*
|
|
9823
|
+
*/
|
|
9824
|
+
createIntroductionPane(options: IIntroductionPaneOptions): IIntroductionPane;
|
|
9825
|
+
/**
|
|
9826
|
+
* @remarks
|
|
9827
|
+
* Create a root pane
|
|
9828
|
+
*
|
|
9829
|
+
*/
|
|
9830
|
+
createRootPane(options: IRootPropertyPaneOptions): IRootPropertyPane;
|
|
9831
|
+
}
|
|
9832
|
+
|
|
9536
9833
|
/**
|
|
9537
9834
|
* Log helper interface for Player.
|
|
9538
9835
|
*/
|
|
@@ -10142,6 +10439,13 @@ export interface IRootPropertyPaneHeaderAction {
|
|
|
10142
10439
|
*/
|
|
10143
10440
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
10144
10441
|
export interface IRootPropertyPaneOptions extends IPropertyPaneOptions {
|
|
10442
|
+
/**
|
|
10443
|
+
* @remarks
|
|
10444
|
+
* Optional content badge identifier associated with the root
|
|
10445
|
+
* pane.
|
|
10446
|
+
*
|
|
10447
|
+
*/
|
|
10448
|
+
contentBadgeId?: string;
|
|
10145
10449
|
/**
|
|
10146
10450
|
* @remarks
|
|
10147
10451
|
* Optional action button to be displayed on the header.
|
|
@@ -11369,6 +11673,15 @@ export interface WidgetComponentGridOptions extends WidgetComponentBaseOptions {
|
|
|
11369
11673
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
11370
11674
|
export interface WidgetComponentGuideOptions extends WidgetComponentBaseOptions {}
|
|
11371
11675
|
|
|
11676
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
11677
|
+
export interface WidgetComponentRenderPlaneOptions extends WidgetComponentBaseOptions {
|
|
11678
|
+
fillColor?: minecraftserver.RGBA;
|
|
11679
|
+
gridResolution?: RenderPlaneGridResolution;
|
|
11680
|
+
maxSizeChunks?: number;
|
|
11681
|
+
normal?: minecraftserver.Vector3;
|
|
11682
|
+
outlineColor?: minecraftserver.RGBA;
|
|
11683
|
+
}
|
|
11684
|
+
|
|
11372
11685
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
11373
11686
|
export interface WidgetComponentRenderPrimitiveOptions extends WidgetComponentBaseOptions {}
|
|
11374
11687
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-editor",
|
|
3
|
-
"version": "0.1.0-beta.1.26.30-preview.
|
|
3
|
+
"version": "0.1.0-beta.1.26.30-preview.28",
|
|
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.9.0-beta.1.26.30-preview.
|
|
18
|
-
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.30-preview.
|
|
17
|
+
"@minecraft/server": "^2.9.0-beta.1.26.30-preview.28",
|
|
18
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.30-preview.28"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT"
|
|
21
21
|
}
|