@minecraft/server-editor 0.1.0-beta.1.21.90-preview.23 → 0.1.0-beta.1.21.90-preview.25
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 +22 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -282,6 +282,7 @@ export enum GamePublishSetting {
|
|
|
282
282
|
* properties.
|
|
283
283
|
*/
|
|
284
284
|
export enum GraphicsSettingsProperty {
|
|
285
|
+
GraphicsMode = 'GraphicsMode',
|
|
285
286
|
NightVision = 'NightVision',
|
|
286
287
|
ShowChunkBoundaries = 'ShowChunkBoundaries',
|
|
287
288
|
ShowCompass = 'ShowCompass',
|
|
@@ -1049,6 +1050,7 @@ export declare enum PropertyItemType {
|
|
|
1049
1050
|
Number = 'editorUI:Number',
|
|
1050
1051
|
NumberTimeline = 'editorUI:NumberTimeline',
|
|
1051
1052
|
ProgressIndicator = 'editorUI:ProgressIndicator',
|
|
1053
|
+
ProxyPane = 'editorUI:ProxyPane',
|
|
1052
1054
|
String = 'editorUI:String',
|
|
1053
1055
|
SubPane = 'editorUI:SubPane',
|
|
1054
1056
|
Text = 'editorUI:Text',
|
|
@@ -1250,6 +1252,7 @@ export declare type EventHandler<T> = (eventArg: T) => void;
|
|
|
1250
1252
|
* Defines type information for graphics settings properties.
|
|
1251
1253
|
*/
|
|
1252
1254
|
export type GraphicsSettingsPropertyTypeMap = {
|
|
1255
|
+
[GraphicsSettingsProperty.GraphicsMode]?: minecraftserver.GraphicsMode;
|
|
1253
1256
|
[GraphicsSettingsProperty.ShowInvisibleBlocks]?: boolean;
|
|
1254
1257
|
[GraphicsSettingsProperty.ShowChunkBoundaries]?: boolean;
|
|
1255
1258
|
[GraphicsSettingsProperty.ShowCompass]?: boolean;
|
|
@@ -1764,6 +1767,12 @@ export class BrushShapeManager {
|
|
|
1764
1767
|
*
|
|
1765
1768
|
*/
|
|
1766
1769
|
getBrushShapeOffset(): minecraftserver.Vector3;
|
|
1770
|
+
/**
|
|
1771
|
+
* @remarks
|
|
1772
|
+
* This function can't be called in read-only mode.
|
|
1773
|
+
*
|
|
1774
|
+
*/
|
|
1775
|
+
isBrushPaintBusy(): boolean;
|
|
1767
1776
|
/**
|
|
1768
1777
|
* @remarks
|
|
1769
1778
|
* This function can't be called in read-only mode.
|
|
@@ -3274,6 +3283,13 @@ export class TransactionManager {
|
|
|
3274
3283
|
* @throws This function can throw errors.
|
|
3275
3284
|
*/
|
|
3276
3285
|
discardTrackedChanges(): number;
|
|
3286
|
+
/**
|
|
3287
|
+
* @remarks
|
|
3288
|
+
* This function can't be called in read-only mode.
|
|
3289
|
+
*
|
|
3290
|
+
* @throws This function can throw errors.
|
|
3291
|
+
*/
|
|
3292
|
+
isBusy(): boolean;
|
|
3277
3293
|
/**
|
|
3278
3294
|
* @remarks
|
|
3279
3295
|
* Open a transaction record which will be a container for any
|
|
@@ -6571,6 +6587,12 @@ export interface IPropertyPane extends IPane {
|
|
|
6571
6587
|
*
|
|
6572
6588
|
*/
|
|
6573
6589
|
addProgressIndicator(options?: IProgressIndicatorPropertyItemOptions): IProgressIndicatorPropertyItem;
|
|
6590
|
+
/**
|
|
6591
|
+
* @remarks
|
|
6592
|
+
* Adds a proxy view of another supported pane
|
|
6593
|
+
*
|
|
6594
|
+
*/
|
|
6595
|
+
addProxyPane(paneId: string): void;
|
|
6574
6596
|
/**
|
|
6575
6597
|
* @remarks
|
|
6576
6598
|
* Adds an editable string item to the pane
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-editor",
|
|
3
|
-
"version": "0.1.0-beta.1.21.90-preview.
|
|
3
|
+
"version": "0.1.0-beta.1.21.90-preview.25",
|
|
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.1.0-beta.1.21.90-preview.
|
|
17
|
+
"@minecraft/server": "^2.1.0-beta.1.21.90-preview.25"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|