@minecraft/server-editor 0.1.0-beta.1.26.10-preview.22 → 0.1.0-beta.1.26.10-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 +339 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -1015,6 +1015,13 @@ export declare enum ListPaneViewSortType {
|
|
|
1015
1015
|
ZtoA = 2,
|
|
1016
1016
|
}
|
|
1017
1017
|
|
|
1018
|
+
export declare enum ListViewControlFilterFlags {
|
|
1019
|
+
None = 0,
|
|
1020
|
+
Name = 1,
|
|
1021
|
+
Tag = 2,
|
|
1022
|
+
All = 3,
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1018
1025
|
export enum LogChannel {
|
|
1019
1026
|
/**
|
|
1020
1027
|
* @remarks
|
|
@@ -1053,6 +1060,7 @@ export enum MinimapViewType {
|
|
|
1053
1060
|
*
|
|
1054
1061
|
*/
|
|
1055
1062
|
BlockView = 0,
|
|
1063
|
+
CustomBiomeView = 1,
|
|
1056
1064
|
}
|
|
1057
1065
|
|
|
1058
1066
|
/**
|
|
@@ -1224,6 +1232,7 @@ export declare enum PropertyItemType {
|
|
|
1224
1232
|
ProxyPane = 'editorUI:ProxyPane',
|
|
1225
1233
|
String = 'editorUI:String',
|
|
1226
1234
|
SubPane = 'editorUI:SubPane',
|
|
1235
|
+
TagContainer = 'editorUI:TagContainer',
|
|
1227
1236
|
Text = 'editorUI:Text',
|
|
1228
1237
|
ToggleGroup = 'editorUI:ToggleGroup',
|
|
1229
1238
|
Vector2 = 'editorUI:Vector2',
|
|
@@ -1264,6 +1273,14 @@ export enum StructureSource {
|
|
|
1264
1273
|
Level = 3,
|
|
1265
1274
|
}
|
|
1266
1275
|
|
|
1276
|
+
/**
|
|
1277
|
+
* The possible variants of a TagContainer property item.
|
|
1278
|
+
*/
|
|
1279
|
+
export declare enum TagContainerVariant {
|
|
1280
|
+
Primary = 0,
|
|
1281
|
+
Inverted = 1,
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1267
1284
|
export enum ThemeSettingsColorKey {
|
|
1268
1285
|
Caret = 'Caret',
|
|
1269
1286
|
Confirm1 = 'Confirm1',
|
|
@@ -1730,6 +1747,23 @@ export declare type ListPaneViewFilter = {
|
|
|
1730
1747
|
tags?: string[];
|
|
1731
1748
|
};
|
|
1732
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* Action item to be displayed on a list view control
|
|
1752
|
+
*/
|
|
1753
|
+
export type ListViewControlAction = {
|
|
1754
|
+
id: string;
|
|
1755
|
+
} & ListViewControlActionState;
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Action item state for list view control
|
|
1759
|
+
*/
|
|
1760
|
+
export type ListViewControlActionState = {
|
|
1761
|
+
label: LocalizedString;
|
|
1762
|
+
icon: string;
|
|
1763
|
+
disabled?: boolean;
|
|
1764
|
+
displayInMenu?: boolean;
|
|
1765
|
+
};
|
|
1766
|
+
|
|
1733
1767
|
/**
|
|
1734
1768
|
* Represents a localized string or an object with a localized
|
|
1735
1769
|
* string and optional properties
|
|
@@ -2647,9 +2681,14 @@ export declare class ConeBrushShape extends BrushShape {
|
|
|
2647
2681
|
width?: number;
|
|
2648
2682
|
height?: number;
|
|
2649
2683
|
depth?: number;
|
|
2684
|
+
maxRadius?: number;
|
|
2685
|
+
maxHeight?: number;
|
|
2650
2686
|
xRotation?: number;
|
|
2651
2687
|
yRotation?: number;
|
|
2652
2688
|
zRotation?: number;
|
|
2689
|
+
hollow?: boolean;
|
|
2690
|
+
thickness?: number;
|
|
2691
|
+
enableHollowSettings?: boolean;
|
|
2653
2692
|
});
|
|
2654
2693
|
applySetting(brushSettings: ConeBrushShapeSettings): void;
|
|
2655
2694
|
calculateBounds(): minecraftserver.BlockBoundingBox;
|
|
@@ -2679,9 +2718,14 @@ export declare class CuboidBrushShape extends BrushShape {
|
|
|
2679
2718
|
height?: number;
|
|
2680
2719
|
depth?: number;
|
|
2681
2720
|
minLength?: number;
|
|
2721
|
+
maxLength?: number;
|
|
2682
2722
|
xRotation?: number;
|
|
2683
2723
|
yRotation?: number;
|
|
2684
2724
|
zRotation?: number;
|
|
2725
|
+
hollow?: boolean;
|
|
2726
|
+
thickness?: number;
|
|
2727
|
+
enableHollowSettings?: boolean;
|
|
2728
|
+
hideRotation?: boolean;
|
|
2685
2729
|
});
|
|
2686
2730
|
applySetting(brushSettings: CuboidBrushShapeSettings): void;
|
|
2687
2731
|
calculateBounds(): minecraftserver.BlockBoundingBox;
|
|
@@ -2960,10 +3004,15 @@ export declare class CylinderBrushShape extends BrushShape {
|
|
|
2960
3004
|
height?: number;
|
|
2961
3005
|
depth?: number;
|
|
2962
3006
|
minRadius?: number;
|
|
3007
|
+
maxRadius?: number;
|
|
3008
|
+
maxHeight?: number;
|
|
2963
3009
|
xRotation?: number;
|
|
2964
3010
|
yRotation?: number;
|
|
2965
3011
|
zRotation?: number;
|
|
2966
3012
|
hideRotation?: boolean;
|
|
3013
|
+
hollow?: boolean;
|
|
3014
|
+
thickness?: number;
|
|
3015
|
+
enableHollowSettings?: boolean;
|
|
2967
3016
|
});
|
|
2968
3017
|
applySetting(brushSettings: CylinderBrushShapeSettings): void;
|
|
2969
3018
|
calculateBounds(): minecraftserver.BlockBoundingBox;
|
|
@@ -3162,9 +3211,13 @@ export declare class EllipsoidBrushShape extends BrushShape {
|
|
|
3162
3211
|
height?: number;
|
|
3163
3212
|
depth?: number;
|
|
3164
3213
|
minRadius?: number;
|
|
3214
|
+
maxRadius?: number;
|
|
3165
3215
|
xRotation?: number;
|
|
3166
3216
|
yRotation?: number;
|
|
3167
3217
|
zRotation?: number;
|
|
3218
|
+
hollow?: boolean;
|
|
3219
|
+
thickness?: number;
|
|
3220
|
+
enableHollowSettings?: boolean;
|
|
3168
3221
|
});
|
|
3169
3222
|
applySetting(brushSettings: EllipsoidBrushShapeSettings): void;
|
|
3170
3223
|
calculateBounds(): minecraftserver.BlockBoundingBox;
|
|
@@ -3685,7 +3738,7 @@ export class MinimapManager {
|
|
|
3685
3738
|
*
|
|
3686
3739
|
* @throws This function can throw errors.
|
|
3687
3740
|
*/
|
|
3688
|
-
createMinimap(viewType: MinimapViewType, mapWidth: number, mapHeight: number): MinimapItem;
|
|
3741
|
+
createMinimap(viewType: MinimapViewType, mapWidth: number, mapHeight: number, dataId?: string): MinimapItem;
|
|
3689
3742
|
/**
|
|
3690
3743
|
* @remarks
|
|
3691
3744
|
* Remove an existing minimap instance from the manager using
|
|
@@ -3865,9 +3918,14 @@ export declare class PyramidBrushShape extends BrushShape {
|
|
|
3865
3918
|
width?: number;
|
|
3866
3919
|
height?: number;
|
|
3867
3920
|
depth?: number;
|
|
3921
|
+
maxSide?: number;
|
|
3922
|
+
maxHeight?: number;
|
|
3868
3923
|
xRotation?: number;
|
|
3869
3924
|
yRotation?: number;
|
|
3870
3925
|
zRotation?: number;
|
|
3926
|
+
hollow?: boolean;
|
|
3927
|
+
thickness?: number;
|
|
3928
|
+
enableHollowSettings?: boolean;
|
|
3871
3929
|
});
|
|
3872
3930
|
applySetting(brushSettings: PyramidBrushShapeSettings): void;
|
|
3873
3931
|
calculateBounds(): minecraftserver.BlockBoundingBox;
|
|
@@ -5833,7 +5891,9 @@ export interface ClipboardWriteOptions {
|
|
|
5833
5891
|
export interface ConeBrushShapeSettings {
|
|
5834
5892
|
depth: number;
|
|
5835
5893
|
height: number;
|
|
5894
|
+
hollow: boolean;
|
|
5836
5895
|
radius: number;
|
|
5896
|
+
thickness: number;
|
|
5837
5897
|
uniform: boolean;
|
|
5838
5898
|
width: number;
|
|
5839
5899
|
xRotation: number;
|
|
@@ -5858,6 +5918,8 @@ export interface ContiguousSelectionProperties {
|
|
|
5858
5918
|
export interface CuboidBrushShapeSettings {
|
|
5859
5919
|
depth: number;
|
|
5860
5920
|
height: number;
|
|
5921
|
+
hollow: boolean;
|
|
5922
|
+
thickness: number;
|
|
5861
5923
|
uniform: boolean;
|
|
5862
5924
|
width: number;
|
|
5863
5925
|
xRotation: number;
|
|
@@ -5952,7 +6014,9 @@ export interface CursorRay {
|
|
|
5952
6014
|
export interface CylinderBrushShapeSettings {
|
|
5953
6015
|
depth: number;
|
|
5954
6016
|
height: number;
|
|
6017
|
+
hollow: boolean;
|
|
5955
6018
|
radius: number;
|
|
6019
|
+
thickness: number;
|
|
5956
6020
|
uniform: boolean;
|
|
5957
6021
|
width: number;
|
|
5958
6022
|
xRotation: number;
|
|
@@ -5975,7 +6039,9 @@ export interface EditorStructureSearchOptions {
|
|
|
5975
6039
|
export interface EllipsoidBrushShapeSettings {
|
|
5976
6040
|
depth: number;
|
|
5977
6041
|
height: number;
|
|
6042
|
+
hollow: boolean;
|
|
5978
6043
|
radius: number;
|
|
6044
|
+
thickness: number;
|
|
5979
6045
|
uniform: boolean;
|
|
5980
6046
|
width: number;
|
|
5981
6047
|
xRotation: number;
|
|
@@ -7781,6 +7847,12 @@ export interface IListPanePropertyItem extends IPropertyItemBase, IPane {
|
|
|
7781
7847
|
*
|
|
7782
7848
|
*/
|
|
7783
7849
|
readonly slotCount: number;
|
|
7850
|
+
/**
|
|
7851
|
+
* @remarks
|
|
7852
|
+
* View control pane for the list
|
|
7853
|
+
*
|
|
7854
|
+
*/
|
|
7855
|
+
readonly viewControlPane: IListPaneViewControlPane | undefined;
|
|
7784
7856
|
/**
|
|
7785
7857
|
* @remarks
|
|
7786
7858
|
* Current sorting type for the pane slots
|
|
@@ -7793,6 +7865,14 @@ export interface IListPanePropertyItem extends IPropertyItemBase, IPane {
|
|
|
7793
7865
|
*
|
|
7794
7866
|
*/
|
|
7795
7867
|
addSlot(params: ListPaneSlotCreationProps): IListPaneSlot;
|
|
7868
|
+
/**
|
|
7869
|
+
* @remarks
|
|
7870
|
+
* Creates a pane that displays view and filtering
|
|
7871
|
+
* configurations for the list if the parent container supports
|
|
7872
|
+
* it.
|
|
7873
|
+
*
|
|
7874
|
+
*/
|
|
7875
|
+
buildViewControl(options: IListPaneViewControlPaneOptions): IListPaneViewControlPane;
|
|
7796
7876
|
/**
|
|
7797
7877
|
* @remarks
|
|
7798
7878
|
* Finds the slot with the identifier.
|
|
@@ -8070,6 +8150,117 @@ export interface IListPaneTextEntry extends IListPaneEntry {
|
|
|
8070
8150
|
setValue(value: LocalizedString): void;
|
|
8071
8151
|
}
|
|
8072
8152
|
|
|
8153
|
+
/**
|
|
8154
|
+
* View control for a list pane to manage how slots are
|
|
8155
|
+
* displayed
|
|
8156
|
+
*/
|
|
8157
|
+
export interface IListPaneViewControlPane {
|
|
8158
|
+
/**
|
|
8159
|
+
* @remarks
|
|
8160
|
+
* Unique identifier
|
|
8161
|
+
*
|
|
8162
|
+
*/
|
|
8163
|
+
readonly id: string;
|
|
8164
|
+
/**
|
|
8165
|
+
* @remarks
|
|
8166
|
+
* Active state of the filter
|
|
8167
|
+
*
|
|
8168
|
+
*/
|
|
8169
|
+
readonly isFilterActive: boolean;
|
|
8170
|
+
/**
|
|
8171
|
+
* @remarks
|
|
8172
|
+
* Visible state of the pane
|
|
8173
|
+
*
|
|
8174
|
+
*/
|
|
8175
|
+
readonly visible: boolean;
|
|
8176
|
+
/**
|
|
8177
|
+
* @remarks
|
|
8178
|
+
* Returns the state of an existing action
|
|
8179
|
+
*
|
|
8180
|
+
* @param id
|
|
8181
|
+
* Identifier for the action
|
|
8182
|
+
*/
|
|
8183
|
+
getActionState(id: string): ListViewControlActionState | undefined;
|
|
8184
|
+
/**
|
|
8185
|
+
* @remarks
|
|
8186
|
+
* Updates enabled state of the existing action
|
|
8187
|
+
*
|
|
8188
|
+
* @param id
|
|
8189
|
+
* Identifier for the action
|
|
8190
|
+
* @param enabled
|
|
8191
|
+
* New action enabled state
|
|
8192
|
+
*/
|
|
8193
|
+
setActionEnabledState(id: string, enabled: boolean): void;
|
|
8194
|
+
/**
|
|
8195
|
+
* @remarks
|
|
8196
|
+
* Updates existing actions
|
|
8197
|
+
*
|
|
8198
|
+
* @param newActions
|
|
8199
|
+
* New actions
|
|
8200
|
+
*/
|
|
8201
|
+
setActionStates(newActions: ListViewControlAction[]): void;
|
|
8202
|
+
/**
|
|
8203
|
+
* @remarks
|
|
8204
|
+
* Updates visible state of the pane
|
|
8205
|
+
*
|
|
8206
|
+
* @param visible
|
|
8207
|
+
* New visibility state
|
|
8208
|
+
*/
|
|
8209
|
+
setVisible(visible: boolean): void;
|
|
8210
|
+
/**
|
|
8211
|
+
* @remarks
|
|
8212
|
+
* Updates action item state for the view control
|
|
8213
|
+
*
|
|
8214
|
+
* @param id
|
|
8215
|
+
* Identifier for the action
|
|
8216
|
+
* @param newState
|
|
8217
|
+
* New action state
|
|
8218
|
+
*/
|
|
8219
|
+
updateActionState(id: string, newState: ListViewControlActionState): void;
|
|
8220
|
+
}
|
|
8221
|
+
|
|
8222
|
+
export interface IListPaneViewControlPaneOptions {
|
|
8223
|
+
/**
|
|
8224
|
+
* @remarks
|
|
8225
|
+
* Default actions
|
|
8226
|
+
*
|
|
8227
|
+
*/
|
|
8228
|
+
actions?: ListViewControlAction[];
|
|
8229
|
+
/**
|
|
8230
|
+
* @remarks
|
|
8231
|
+
* Flags to determine visible filters. If undefined it will be
|
|
8232
|
+
* All.
|
|
8233
|
+
*
|
|
8234
|
+
*/
|
|
8235
|
+
filterFlags?: ListViewControlFilterFlags;
|
|
8236
|
+
/**
|
|
8237
|
+
* @remarks
|
|
8238
|
+
* This function will be called whenever user clicks an action
|
|
8239
|
+
*
|
|
8240
|
+
*/
|
|
8241
|
+
onActionClicked?: (id: string) => void;
|
|
8242
|
+
/**
|
|
8243
|
+
* @remarks
|
|
8244
|
+
* This function will be called whenever the filter is changed
|
|
8245
|
+
* by the user
|
|
8246
|
+
*
|
|
8247
|
+
*/
|
|
8248
|
+
onFilterChanged?: (visibleSlotIds: string[]) => void;
|
|
8249
|
+
/**
|
|
8250
|
+
* @remarks
|
|
8251
|
+
* Custom sort options. If undefined, list pane sort options
|
|
8252
|
+
* will be used.
|
|
8253
|
+
*
|
|
8254
|
+
*/
|
|
8255
|
+
sortOptions?: ListPaneViewSortType[];
|
|
8256
|
+
/**
|
|
8257
|
+
* @remarks
|
|
8258
|
+
* Initial visibility state. It undefined, it will be false.
|
|
8259
|
+
*
|
|
8260
|
+
*/
|
|
8261
|
+
visible?: boolean;
|
|
8262
|
+
}
|
|
8263
|
+
|
|
8073
8264
|
export interface IMenu {
|
|
8074
8265
|
/**
|
|
8075
8266
|
* @remarks
|
|
@@ -9392,6 +9583,12 @@ export interface IPropertyPane extends IPane {
|
|
|
9392
9583
|
*
|
|
9393
9584
|
*/
|
|
9394
9585
|
addString(value: IObservableProp<string>, options?: IStringPropertyItemOptions): IStringPropertyItem;
|
|
9586
|
+
/**
|
|
9587
|
+
* @remarks
|
|
9588
|
+
* Adds a tag container to the pane.
|
|
9589
|
+
*
|
|
9590
|
+
*/
|
|
9591
|
+
addTagContainer(options?: ITagContainerPropertyItemOptions): ITagContainerPropertyItem;
|
|
9395
9592
|
/**
|
|
9396
9593
|
* @remarks
|
|
9397
9594
|
* Adds a multiline Text item to the pane.
|
|
@@ -9646,6 +9843,12 @@ export interface IRootPropertyPaneOptions extends IPropertyPaneOptions {
|
|
|
9646
9843
|
*
|
|
9647
9844
|
*/
|
|
9648
9845
|
headerAction?: IRootPropertyPaneHeaderAction;
|
|
9846
|
+
/**
|
|
9847
|
+
* @remarks
|
|
9848
|
+
* Pane icon shown in front of the pane header
|
|
9849
|
+
*
|
|
9850
|
+
*/
|
|
9851
|
+
icon?: string;
|
|
9649
9852
|
}
|
|
9650
9853
|
|
|
9651
9854
|
/**
|
|
@@ -9885,6 +10088,12 @@ export interface ISubPanePropertyItemOptions extends IPropertyPaneOptions {
|
|
|
9885
10088
|
*
|
|
9886
10089
|
*/
|
|
9887
10090
|
hasMargins?: boolean;
|
|
10091
|
+
/**
|
|
10092
|
+
* @remarks
|
|
10093
|
+
* Pane icon shown in front of the pane header
|
|
10094
|
+
*
|
|
10095
|
+
*/
|
|
10096
|
+
icon?: string;
|
|
9888
10097
|
/**
|
|
9889
10098
|
* @remarks
|
|
9890
10099
|
* Determines layout of sub pane property items. If undefined,
|
|
@@ -9913,6 +10122,133 @@ export interface ISubPanePropertyItemOptions extends IPropertyPaneOptions {
|
|
|
9913
10122
|
width?: number | LayoutSize;
|
|
9914
10123
|
}
|
|
9915
10124
|
|
|
10125
|
+
/**
|
|
10126
|
+
* A property item which supports Tag Container properties
|
|
10127
|
+
*/
|
|
10128
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
10129
|
+
export interface ITagContainerPropertyItem extends IPropertyItemBase {
|
|
10130
|
+
/**
|
|
10131
|
+
* @remarks
|
|
10132
|
+
* Current tags value of the property item.
|
|
10133
|
+
*
|
|
10134
|
+
*/
|
|
10135
|
+
readonly tags: ReadonlyArray<string>;
|
|
10136
|
+
/**
|
|
10137
|
+
* @remarks
|
|
10138
|
+
* Current tags pool value of the property item.
|
|
10139
|
+
*
|
|
10140
|
+
*/
|
|
10141
|
+
readonly tagsPool: ReadonlyArray<string>;
|
|
10142
|
+
/**
|
|
10143
|
+
* @remarks
|
|
10144
|
+
* Adds a tag to the current tags.
|
|
10145
|
+
*
|
|
10146
|
+
* @param tag
|
|
10147
|
+
* Tag to add.
|
|
10148
|
+
*/
|
|
10149
|
+
addTag(tag: string): void;
|
|
10150
|
+
/**
|
|
10151
|
+
* @remarks
|
|
10152
|
+
* Adds a tag to the tags pool.
|
|
10153
|
+
*
|
|
10154
|
+
* @param tag
|
|
10155
|
+
* Tag to add to the pool.
|
|
10156
|
+
*/
|
|
10157
|
+
addTagToPool(tag: string): void;
|
|
10158
|
+
/**
|
|
10159
|
+
* @remarks
|
|
10160
|
+
* Removes a tag from the current tags.
|
|
10161
|
+
*
|
|
10162
|
+
* @param tag
|
|
10163
|
+
* Tag to remove.
|
|
10164
|
+
*/
|
|
10165
|
+
removeTag(tag: string): void;
|
|
10166
|
+
/**
|
|
10167
|
+
* @remarks
|
|
10168
|
+
* Removes a tag from the tags pool.
|
|
10169
|
+
*
|
|
10170
|
+
* @param tag
|
|
10171
|
+
* Tag to remove from the pool.
|
|
10172
|
+
*/
|
|
10173
|
+
removeTagFromPool(tag: string): void;
|
|
10174
|
+
/**
|
|
10175
|
+
* @remarks
|
|
10176
|
+
* Updates all tags.
|
|
10177
|
+
*
|
|
10178
|
+
* @param tags
|
|
10179
|
+
* New tags array.
|
|
10180
|
+
*/
|
|
10181
|
+
setTags(tags: string[] | undefined): void;
|
|
10182
|
+
/**
|
|
10183
|
+
* @remarks
|
|
10184
|
+
* Updates the tags pool.
|
|
10185
|
+
*
|
|
10186
|
+
* @param tagsPool
|
|
10187
|
+
* New tags pool array.
|
|
10188
|
+
*/
|
|
10189
|
+
setTagsPool(tagsPool: string[] | undefined): void;
|
|
10190
|
+
/**
|
|
10191
|
+
* @remarks
|
|
10192
|
+
* Set title of the property item.
|
|
10193
|
+
*
|
|
10194
|
+
* @param title
|
|
10195
|
+
* New title.
|
|
10196
|
+
*/
|
|
10197
|
+
setTitle(title: LocalizedString): void;
|
|
10198
|
+
/**
|
|
10199
|
+
* @remarks
|
|
10200
|
+
* Sets the visual variant of the tag container.
|
|
10201
|
+
*
|
|
10202
|
+
* @param variant
|
|
10203
|
+
* New variant.
|
|
10204
|
+
*/
|
|
10205
|
+
setVariant(variant: TagContainerVariant | undefined): void;
|
|
10206
|
+
}
|
|
10207
|
+
|
|
10208
|
+
/**
|
|
10209
|
+
* Optional properties for Tag Container property item
|
|
10210
|
+
*/
|
|
10211
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
10212
|
+
export interface ITagContainerPropertyItemOptions extends IPropertyItemOptionsBase {
|
|
10213
|
+
/**
|
|
10214
|
+
* @remarks
|
|
10215
|
+
* This callback is called when a tag is added.
|
|
10216
|
+
*
|
|
10217
|
+
*/
|
|
10218
|
+
onTagAdded?: (tag: string) => void;
|
|
10219
|
+
/**
|
|
10220
|
+
* @remarks
|
|
10221
|
+
* This callback is called when a tag is removed.
|
|
10222
|
+
*
|
|
10223
|
+
*/
|
|
10224
|
+
onTagRemoved?: (tag: string) => void;
|
|
10225
|
+
/**
|
|
10226
|
+
* @remarks
|
|
10227
|
+
* Initial tags for the container.
|
|
10228
|
+
*
|
|
10229
|
+
*/
|
|
10230
|
+
tags?: string[];
|
|
10231
|
+
/**
|
|
10232
|
+
* @remarks
|
|
10233
|
+
* Available tags pool to select from.
|
|
10234
|
+
*
|
|
10235
|
+
*/
|
|
10236
|
+
tagsPool?: string[];
|
|
10237
|
+
/**
|
|
10238
|
+
* @remarks
|
|
10239
|
+
* Localized title of the property item.
|
|
10240
|
+
*
|
|
10241
|
+
*/
|
|
10242
|
+
title?: LocalizedString;
|
|
10243
|
+
/**
|
|
10244
|
+
* @remarks
|
|
10245
|
+
* Visual variant of the tag container. If undefined, it will
|
|
10246
|
+
* default to Inverted.
|
|
10247
|
+
*
|
|
10248
|
+
*/
|
|
10249
|
+
variant?: TagContainerVariant;
|
|
10250
|
+
}
|
|
10251
|
+
|
|
9916
10252
|
/**
|
|
9917
10253
|
* A property item which supports Text properties
|
|
9918
10254
|
*/
|
|
@@ -10601,6 +10937,8 @@ export interface ProjectExportOptions {
|
|
|
10601
10937
|
export interface PyramidBrushShapeSettings {
|
|
10602
10938
|
depth: number;
|
|
10603
10939
|
height: number;
|
|
10940
|
+
hollow: boolean;
|
|
10941
|
+
thickness: number;
|
|
10604
10942
|
uniform: boolean;
|
|
10605
10943
|
width: number;
|
|
10606
10944
|
xRotation: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-editor",
|
|
3
|
-
"version": "0.1.0-beta.1.26.10-preview.
|
|
3
|
+
"version": "0.1.0-beta.1.26.10-preview.24",
|
|
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.7.0-beta.1.26.10-preview.
|
|
18
|
-
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.10-preview.
|
|
17
|
+
"@minecraft/server": "^2.7.0-beta.1.26.10-preview.24",
|
|
18
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.10-preview.24"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT"
|
|
21
21
|
}
|