@minecraft/server-editor 0.1.0-beta.1.26.30-preview.30 → 0.1.0-beta.1.26.40-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.
- package/index.d.ts +50 -0
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -184,6 +184,34 @@ export declare enum CoreBrushShapeType {
|
|
|
184
184
|
Star = 'editor:brushShape:star',
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Built-in control categories for use with {@link
|
|
189
|
+
* KeyBindingInfo.bindingCategory}. Pass any
|
|
190
|
+
* `CoreInputBindingCategory` value or a custom string to
|
|
191
|
+
* categorize a binding.
|
|
192
|
+
*/
|
|
193
|
+
export declare enum CoreInputBindingCategory {
|
|
194
|
+
Camera = 'editor:camera',
|
|
195
|
+
CursorMovement = 'editor:cursorMovement',
|
|
196
|
+
Fly = 'editor:fly',
|
|
197
|
+
General = 'editor:general',
|
|
198
|
+
Hotbar = 'editor:hotbar',
|
|
199
|
+
MakeSelection = 'editor:makeSelection',
|
|
200
|
+
Modes = 'editor:modes',
|
|
201
|
+
Move = 'editor:move',
|
|
202
|
+
Movement = 'editor:movement',
|
|
203
|
+
Nudge = 'editor:nudge',
|
|
204
|
+
Offset = 'editor:offset',
|
|
205
|
+
Operations = 'editor:operations',
|
|
206
|
+
Paste = 'editor:paste',
|
|
207
|
+
PastePreviewManipulation = 'editor:pastePreviewManipulation',
|
|
208
|
+
SizeSelection = 'editor:sizeSelection',
|
|
209
|
+
ToolActivation = 'editor:toolActivation',
|
|
210
|
+
TrimActions = 'editor:trimActions',
|
|
211
|
+
Widget = 'editor:widget',
|
|
212
|
+
Workbench = 'editor:workbench',
|
|
213
|
+
}
|
|
214
|
+
|
|
187
215
|
/**
|
|
188
216
|
* Predefined top level menus for core editor
|
|
189
217
|
*/
|
|
@@ -1683,6 +1711,8 @@ export type KeyBindingInfo = {
|
|
|
1683
1711
|
uniqueId: string;
|
|
1684
1712
|
label?: string;
|
|
1685
1713
|
tooltip?: string;
|
|
1714
|
+
bindingCategory?: string;
|
|
1715
|
+
bindingPriority?: number;
|
|
1686
1716
|
};
|
|
1687
1717
|
|
|
1688
1718
|
/**
|
|
@@ -6154,6 +6184,12 @@ export interface BuiltInUIManager {
|
|
|
6154
6184
|
*
|
|
6155
6185
|
*/
|
|
6156
6186
|
showUpdateInformation(): void;
|
|
6187
|
+
/**
|
|
6188
|
+
* @remarks
|
|
6189
|
+
* Updates the visibility of the Control Help panel
|
|
6190
|
+
*
|
|
6191
|
+
*/
|
|
6192
|
+
updateControlHelpPanelVisibility(visibility: boolean): void;
|
|
6157
6193
|
/**
|
|
6158
6194
|
* @remarks
|
|
6159
6195
|
* Updates the visibility of the log panel
|
|
@@ -8002,6 +8038,20 @@ export declare interface IEventToken {
|
|
|
8002
8038
|
}
|
|
8003
8039
|
|
|
8004
8040
|
export interface IGlobalInputManager {
|
|
8041
|
+
/**
|
|
8042
|
+
* @remarks
|
|
8043
|
+
* Register a named control category for display in the Control
|
|
8044
|
+
* Help panel.
|
|
8045
|
+
*
|
|
8046
|
+
* @param id
|
|
8047
|
+
* Unique category identifier (use a {@link
|
|
8048
|
+
* CoreInputBindingCategory} value or a custom string).
|
|
8049
|
+
* @param label
|
|
8050
|
+
* Localized display name shown as the group heading.
|
|
8051
|
+
* @param order
|
|
8052
|
+
* Numeric sort order; lower values appear first.
|
|
8053
|
+
*/
|
|
8054
|
+
registerBindingCategory(id: string, label: string, order: number): void;
|
|
8005
8055
|
/**
|
|
8006
8056
|
* @remarks
|
|
8007
8057
|
* Register a key press binding for an action which will be
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-editor",
|
|
3
|
-
"version": "0.1.0-beta.1.26.
|
|
3
|
+
"version": "0.1.0-beta.1.26.40-preview.20",
|
|
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.
|
|
18
|
-
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.
|
|
17
|
+
"@minecraft/server": "^2.10.0-beta.1.26.40-preview.20",
|
|
18
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.40-preview.20"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT"
|
|
21
21
|
}
|