@minecraft/server-editor 0.1.0-beta.1.21.110-preview.25 → 0.1.0-beta.1.21.120-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 +353 -200
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -313,6 +313,11 @@ export enum GamePublishSetting {
|
|
|
313
313
|
* properties.
|
|
314
314
|
*/
|
|
315
315
|
export enum GraphicsSettingsProperty {
|
|
316
|
+
DisableBlockEntityRendering = 'DisableBlockEntityRendering',
|
|
317
|
+
DisableEntityRendering = 'DisableEntityRendering',
|
|
318
|
+
DisableParticleRendering = 'DisableParticleRendering',
|
|
319
|
+
DisableTerrainRendering = 'DisableTerrainRendering',
|
|
320
|
+
DisableWeatherRendering = 'DisableWeatherRendering',
|
|
316
321
|
GraphicsMode = 'GraphicsMode',
|
|
317
322
|
NightVision = 'NightVision',
|
|
318
323
|
ShowChunkBoundaries = 'ShowChunkBoundaries',
|
|
@@ -1212,11 +1217,18 @@ export enum ThemeSettingsColorKey {
|
|
|
1212
1217
|
Warning = 'Warning',
|
|
1213
1218
|
}
|
|
1214
1219
|
|
|
1220
|
+
export enum WidgetCollisionType {
|
|
1221
|
+
None = 0,
|
|
1222
|
+
Radius = 1,
|
|
1223
|
+
Bounds = 2,
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1215
1226
|
export enum WidgetComponentType {
|
|
1216
1227
|
BoundingBox = 'BoundingBox',
|
|
1217
1228
|
Clipboard = 'Clipboard',
|
|
1218
1229
|
Entity = 'Entity',
|
|
1219
1230
|
Gizmo = 'Gizmo',
|
|
1231
|
+
Grid = 'Grid',
|
|
1220
1232
|
Guide = 'Guide',
|
|
1221
1233
|
RenderPrim = 'RenderPrim',
|
|
1222
1234
|
Spline = 'Spline',
|
|
@@ -1318,6 +1330,11 @@ export type GraphicsSettingsPropertyTypeMap = {
|
|
|
1318
1330
|
[GraphicsSettingsProperty.ShowCompass]?: boolean;
|
|
1319
1331
|
[GraphicsSettingsProperty.NightVision]?: boolean;
|
|
1320
1332
|
[GraphicsSettingsProperty.ShowToastNotifications]?: boolean;
|
|
1333
|
+
[GraphicsSettingsProperty.DisableEntityRendering]?: boolean;
|
|
1334
|
+
[GraphicsSettingsProperty.DisableTerrainRendering]?: boolean;
|
|
1335
|
+
[GraphicsSettingsProperty.DisableWeatherRendering]?: boolean;
|
|
1336
|
+
[GraphicsSettingsProperty.DisableParticleRendering]?: boolean;
|
|
1337
|
+
[GraphicsSettingsProperty.DisableBlockEntityRendering]?: boolean;
|
|
1321
1338
|
};
|
|
1322
1339
|
|
|
1323
1340
|
/**
|
|
@@ -1676,7 +1693,7 @@ export class BlockPaletteManager {
|
|
|
1676
1693
|
/**
|
|
1677
1694
|
* @throws This function can throw errors.
|
|
1678
1695
|
*/
|
|
1679
|
-
getSelectedBlockType():
|
|
1696
|
+
getSelectedBlockType(): minecraftserverbindings.BlockType;
|
|
1680
1697
|
getSelectedItem(): IBlockPaletteItem;
|
|
1681
1698
|
/**
|
|
1682
1699
|
* @remarks
|
|
@@ -1744,8 +1761,11 @@ export class BlockUtilities {
|
|
|
1744
1761
|
* @throws This function can throw errors.
|
|
1745
1762
|
*/
|
|
1746
1763
|
fillVolume(
|
|
1747
|
-
volume:
|
|
1748
|
-
|
|
1764
|
+
volume:
|
|
1765
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
1766
|
+
| minecraftserverbindings.CompoundBlockVolume
|
|
1767
|
+
| RelativeVolumeListBlockVolume,
|
|
1768
|
+
block?: minecraftserverbindings.BlockPermutation | minecraftserverbindings.BlockType | string,
|
|
1749
1769
|
): void;
|
|
1750
1770
|
/**
|
|
1751
1771
|
* @remarks
|
|
@@ -1753,7 +1773,7 @@ export class BlockUtilities {
|
|
|
1753
1773
|
*
|
|
1754
1774
|
*/
|
|
1755
1775
|
findObscuredBlocksWithinVolume(
|
|
1756
|
-
volume:
|
|
1776
|
+
volume: minecraftserverbindings.BlockVolumeBase | RelativeVolumeListBlockVolume,
|
|
1757
1777
|
): RelativeVolumeListBlockVolume;
|
|
1758
1778
|
/**
|
|
1759
1779
|
* @remarks
|
|
@@ -1761,32 +1781,32 @@ export class BlockUtilities {
|
|
|
1761
1781
|
*
|
|
1762
1782
|
* @throws This function can throw errors.
|
|
1763
1783
|
*/
|
|
1764
|
-
getContiguousSelection(properties?: ContiguousSelectionProperties):
|
|
1784
|
+
getContiguousSelection(properties?: ContiguousSelectionProperties): minecraftserverbindings.CompoundBlockVolume;
|
|
1765
1785
|
/**
|
|
1766
1786
|
* @remarks
|
|
1767
1787
|
* This function can't be called in read-only mode.
|
|
1768
1788
|
*
|
|
1769
1789
|
*/
|
|
1770
|
-
getDimensionLocationBoundingBox():
|
|
1790
|
+
getDimensionLocationBoundingBox(): minecraftserverbindings.BlockBoundingBox;
|
|
1771
1791
|
/**
|
|
1772
1792
|
* @remarks
|
|
1773
1793
|
* This function can't be called in read-only mode.
|
|
1774
1794
|
*
|
|
1775
1795
|
*/
|
|
1776
|
-
getDimensionMaxLocation():
|
|
1796
|
+
getDimensionMaxLocation(): minecraftserverbindings.Vector3;
|
|
1777
1797
|
/**
|
|
1778
1798
|
* @remarks
|
|
1779
1799
|
* This function can't be called in read-only mode.
|
|
1780
1800
|
*
|
|
1781
1801
|
*/
|
|
1782
|
-
getDimensionMinLocation():
|
|
1802
|
+
getDimensionMinLocation(): minecraftserverbindings.Vector3;
|
|
1783
1803
|
/**
|
|
1784
1804
|
* @remarks
|
|
1785
1805
|
* This function can't be called in read-only mode.
|
|
1786
1806
|
*
|
|
1787
1807
|
* @throws This function can throw errors.
|
|
1788
1808
|
*/
|
|
1789
|
-
getFacePreviewSelection(properties?: QuickExtrudeProperties):
|
|
1809
|
+
getFacePreviewSelection(properties?: QuickExtrudeProperties): minecraftserverbindings.ListBlockVolume;
|
|
1790
1810
|
/**
|
|
1791
1811
|
* @remarks
|
|
1792
1812
|
* This function can't be called in read-only mode.
|
|
@@ -1794,10 +1814,10 @@ export class BlockUtilities {
|
|
|
1794
1814
|
*/
|
|
1795
1815
|
isLocationInsideCurrentDimensionBounds(
|
|
1796
1816
|
locationOrVolumeOrBounds:
|
|
1797
|
-
|
|
|
1798
|
-
|
|
|
1817
|
+
| minecraftserverbindings.BlockBoundingBox
|
|
1818
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
1799
1819
|
| RelativeVolumeListBlockVolume
|
|
1800
|
-
|
|
|
1820
|
+
| minecraftserverbindings.Vector3,
|
|
1801
1821
|
): boolean;
|
|
1802
1822
|
/**
|
|
1803
1823
|
* @remarks
|
|
@@ -1812,7 +1832,7 @@ export class BlockUtilities {
|
|
|
1812
1832
|
*
|
|
1813
1833
|
*/
|
|
1814
1834
|
shrinkWrapVolume(
|
|
1815
|
-
volume:
|
|
1835
|
+
volume: minecraftserverbindings.BlockVolumeBase | RelativeVolumeListBlockVolume,
|
|
1816
1836
|
): RelativeVolumeListBlockVolume;
|
|
1817
1837
|
/**
|
|
1818
1838
|
* @remarks
|
|
@@ -1821,7 +1841,7 @@ export class BlockUtilities {
|
|
|
1821
1841
|
* @throws This function can throw errors.
|
|
1822
1842
|
*/
|
|
1823
1843
|
trimVolumeToFitContents(
|
|
1824
|
-
volume:
|
|
1844
|
+
volume: minecraftserverbindings.BlockVolumeBase | RelativeVolumeListBlockVolume,
|
|
1825
1845
|
retainMarqueeAfterTrimming: boolean,
|
|
1826
1846
|
ignoreLiquid: boolean,
|
|
1827
1847
|
ignoreNoCollision: boolean,
|
|
@@ -1888,7 +1908,7 @@ export class BrushShapeManager {
|
|
|
1888
1908
|
* This function can't be called in read-only mode.
|
|
1889
1909
|
*
|
|
1890
1910
|
*/
|
|
1891
|
-
enableItemPlacement(itemType:
|
|
1911
|
+
enableItemPlacement(itemType: minecraftserverbindings.ItemType, data?: number): void;
|
|
1892
1912
|
/**
|
|
1893
1913
|
* @remarks
|
|
1894
1914
|
* This function can't be called in read-only mode.
|
|
@@ -1901,7 +1921,7 @@ export class BrushShapeManager {
|
|
|
1901
1921
|
* This function can't be called in read-only mode.
|
|
1902
1922
|
*
|
|
1903
1923
|
*/
|
|
1904
|
-
getBrushShapeOffset():
|
|
1924
|
+
getBrushShapeOffset(): minecraftserverbindings.Vector3;
|
|
1905
1925
|
/**
|
|
1906
1926
|
* @remarks
|
|
1907
1927
|
* This function can't be called in read-only mode.
|
|
@@ -1947,13 +1967,13 @@ export class BrushShapeManager {
|
|
|
1947
1967
|
* This function can't be called in read-only mode.
|
|
1948
1968
|
*
|
|
1949
1969
|
*/
|
|
1950
|
-
setBrushShape(shape:
|
|
1970
|
+
setBrushShape(shape: minecraftserverbindings.Vector3[] | RelativeVolumeListBlockVolume): void;
|
|
1951
1971
|
/**
|
|
1952
1972
|
* @remarks
|
|
1953
1973
|
* This function can't be called in read-only mode.
|
|
1954
1974
|
*
|
|
1955
1975
|
*/
|
|
1956
|
-
setBrushShapeOffset(offset:
|
|
1976
|
+
setBrushShapeOffset(offset: minecraftserverbindings.Vector3): void;
|
|
1957
1977
|
/**
|
|
1958
1978
|
* @remarks
|
|
1959
1979
|
* This function can't be called in read-only mode.
|
|
@@ -2051,9 +2071,9 @@ export class ClipboardItem {
|
|
|
2051
2071
|
*
|
|
2052
2072
|
*/
|
|
2053
2073
|
readonly isEmpty: boolean;
|
|
2054
|
-
readonly normalizedOrigin:
|
|
2055
|
-
readonly originalWorldLocation:
|
|
2056
|
-
readonly size:
|
|
2074
|
+
readonly normalizedOrigin: minecraftserverbindings.Vector3;
|
|
2075
|
+
readonly originalWorldLocation: minecraftserverbindings.Vector3;
|
|
2076
|
+
readonly size: minecraftserverbindings.Vector3;
|
|
2057
2077
|
/**
|
|
2058
2078
|
* @remarks
|
|
2059
2079
|
* Clear the contents of the item
|
|
@@ -2070,7 +2090,7 @@ export class ClipboardItem {
|
|
|
2070
2090
|
* @throws This function can throw errors.
|
|
2071
2091
|
*/
|
|
2072
2092
|
getPredictedWriteVolume(
|
|
2073
|
-
location:
|
|
2093
|
+
location: minecraftserverbindings.Vector3,
|
|
2074
2094
|
options?: ClipboardWriteOptions,
|
|
2075
2095
|
): RelativeVolumeListBlockVolume;
|
|
2076
2096
|
/**
|
|
@@ -2089,7 +2109,7 @@ export class ClipboardItem {
|
|
|
2089
2109
|
*
|
|
2090
2110
|
* @throws This function can throw errors.
|
|
2091
2111
|
*/
|
|
2092
|
-
readFromWorld(source:
|
|
2112
|
+
readFromWorld(source: minecraftserverbindings.BlockVolumeBase | RelativeVolumeListBlockVolume): void;
|
|
2093
2113
|
/**
|
|
2094
2114
|
* @remarks
|
|
2095
2115
|
* Apply the contents of a ClipboardItem to the world at a
|
|
@@ -2110,7 +2130,7 @@ export class ClipboardItem {
|
|
|
2110
2130
|
* Success or Failure
|
|
2111
2131
|
* @throws This function can throw errors.
|
|
2112
2132
|
*/
|
|
2113
|
-
writeToWorld(location:
|
|
2133
|
+
writeToWorld(location: minecraftserverbindings.Vector3, options?: ClipboardWriteOptions): boolean;
|
|
2114
2134
|
}
|
|
2115
2135
|
|
|
2116
2136
|
/**
|
|
@@ -2214,7 +2234,7 @@ export class CurrentThemeChangeAfterEventSignal {
|
|
|
2214
2234
|
|
|
2215
2235
|
export class CurrentThemeColorChangeAfterEvent {
|
|
2216
2236
|
private constructor();
|
|
2217
|
-
readonly color:
|
|
2237
|
+
readonly color: minecraftserverbindings.RGBA;
|
|
2218
2238
|
readonly colorKey: string;
|
|
2219
2239
|
}
|
|
2220
2240
|
|
|
@@ -2294,7 +2314,7 @@ export class Cursor {
|
|
|
2294
2314
|
*
|
|
2295
2315
|
* @throws This function can throw errors.
|
|
2296
2316
|
*/
|
|
2297
|
-
getPosition():
|
|
2317
|
+
getPosition(): minecraftserverbindings.Vector3;
|
|
2298
2318
|
/**
|
|
2299
2319
|
* @remarks
|
|
2300
2320
|
* Get a property object which represents the current
|
|
@@ -2337,7 +2357,7 @@ export class Cursor {
|
|
|
2337
2357
|
* movement was restricted)
|
|
2338
2358
|
* @throws This function can throw errors.
|
|
2339
2359
|
*/
|
|
2340
|
-
moveBy(offset:
|
|
2360
|
+
moveBy(offset: minecraftserverbindings.Vector3): minecraftserverbindings.Vector3;
|
|
2341
2361
|
/**
|
|
2342
2362
|
* @remarks
|
|
2343
2363
|
* Reset the 3D block cursor to the system default state
|
|
@@ -2428,9 +2448,9 @@ export declare class CylinderBrushShape extends BrushShape {
|
|
|
2428
2448
|
|
|
2429
2449
|
export class EditorConstants {
|
|
2430
2450
|
private constructor();
|
|
2431
|
-
readonly maxSelectionSize:
|
|
2432
|
-
readonly maxStructureOffset:
|
|
2433
|
-
readonly minStructureOffset:
|
|
2451
|
+
readonly maxSelectionSize: minecraftserverbindings.Vector3;
|
|
2452
|
+
readonly maxStructureOffset: minecraftserverbindings.Vector3;
|
|
2453
|
+
readonly minStructureOffset: minecraftserverbindings.Vector3;
|
|
2434
2454
|
}
|
|
2435
2455
|
|
|
2436
2456
|
export class EditorStructure {
|
|
@@ -2438,7 +2458,13 @@ export class EditorStructure {
|
|
|
2438
2458
|
/**
|
|
2439
2459
|
* @throws This property can throw when used.
|
|
2440
2460
|
*
|
|
2441
|
-
* {@link
|
|
2461
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2462
|
+
*/
|
|
2463
|
+
readonly description: string;
|
|
2464
|
+
/**
|
|
2465
|
+
* @throws This property can throw when used.
|
|
2466
|
+
*
|
|
2467
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2442
2468
|
*/
|
|
2443
2469
|
readonly displayName: string;
|
|
2444
2470
|
readonly id: string;
|
|
@@ -2446,29 +2472,73 @@ export class EditorStructure {
|
|
|
2446
2472
|
/**
|
|
2447
2473
|
* @throws This property can throw when used.
|
|
2448
2474
|
*
|
|
2449
|
-
* {@link
|
|
2475
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2476
|
+
*/
|
|
2477
|
+
readonly normalizedOrigin: minecraftserverbindings.Vector3;
|
|
2478
|
+
/**
|
|
2479
|
+
* @throws This property can throw when used.
|
|
2480
|
+
*
|
|
2481
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2482
|
+
*/
|
|
2483
|
+
readonly notes: string;
|
|
2484
|
+
/**
|
|
2485
|
+
* @throws This property can throw when used.
|
|
2486
|
+
*
|
|
2487
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2450
2488
|
*/
|
|
2451
|
-
readonly
|
|
2489
|
+
readonly offset: minecraftserverbindings.Vector3;
|
|
2490
|
+
/**
|
|
2491
|
+
* @throws This property can throw when used.
|
|
2492
|
+
*
|
|
2493
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2494
|
+
*/
|
|
2495
|
+
readonly originalWorldLocation: minecraftserverbindings.Vector3;
|
|
2496
|
+
/**
|
|
2497
|
+
* @throws This property can throw when used.
|
|
2498
|
+
*
|
|
2499
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2500
|
+
*/
|
|
2501
|
+
readonly size: minecraftserverbindings.Vector3;
|
|
2502
|
+
/**
|
|
2503
|
+
* @throws This property can throw when used.
|
|
2504
|
+
*
|
|
2505
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2506
|
+
*/
|
|
2507
|
+
readonly structureFullName: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* @throws This property can throw when used.
|
|
2510
|
+
*
|
|
2511
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2512
|
+
*/
|
|
2513
|
+
readonly structureName: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* @throws This property can throw when used.
|
|
2516
|
+
*
|
|
2517
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2518
|
+
*/
|
|
2519
|
+
readonly structureNamespace: string;
|
|
2452
2520
|
/**
|
|
2453
2521
|
* @throws This function can throw errors.
|
|
2454
2522
|
*
|
|
2455
2523
|
* {@link minecraftcommon.InvalidArgumentError}
|
|
2456
2524
|
*
|
|
2457
|
-
* {@link
|
|
2525
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2458
2526
|
*/
|
|
2459
|
-
getBlockPermutation(
|
|
2527
|
+
getBlockPermutation(
|
|
2528
|
+
location: minecraftserverbindings.Vector3,
|
|
2529
|
+
): minecraftserverbindings.BlockPermutation | undefined;
|
|
2460
2530
|
/**
|
|
2461
2531
|
* @throws This function can throw errors.
|
|
2462
2532
|
*
|
|
2463
2533
|
* {@link minecraftcommon.InvalidArgumentError}
|
|
2464
2534
|
*
|
|
2465
|
-
* {@link
|
|
2535
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2466
2536
|
*/
|
|
2467
|
-
getIsWaterlogged(location:
|
|
2537
|
+
getIsWaterlogged(location: minecraftserverbindings.Vector3): boolean;
|
|
2468
2538
|
/**
|
|
2469
2539
|
* @throws This function can throw errors.
|
|
2470
2540
|
*
|
|
2471
|
-
* {@link
|
|
2541
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2472
2542
|
*/
|
|
2473
2543
|
getTags(): string[];
|
|
2474
2544
|
/**
|
|
@@ -2481,11 +2551,11 @@ export class EditorStructure {
|
|
|
2481
2551
|
*
|
|
2482
2552
|
* {@link minecraftcommon.InvalidArgumentError}
|
|
2483
2553
|
*
|
|
2484
|
-
* {@link
|
|
2554
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2485
2555
|
*/
|
|
2486
2556
|
setBlockPermutation(
|
|
2487
|
-
location:
|
|
2488
|
-
blockPermutation:
|
|
2557
|
+
location: minecraftserverbindings.Vector3,
|
|
2558
|
+
blockPermutation: minecraftserverbindings.BlockPermutation,
|
|
2489
2559
|
waterlogged?: boolean,
|
|
2490
2560
|
): void;
|
|
2491
2561
|
/**
|
|
@@ -2494,7 +2564,7 @@ export class EditorStructure {
|
|
|
2494
2564
|
*
|
|
2495
2565
|
* @throws This function can throw errors.
|
|
2496
2566
|
*
|
|
2497
|
-
* {@link
|
|
2567
|
+
* {@link minecraftserverbindings.InvalidStructureError}
|
|
2498
2568
|
*/
|
|
2499
2569
|
setTags(tags: string[]): void;
|
|
2500
2570
|
}
|
|
@@ -2507,14 +2577,14 @@ export class EditorStructureManager {
|
|
|
2507
2577
|
*
|
|
2508
2578
|
* @throws This function can throw errors.
|
|
2509
2579
|
*/
|
|
2510
|
-
createEmpty(
|
|
2580
|
+
createEmpty(fullName: string, size: minecraftserverbindings.Vector3): EditorStructure;
|
|
2511
2581
|
/**
|
|
2512
2582
|
* @remarks
|
|
2513
2583
|
* This function can't be called in read-only mode.
|
|
2514
2584
|
*
|
|
2515
2585
|
* @throws This function can throw errors.
|
|
2516
2586
|
*/
|
|
2517
|
-
createFromClipboardItem(item: ClipboardItem,
|
|
2587
|
+
createFromClipboardItem(item: ClipboardItem, fullName: string): EditorStructure;
|
|
2518
2588
|
/**
|
|
2519
2589
|
* @remarks
|
|
2520
2590
|
* This function can't be called in read-only mode.
|
|
@@ -2535,7 +2605,7 @@ export class EditorStructureManager {
|
|
|
2535
2605
|
*
|
|
2536
2606
|
* @throws This function can throw errors.
|
|
2537
2607
|
*/
|
|
2538
|
-
|
|
2608
|
+
getStructure(id: string): EditorStructure;
|
|
2539
2609
|
/**
|
|
2540
2610
|
* @remarks
|
|
2541
2611
|
* This function can't be called in read-only mode.
|
|
@@ -2720,7 +2790,7 @@ export class ExtensionContext {
|
|
|
2720
2790
|
* invocation
|
|
2721
2791
|
*
|
|
2722
2792
|
*/
|
|
2723
|
-
readonly player:
|
|
2793
|
+
readonly player: minecraftserverbindings.Player;
|
|
2724
2794
|
readonly playtest: PlaytestManager;
|
|
2725
2795
|
/**
|
|
2726
2796
|
* @remarks
|
|
@@ -2857,7 +2927,7 @@ export class GraphicsSettings {
|
|
|
2857
2927
|
|
|
2858
2928
|
export class IBlockPaletteItem {
|
|
2859
2929
|
private constructor();
|
|
2860
|
-
getBlock():
|
|
2930
|
+
getBlock(): minecraftserverbindings.BlockType | undefined;
|
|
2861
2931
|
getDisplayName(): string | undefined;
|
|
2862
2932
|
getType(): BlockPaletteItemType;
|
|
2863
2933
|
/**
|
|
@@ -2866,7 +2936,7 @@ export class IBlockPaletteItem {
|
|
|
2866
2936
|
*
|
|
2867
2937
|
* @throws This function can throw errors.
|
|
2868
2938
|
*/
|
|
2869
|
-
setBlock(block:
|
|
2939
|
+
setBlock(block: minecraftserverbindings.BlockPermutation | minecraftserverbindings.BlockType | string): void;
|
|
2870
2940
|
}
|
|
2871
2941
|
|
|
2872
2942
|
/**
|
|
@@ -3086,7 +3156,10 @@ export class ProbabilityBlockPaletteItem extends IBlockPaletteItem {
|
|
|
3086
3156
|
*
|
|
3087
3157
|
* @throws This function can throw errors.
|
|
3088
3158
|
*/
|
|
3089
|
-
addBlock(
|
|
3159
|
+
addBlock(
|
|
3160
|
+
block: minecraftserverbindings.BlockPermutation | minecraftserverbindings.BlockType | string,
|
|
3161
|
+
weight: number,
|
|
3162
|
+
): void;
|
|
3090
3163
|
getBlocks(): WeightedBlock[];
|
|
3091
3164
|
/**
|
|
3092
3165
|
* @remarks
|
|
@@ -3128,16 +3201,16 @@ export declare class PyramidBrushShape extends BrushShape {
|
|
|
3128
3201
|
}
|
|
3129
3202
|
|
|
3130
3203
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
3131
|
-
export class RelativeVolumeListBlockVolume extends
|
|
3204
|
+
export class RelativeVolumeListBlockVolume extends minecraftserverbindings.BlockVolumeBase {
|
|
3132
3205
|
readonly isEmpty: boolean;
|
|
3133
3206
|
/**
|
|
3134
3207
|
* @remarks
|
|
3135
3208
|
* This property can't be edited in read-only mode.
|
|
3136
3209
|
*
|
|
3137
3210
|
*/
|
|
3138
|
-
origin?:
|
|
3211
|
+
origin?: minecraftserverbindings.Vector3;
|
|
3139
3212
|
readonly volumeCount: number;
|
|
3140
|
-
constructor(origin?:
|
|
3213
|
+
constructor(origin?: minecraftserverbindings.Vector3);
|
|
3141
3214
|
/**
|
|
3142
3215
|
* @remarks
|
|
3143
3216
|
* This function can't be called in read-only mode.
|
|
@@ -3145,11 +3218,11 @@ export class RelativeVolumeListBlockVolume extends minecraftserver.BlockVolumeBa
|
|
|
3145
3218
|
*/
|
|
3146
3219
|
add(
|
|
3147
3220
|
toAdd:
|
|
3148
|
-
|
|
|
3149
|
-
|
|
|
3150
|
-
|
|
|
3221
|
+
| minecraftserverbindings.Vector3[]
|
|
3222
|
+
| minecraftserverbindings.BlockVolume
|
|
3223
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
3151
3224
|
| RelativeVolumeListBlockVolume
|
|
3152
|
-
|
|
|
3225
|
+
| minecraftserverbindings.Vector3,
|
|
3153
3226
|
): void;
|
|
3154
3227
|
/**
|
|
3155
3228
|
* @remarks
|
|
@@ -3162,14 +3235,14 @@ export class RelativeVolumeListBlockVolume extends minecraftserver.BlockVolumeBa
|
|
|
3162
3235
|
* This function can't be called in read-only mode.
|
|
3163
3236
|
*
|
|
3164
3237
|
*/
|
|
3165
|
-
getVolumeList():
|
|
3166
|
-
hasAdjacent(location:
|
|
3238
|
+
getVolumeList(): minecraftserverbindings.BlockVolume[];
|
|
3239
|
+
hasAdjacent(location: minecraftserverbindings.Vector3, normalizedOffset: minecraftserverbindings.Vector3): boolean;
|
|
3167
3240
|
/**
|
|
3168
3241
|
* @remarks
|
|
3169
3242
|
* This function can't be called in read-only mode.
|
|
3170
3243
|
*
|
|
3171
3244
|
*/
|
|
3172
|
-
moveTo(location:
|
|
3245
|
+
moveTo(location: minecraftserverbindings.Vector3): void;
|
|
3173
3246
|
/**
|
|
3174
3247
|
* @remarks
|
|
3175
3248
|
* This function can't be called in read-only mode.
|
|
@@ -3177,11 +3250,11 @@ export class RelativeVolumeListBlockVolume extends minecraftserver.BlockVolumeBa
|
|
|
3177
3250
|
*/
|
|
3178
3251
|
remove(
|
|
3179
3252
|
toRemove:
|
|
3180
|
-
|
|
|
3181
|
-
|
|
|
3182
|
-
|
|
|
3253
|
+
| minecraftserverbindings.Vector3[]
|
|
3254
|
+
| minecraftserverbindings.BlockVolume
|
|
3255
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
3183
3256
|
| RelativeVolumeListBlockVolume
|
|
3184
|
-
|
|
|
3257
|
+
| minecraftserverbindings.Vector3,
|
|
3185
3258
|
): void;
|
|
3186
3259
|
/**
|
|
3187
3260
|
* @remarks
|
|
@@ -3190,18 +3263,18 @@ export class RelativeVolumeListBlockVolume extends minecraftserver.BlockVolumeBa
|
|
|
3190
3263
|
*/
|
|
3191
3264
|
set(
|
|
3192
3265
|
toSet:
|
|
3193
|
-
|
|
|
3194
|
-
|
|
|
3195
|
-
|
|
|
3266
|
+
| minecraftserverbindings.Vector3[]
|
|
3267
|
+
| minecraftserverbindings.BlockVolume
|
|
3268
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
3196
3269
|
| RelativeVolumeListBlockVolume
|
|
3197
|
-
|
|
|
3270
|
+
| minecraftserverbindings.Vector3,
|
|
3198
3271
|
): void;
|
|
3199
3272
|
/**
|
|
3200
3273
|
* @remarks
|
|
3201
3274
|
* This function can't be called in read-only mode.
|
|
3202
3275
|
*
|
|
3203
3276
|
*/
|
|
3204
|
-
translate(offset:
|
|
3277
|
+
translate(offset: minecraftserverbindings.Vector3): void;
|
|
3205
3278
|
}
|
|
3206
3279
|
|
|
3207
3280
|
export class SelectionChangeAfterEventSignal {
|
|
@@ -3245,11 +3318,11 @@ export class SelectionContainerVolume extends SelectionContainerBase {
|
|
|
3245
3318
|
*/
|
|
3246
3319
|
add(
|
|
3247
3320
|
volume:
|
|
3248
|
-
|
|
|
3249
|
-
|
|
|
3250
|
-
|
|
|
3321
|
+
| minecraftserverbindings.Vector3[]
|
|
3322
|
+
| minecraftserverbindings.BlockVolume
|
|
3323
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
3251
3324
|
| RelativeVolumeListBlockVolume
|
|
3252
|
-
|
|
|
3325
|
+
| minecraftserverbindings.Vector3,
|
|
3253
3326
|
): void;
|
|
3254
3327
|
/**
|
|
3255
3328
|
* @remarks
|
|
@@ -3261,13 +3334,13 @@ export class SelectionContainerVolume extends SelectionContainerBase {
|
|
|
3261
3334
|
/**
|
|
3262
3335
|
* @throws This function can throw errors.
|
|
3263
3336
|
*/
|
|
3264
|
-
getBoundingBox():
|
|
3337
|
+
getBoundingBox(): minecraftserverbindings.BlockBoundingBox;
|
|
3265
3338
|
/**
|
|
3266
3339
|
* @remarks
|
|
3267
3340
|
* This function can't be called in read-only mode.
|
|
3268
3341
|
*
|
|
3269
3342
|
*/
|
|
3270
|
-
moveTo(location:
|
|
3343
|
+
moveTo(location: minecraftserverbindings.Vector3): void;
|
|
3271
3344
|
/**
|
|
3272
3345
|
* @remarks
|
|
3273
3346
|
* This function can't be called in read-only mode.
|
|
@@ -3275,11 +3348,11 @@ export class SelectionContainerVolume extends SelectionContainerBase {
|
|
|
3275
3348
|
*/
|
|
3276
3349
|
remove(
|
|
3277
3350
|
volume:
|
|
3278
|
-
|
|
|
3279
|
-
|
|
|
3280
|
-
|
|
|
3351
|
+
| minecraftserverbindings.Vector3[]
|
|
3352
|
+
| minecraftserverbindings.BlockVolume
|
|
3353
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
3281
3354
|
| RelativeVolumeListBlockVolume
|
|
3282
|
-
|
|
|
3355
|
+
| minecraftserverbindings.Vector3,
|
|
3283
3356
|
): void;
|
|
3284
3357
|
/**
|
|
3285
3358
|
* @remarks
|
|
@@ -3288,18 +3361,18 @@ export class SelectionContainerVolume extends SelectionContainerBase {
|
|
|
3288
3361
|
*/
|
|
3289
3362
|
set(
|
|
3290
3363
|
volume:
|
|
3291
|
-
|
|
|
3292
|
-
|
|
|
3293
|
-
|
|
|
3364
|
+
| minecraftserverbindings.Vector3[]
|
|
3365
|
+
| minecraftserverbindings.BlockVolume
|
|
3366
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
3294
3367
|
| RelativeVolumeListBlockVolume
|
|
3295
|
-
|
|
|
3368
|
+
| minecraftserverbindings.Vector3,
|
|
3296
3369
|
): void;
|
|
3297
3370
|
/**
|
|
3298
3371
|
* @remarks
|
|
3299
3372
|
* This function can't be called in read-only mode.
|
|
3300
3373
|
*
|
|
3301
3374
|
*/
|
|
3302
|
-
translate(offset:
|
|
3375
|
+
translate(offset: minecraftserverbindings.Vector3): void;
|
|
3303
3376
|
}
|
|
3304
3377
|
|
|
3305
3378
|
export class SelectionContainerVolumeEvent {
|
|
@@ -3449,13 +3522,13 @@ export class ThemeSettings {
|
|
|
3449
3522
|
*/
|
|
3450
3523
|
deleteTheme(id: string): void;
|
|
3451
3524
|
getCurrentTheme(): string;
|
|
3452
|
-
getThemeColors(id: string): Record<string,
|
|
3525
|
+
getThemeColors(id: string): Record<string, minecraftserverbindings.RGBA> | undefined;
|
|
3453
3526
|
getThemeIdList(): string[];
|
|
3454
3527
|
/**
|
|
3455
3528
|
* @throws This function can throw errors.
|
|
3456
3529
|
*/
|
|
3457
3530
|
getThemeName(id: string): string;
|
|
3458
|
-
resolveColorKey(key: ThemeSettingsColorKey):
|
|
3531
|
+
resolveColorKey(key: ThemeSettingsColorKey): minecraftserverbindings.RGBA;
|
|
3459
3532
|
/**
|
|
3460
3533
|
* @remarks
|
|
3461
3534
|
* This function can't be called in read-only mode.
|
|
@@ -3476,7 +3549,7 @@ export class ThemeSettings {
|
|
|
3476
3549
|
*
|
|
3477
3550
|
* @throws This function can throw errors.
|
|
3478
3551
|
*/
|
|
3479
|
-
updateThemeColor(id: string, key: ThemeSettingsColorKey, newColor:
|
|
3552
|
+
updateThemeColor(id: string, key: ThemeSettingsColorKey, newColor: minecraftserverbindings.RGBA): void;
|
|
3480
3553
|
}
|
|
3481
3554
|
|
|
3482
3555
|
/**
|
|
@@ -3499,7 +3572,7 @@ export class TransactionManager {
|
|
|
3499
3572
|
*
|
|
3500
3573
|
* @throws This function can throw errors.
|
|
3501
3574
|
*/
|
|
3502
|
-
addEntityOperation(entity:
|
|
3575
|
+
addEntityOperation(entity: minecraftserverbindings.Entity, type: EntityOperationType): boolean;
|
|
3503
3576
|
/**
|
|
3504
3577
|
* @remarks
|
|
3505
3578
|
* This function can't be called in read-only mode.
|
|
@@ -3638,7 +3711,7 @@ export class TransactionManager {
|
|
|
3638
3711
|
* Max block location of a bounding area
|
|
3639
3712
|
* @throws This function can throw errors.
|
|
3640
3713
|
*/
|
|
3641
|
-
trackBlockChangeArea(from:
|
|
3714
|
+
trackBlockChangeArea(from: minecraftserverbindings.Vector3, to: minecraftserverbindings.Vector3): boolean;
|
|
3642
3715
|
/**
|
|
3643
3716
|
* @remarks
|
|
3644
3717
|
* Begin tracking block changes in a list of specified block
|
|
@@ -3650,14 +3723,14 @@ export class TransactionManager {
|
|
|
3650
3723
|
* An array of block locations to monitor for changes
|
|
3651
3724
|
* @throws This function can throw errors.
|
|
3652
3725
|
*/
|
|
3653
|
-
trackBlockChangeList(locations:
|
|
3726
|
+
trackBlockChangeList(locations: minecraftserverbindings.Vector3[]): boolean;
|
|
3654
3727
|
/**
|
|
3655
3728
|
* @remarks
|
|
3656
3729
|
* This function can't be called in read-only mode.
|
|
3657
3730
|
*
|
|
3658
3731
|
* @throws This function can throw errors.
|
|
3659
3732
|
*/
|
|
3660
|
-
trackBlockChangeVolume(blockVolume:
|
|
3733
|
+
trackBlockChangeVolume(blockVolume: minecraftserverbindings.BlockVolumeBase): boolean;
|
|
3661
3734
|
/**
|
|
3662
3735
|
* @remarks
|
|
3663
3736
|
* Perform an undo operation. This will take the last
|
|
@@ -3781,13 +3854,19 @@ export class Widget {
|
|
|
3781
3854
|
* This property can't be edited in read-only mode.
|
|
3782
3855
|
*
|
|
3783
3856
|
*/
|
|
3784
|
-
collisionOffset:
|
|
3857
|
+
collisionOffset: minecraftserverbindings.Vector3;
|
|
3785
3858
|
/**
|
|
3786
3859
|
* @remarks
|
|
3787
3860
|
* This property can't be edited in read-only mode.
|
|
3788
3861
|
*
|
|
3789
3862
|
*/
|
|
3790
3863
|
collisionRadius: number;
|
|
3864
|
+
/**
|
|
3865
|
+
* @remarks
|
|
3866
|
+
* This property can't be edited in read-only mode.
|
|
3867
|
+
*
|
|
3868
|
+
*/
|
|
3869
|
+
collisionType: WidgetCollisionType;
|
|
3791
3870
|
/**
|
|
3792
3871
|
* @throws This property can throw when used.
|
|
3793
3872
|
*
|
|
@@ -3799,7 +3878,7 @@ export class Widget {
|
|
|
3799
3878
|
* This property can't be edited in read-only mode.
|
|
3800
3879
|
*
|
|
3801
3880
|
*/
|
|
3802
|
-
location:
|
|
3881
|
+
location: minecraftserverbindings.Vector3;
|
|
3803
3882
|
/**
|
|
3804
3883
|
* @remarks
|
|
3805
3884
|
* This property can't be edited in read-only mode.
|
|
@@ -3831,7 +3910,7 @@ export class Widget {
|
|
|
3831
3910
|
*/
|
|
3832
3911
|
addBoundingBox(
|
|
3833
3912
|
componentName: string,
|
|
3834
|
-
size:
|
|
3913
|
+
size: minecraftserverbindings.Vector3,
|
|
3835
3914
|
options?: WidgetComponentBoundingBoxOptions,
|
|
3836
3915
|
): WidgetComponentBoundingBox;
|
|
3837
3916
|
/**
|
|
@@ -3863,6 +3942,13 @@ export class Widget {
|
|
|
3863
3942
|
* @throws This function can throw errors.
|
|
3864
3943
|
*/
|
|
3865
3944
|
addGizmoComponent(componentName: string, options?: WidgetComponentGizmoOptions): WidgetComponentGizmo;
|
|
3945
|
+
/**
|
|
3946
|
+
* @remarks
|
|
3947
|
+
* This function can't be called in read-only mode.
|
|
3948
|
+
*
|
|
3949
|
+
* @throws This function can throw errors.
|
|
3950
|
+
*/
|
|
3951
|
+
addGridComponent(componentName: string, options?: WidgetComponentGridOptions): WidgetComponentGrid;
|
|
3866
3952
|
/**
|
|
3867
3953
|
* @remarks
|
|
3868
3954
|
* This function can't be called in read-only mode.
|
|
@@ -3907,7 +3993,7 @@ export class Widget {
|
|
|
3907
3993
|
*/
|
|
3908
3994
|
addVolumeOutline(
|
|
3909
3995
|
componentName: string,
|
|
3910
|
-
volume?:
|
|
3996
|
+
volume?: minecraftserverbindings.BlockVolumeBase | RelativeVolumeListBlockVolume,
|
|
3911
3997
|
options?: WidgetComponentVolumeOutlineOptions,
|
|
3912
3998
|
): WidgetComponentVolumeOutline;
|
|
3913
3999
|
/**
|
|
@@ -3964,7 +4050,7 @@ export class WidgetComponentBase {
|
|
|
3964
4050
|
*
|
|
3965
4051
|
* {@link InvalidWidgetComponentError}
|
|
3966
4052
|
*/
|
|
3967
|
-
readonly location:
|
|
4053
|
+
readonly location: minecraftserverbindings.Vector3;
|
|
3968
4054
|
/**
|
|
3969
4055
|
* @remarks
|
|
3970
4056
|
* This property can't be edited in read-only mode.
|
|
@@ -3982,7 +4068,7 @@ export class WidgetComponentBase {
|
|
|
3982
4068
|
* This property can't be edited in read-only mode.
|
|
3983
4069
|
*
|
|
3984
4070
|
*/
|
|
3985
|
-
offset:
|
|
4071
|
+
offset: minecraftserverbindings.Vector3;
|
|
3986
4072
|
readonly valid: boolean;
|
|
3987
4073
|
visible: boolean;
|
|
3988
4074
|
/**
|
|
@@ -4010,7 +4096,7 @@ export class WidgetComponentBoundingBox extends WidgetComponentBase {
|
|
|
4010
4096
|
* This property can't be edited in read-only mode.
|
|
4011
4097
|
*
|
|
4012
4098
|
*/
|
|
4013
|
-
boundsOffset:
|
|
4099
|
+
boundsOffset: minecraftserverbindings.Vector3;
|
|
4014
4100
|
/**
|
|
4015
4101
|
* @remarks
|
|
4016
4102
|
* This property can't be edited in read-only mode.
|
|
@@ -4022,31 +4108,31 @@ export class WidgetComponentBoundingBox extends WidgetComponentBase {
|
|
|
4022
4108
|
* This property can't be edited in read-only mode.
|
|
4023
4109
|
*
|
|
4024
4110
|
*/
|
|
4025
|
-
hullColor:
|
|
4111
|
+
hullColor: minecraftserverbindings.RGBA;
|
|
4026
4112
|
/**
|
|
4027
4113
|
* @remarks
|
|
4028
4114
|
* This property can't be edited in read-only mode.
|
|
4029
4115
|
*
|
|
4030
4116
|
*/
|
|
4031
|
-
mirror:
|
|
4117
|
+
mirror: minecraftserverbindings.StructureMirrorAxis;
|
|
4032
4118
|
/**
|
|
4033
4119
|
* @remarks
|
|
4034
4120
|
* This property can't be edited in read-only mode.
|
|
4035
4121
|
*
|
|
4036
4122
|
*/
|
|
4037
|
-
normalizedOrigin:
|
|
4123
|
+
normalizedOrigin: minecraftserverbindings.Vector3;
|
|
4038
4124
|
/**
|
|
4039
4125
|
* @remarks
|
|
4040
4126
|
* This property can't be edited in read-only mode.
|
|
4041
4127
|
*
|
|
4042
4128
|
*/
|
|
4043
|
-
outlineColor:
|
|
4129
|
+
outlineColor: minecraftserverbindings.RGBA;
|
|
4044
4130
|
/**
|
|
4045
4131
|
* @remarks
|
|
4046
4132
|
* This property can't be edited in read-only mode.
|
|
4047
4133
|
*
|
|
4048
4134
|
*/
|
|
4049
|
-
rotation:
|
|
4135
|
+
rotation: minecraftserverbindings.StructureRotation;
|
|
4050
4136
|
/**
|
|
4051
4137
|
* @remarks
|
|
4052
4138
|
* This property can't be edited in read-only mode.
|
|
@@ -4058,13 +4144,13 @@ export class WidgetComponentBoundingBox extends WidgetComponentBase {
|
|
|
4058
4144
|
* This property can't be edited in read-only mode.
|
|
4059
4145
|
*
|
|
4060
4146
|
*/
|
|
4061
|
-
size:
|
|
4147
|
+
size: minecraftserverbindings.Vector3;
|
|
4062
4148
|
/**
|
|
4063
4149
|
* @throws This property can throw when used.
|
|
4064
4150
|
*
|
|
4065
4151
|
* {@link InvalidWidgetComponentError}
|
|
4066
4152
|
*/
|
|
4067
|
-
readonly transformedWorldVolume:
|
|
4153
|
+
readonly transformedWorldVolume: minecraftserverbindings.BlockVolume;
|
|
4068
4154
|
/**
|
|
4069
4155
|
* @remarks
|
|
4070
4156
|
* This property can't be edited in read-only mode.
|
|
@@ -4093,8 +4179,8 @@ export class WidgetComponentBoundingBox extends WidgetComponentBase {
|
|
|
4093
4179
|
|
|
4094
4180
|
export class WidgetComponentBoundingBoxStateChangeEventParameters {
|
|
4095
4181
|
private constructor();
|
|
4096
|
-
readonly boundsOffset?:
|
|
4097
|
-
readonly boundsSize?:
|
|
4182
|
+
readonly boundsOffset?: minecraftserverbindings.Vector3;
|
|
4183
|
+
readonly boundsSize?: minecraftserverbindings.Vector3;
|
|
4098
4184
|
readonly component: WidgetComponentBoundingBox;
|
|
4099
4185
|
readonly eventType: WidgetGizmoEventType;
|
|
4100
4186
|
readonly widget: Widget;
|
|
@@ -4108,14 +4194,14 @@ export class WidgetComponentClipboard extends WidgetComponentBase {
|
|
|
4108
4194
|
* This property can't be edited in read-only mode.
|
|
4109
4195
|
*
|
|
4110
4196
|
*/
|
|
4111
|
-
clipboardOffset:
|
|
4112
|
-
highlightHullColor:
|
|
4113
|
-
highlightOutlineColor:
|
|
4114
|
-
hullColor:
|
|
4115
|
-
mirror:
|
|
4116
|
-
normalizedOrigin:
|
|
4117
|
-
outlineColor:
|
|
4118
|
-
rotation:
|
|
4197
|
+
clipboardOffset: minecraftserverbindings.Vector3;
|
|
4198
|
+
highlightHullColor: minecraftserverbindings.RGBA;
|
|
4199
|
+
highlightOutlineColor: minecraftserverbindings.RGBA;
|
|
4200
|
+
hullColor: minecraftserverbindings.RGBA;
|
|
4201
|
+
mirror: minecraftserverbindings.StructureMirrorAxis;
|
|
4202
|
+
normalizedOrigin: minecraftserverbindings.Vector3;
|
|
4203
|
+
outlineColor: minecraftserverbindings.RGBA;
|
|
4204
|
+
rotation: minecraftserverbindings.StructureRotation;
|
|
4119
4205
|
showOutline: boolean;
|
|
4120
4206
|
}
|
|
4121
4207
|
|
|
@@ -4154,7 +4240,7 @@ export class WidgetComponentGizmo extends WidgetComponentBase {
|
|
|
4154
4240
|
* This property can't be edited in read-only mode.
|
|
4155
4241
|
*
|
|
4156
4242
|
*/
|
|
4157
|
-
normalizedOffsetOverride?:
|
|
4243
|
+
normalizedOffsetOverride?: minecraftserverbindings.Vector3;
|
|
4158
4244
|
/**
|
|
4159
4245
|
* @remarks
|
|
4160
4246
|
* This function can't be called in read-only mode.
|
|
@@ -4173,6 +4259,35 @@ export class WidgetComponentGizmoStateChangeEventParameters {
|
|
|
4173
4259
|
readonly widget: Widget;
|
|
4174
4260
|
}
|
|
4175
4261
|
|
|
4262
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
4263
|
+
export class WidgetComponentGrid extends WidgetComponentBase {
|
|
4264
|
+
private constructor();
|
|
4265
|
+
/**
|
|
4266
|
+
* @remarks
|
|
4267
|
+
* This property can't be edited in read-only mode.
|
|
4268
|
+
*
|
|
4269
|
+
*/
|
|
4270
|
+
gridColor: minecraftserverbindings.RGBA;
|
|
4271
|
+
/**
|
|
4272
|
+
* @remarks
|
|
4273
|
+
* This property can't be edited in read-only mode.
|
|
4274
|
+
*
|
|
4275
|
+
*/
|
|
4276
|
+
gridCount: minecraftserverbindings.Vector2;
|
|
4277
|
+
/**
|
|
4278
|
+
* @remarks
|
|
4279
|
+
* This property can't be edited in read-only mode.
|
|
4280
|
+
*
|
|
4281
|
+
*/
|
|
4282
|
+
gridSize: minecraftserverbindings.Vector2;
|
|
4283
|
+
/**
|
|
4284
|
+
* @remarks
|
|
4285
|
+
* This property can't be edited in read-only mode.
|
|
4286
|
+
*
|
|
4287
|
+
*/
|
|
4288
|
+
plane: Plane;
|
|
4289
|
+
}
|
|
4290
|
+
|
|
4176
4291
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
4177
4292
|
export class WidgetComponentGuide extends WidgetComponentBase {
|
|
4178
4293
|
private constructor();
|
|
@@ -4215,25 +4330,31 @@ export class WidgetComponentRenderPrimitiveTypeAxialSphere extends WidgetCompone
|
|
|
4215
4330
|
* This property can't be edited in read-only mode.
|
|
4216
4331
|
*
|
|
4217
4332
|
*/
|
|
4218
|
-
center:
|
|
4333
|
+
center: minecraftserverbindings.Vector3;
|
|
4219
4334
|
/**
|
|
4220
4335
|
* @remarks
|
|
4221
4336
|
* This property can't be edited in read-only mode.
|
|
4222
4337
|
*
|
|
4223
4338
|
*/
|
|
4224
|
-
color?:
|
|
4339
|
+
color?: minecraftserverbindings.RGBA;
|
|
4225
4340
|
/**
|
|
4226
4341
|
* @remarks
|
|
4227
4342
|
* This property can't be edited in read-only mode.
|
|
4228
4343
|
*
|
|
4229
4344
|
*/
|
|
4230
4345
|
radius: number;
|
|
4231
|
-
constructor(center:
|
|
4346
|
+
constructor(center: minecraftserverbindings.Vector3, radius: number, color?: minecraftserverbindings.RGBA);
|
|
4232
4347
|
}
|
|
4233
4348
|
|
|
4234
4349
|
export class WidgetComponentRenderPrimitiveTypeBase {
|
|
4235
4350
|
private constructor();
|
|
4236
4351
|
readonly primitiveType: PrimitiveType;
|
|
4352
|
+
/**
|
|
4353
|
+
* @remarks
|
|
4354
|
+
* This property can't be edited in read-only mode.
|
|
4355
|
+
*
|
|
4356
|
+
*/
|
|
4357
|
+
renderPriority: number;
|
|
4237
4358
|
}
|
|
4238
4359
|
|
|
4239
4360
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -4243,20 +4364,24 @@ export class WidgetComponentRenderPrimitiveTypeBox extends WidgetComponentRender
|
|
|
4243
4364
|
* This property can't be edited in read-only mode.
|
|
4244
4365
|
*
|
|
4245
4366
|
*/
|
|
4246
|
-
center:
|
|
4367
|
+
center: minecraftserverbindings.Vector3;
|
|
4247
4368
|
/**
|
|
4248
4369
|
* @remarks
|
|
4249
4370
|
* This property can't be edited in read-only mode.
|
|
4250
4371
|
*
|
|
4251
4372
|
*/
|
|
4252
|
-
color:
|
|
4373
|
+
color: minecraftserverbindings.RGBA;
|
|
4253
4374
|
/**
|
|
4254
4375
|
* @remarks
|
|
4255
4376
|
* This property can't be edited in read-only mode.
|
|
4256
4377
|
*
|
|
4257
4378
|
*/
|
|
4258
|
-
size?:
|
|
4259
|
-
constructor(
|
|
4379
|
+
size?: minecraftserverbindings.Vector3;
|
|
4380
|
+
constructor(
|
|
4381
|
+
center: minecraftserverbindings.Vector3,
|
|
4382
|
+
color: minecraftserverbindings.RGBA,
|
|
4383
|
+
size?: minecraftserverbindings.Vector3,
|
|
4384
|
+
);
|
|
4260
4385
|
}
|
|
4261
4386
|
|
|
4262
4387
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -4266,20 +4391,20 @@ export class WidgetComponentRenderPrimitiveTypeDisc extends WidgetComponentRende
|
|
|
4266
4391
|
* This property can't be edited in read-only mode.
|
|
4267
4392
|
*
|
|
4268
4393
|
*/
|
|
4269
|
-
center:
|
|
4394
|
+
center: minecraftserverbindings.Vector3;
|
|
4270
4395
|
/**
|
|
4271
4396
|
* @remarks
|
|
4272
4397
|
* This property can't be edited in read-only mode.
|
|
4273
4398
|
*
|
|
4274
4399
|
*/
|
|
4275
|
-
color:
|
|
4400
|
+
color: minecraftserverbindings.RGBA;
|
|
4276
4401
|
/**
|
|
4277
4402
|
* @remarks
|
|
4278
4403
|
* This property can't be edited in read-only mode.
|
|
4279
4404
|
*
|
|
4280
4405
|
*/
|
|
4281
4406
|
radius: number;
|
|
4282
|
-
constructor(center:
|
|
4407
|
+
constructor(center: minecraftserverbindings.Vector3, radius: number, color: minecraftserverbindings.RGBA);
|
|
4283
4408
|
}
|
|
4284
4409
|
|
|
4285
4410
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -4289,20 +4414,24 @@ export class WidgetComponentRenderPrimitiveTypeLine extends WidgetComponentRende
|
|
|
4289
4414
|
* This property can't be edited in read-only mode.
|
|
4290
4415
|
*
|
|
4291
4416
|
*/
|
|
4292
|
-
color:
|
|
4417
|
+
color: minecraftserverbindings.RGBA;
|
|
4293
4418
|
/**
|
|
4294
4419
|
* @remarks
|
|
4295
4420
|
* This property can't be edited in read-only mode.
|
|
4296
4421
|
*
|
|
4297
4422
|
*/
|
|
4298
|
-
end:
|
|
4423
|
+
end: minecraftserverbindings.Vector3;
|
|
4299
4424
|
/**
|
|
4300
4425
|
* @remarks
|
|
4301
4426
|
* This property can't be edited in read-only mode.
|
|
4302
4427
|
*
|
|
4303
4428
|
*/
|
|
4304
|
-
start:
|
|
4305
|
-
constructor(
|
|
4429
|
+
start: minecraftserverbindings.Vector3;
|
|
4430
|
+
constructor(
|
|
4431
|
+
start: minecraftserverbindings.Vector3,
|
|
4432
|
+
end: minecraftserverbindings.Vector3,
|
|
4433
|
+
color: minecraftserverbindings.RGBA,
|
|
4434
|
+
);
|
|
4306
4435
|
}
|
|
4307
4436
|
|
|
4308
4437
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -4333,7 +4462,7 @@ export class WidgetComponentSpline extends WidgetComponentBase {
|
|
|
4333
4462
|
*
|
|
4334
4463
|
* @throws This function can throw errors.
|
|
4335
4464
|
*/
|
|
4336
|
-
getInterpolatedPoints(maxPointsPerControlSegment?: number):
|
|
4465
|
+
getInterpolatedPoints(maxPointsPerControlSegment?: number): minecraftserverbindings.Vector3[];
|
|
4337
4466
|
/**
|
|
4338
4467
|
* @remarks
|
|
4339
4468
|
* This function can't be called in read-only mode.
|
|
@@ -4355,7 +4484,7 @@ export class WidgetComponentText extends WidgetComponentBase {
|
|
|
4355
4484
|
* This property can't be edited in read-only mode.
|
|
4356
4485
|
*
|
|
4357
4486
|
*/
|
|
4358
|
-
color:
|
|
4487
|
+
color: minecraftserverbindings.RGBA;
|
|
4359
4488
|
/**
|
|
4360
4489
|
* @remarks
|
|
4361
4490
|
* This property can't be edited in read-only mode.
|
|
@@ -4372,43 +4501,43 @@ export class WidgetComponentVolumeOutline extends WidgetComponentBase {
|
|
|
4372
4501
|
* This property can't be edited in read-only mode.
|
|
4373
4502
|
*
|
|
4374
4503
|
*/
|
|
4375
|
-
highlightHullColor:
|
|
4504
|
+
highlightHullColor: minecraftserverbindings.RGBA;
|
|
4376
4505
|
/**
|
|
4377
4506
|
* @remarks
|
|
4378
4507
|
* This property can't be edited in read-only mode.
|
|
4379
4508
|
*
|
|
4380
4509
|
*/
|
|
4381
|
-
highlightOutlineColor:
|
|
4510
|
+
highlightOutlineColor: minecraftserverbindings.RGBA;
|
|
4382
4511
|
/**
|
|
4383
4512
|
* @remarks
|
|
4384
4513
|
* This property can't be edited in read-only mode.
|
|
4385
4514
|
*
|
|
4386
4515
|
*/
|
|
4387
|
-
hullColor:
|
|
4516
|
+
hullColor: minecraftserverbindings.RGBA;
|
|
4388
4517
|
/**
|
|
4389
4518
|
* @remarks
|
|
4390
4519
|
* This property can't be edited in read-only mode.
|
|
4391
4520
|
*
|
|
4392
4521
|
*/
|
|
4393
|
-
mirror:
|
|
4522
|
+
mirror: minecraftserverbindings.StructureMirrorAxis;
|
|
4394
4523
|
/**
|
|
4395
4524
|
* @remarks
|
|
4396
4525
|
* This property can't be edited in read-only mode.
|
|
4397
4526
|
*
|
|
4398
4527
|
*/
|
|
4399
|
-
normalizedOrigin:
|
|
4528
|
+
normalizedOrigin: minecraftserverbindings.Vector3;
|
|
4400
4529
|
/**
|
|
4401
4530
|
* @remarks
|
|
4402
4531
|
* This property can't be edited in read-only mode.
|
|
4403
4532
|
*
|
|
4404
4533
|
*/
|
|
4405
|
-
outlineColor:
|
|
4534
|
+
outlineColor: minecraftserverbindings.RGBA;
|
|
4406
4535
|
/**
|
|
4407
4536
|
* @remarks
|
|
4408
4537
|
* This property can't be edited in read-only mode.
|
|
4409
4538
|
*
|
|
4410
4539
|
*/
|
|
4411
|
-
rotation:
|
|
4540
|
+
rotation: minecraftserverbindings.StructureRotation;
|
|
4412
4541
|
/**
|
|
4413
4542
|
* @remarks
|
|
4414
4543
|
* This property can't be edited in read-only mode.
|
|
@@ -4426,13 +4555,13 @@ export class WidgetComponentVolumeOutline extends WidgetComponentBase {
|
|
|
4426
4555
|
*
|
|
4427
4556
|
* {@link InvalidWidgetComponentError}
|
|
4428
4557
|
*/
|
|
4429
|
-
readonly transformedWorldVolume:
|
|
4558
|
+
readonly transformedWorldVolume: minecraftserverbindings.BlockVolume;
|
|
4430
4559
|
/**
|
|
4431
4560
|
* @remarks
|
|
4432
4561
|
* This property can't be edited in read-only mode.
|
|
4433
4562
|
*
|
|
4434
4563
|
*/
|
|
4435
|
-
volumeOffset:
|
|
4564
|
+
volumeOffset: minecraftserverbindings.Vector3;
|
|
4436
4565
|
/**
|
|
4437
4566
|
* @remarks
|
|
4438
4567
|
* This function can't be called in read-only mode.
|
|
@@ -4452,11 +4581,11 @@ export class WidgetComponentVolumeOutline extends WidgetComponentBase {
|
|
|
4452
4581
|
*/
|
|
4453
4582
|
setVolume(
|
|
4454
4583
|
volumeToSet?:
|
|
4455
|
-
|
|
|
4456
|
-
|
|
|
4457
|
-
|
|
|
4584
|
+
| minecraftserverbindings.Vector3[]
|
|
4585
|
+
| minecraftserverbindings.BlockVolume
|
|
4586
|
+
| minecraftserverbindings.BlockVolumeBase
|
|
4458
4587
|
| RelativeVolumeListBlockVolume
|
|
4459
|
-
|
|
|
4588
|
+
| minecraftserverbindings.Vector3,
|
|
4460
4589
|
): void;
|
|
4461
4590
|
}
|
|
4462
4591
|
|
|
@@ -4486,7 +4615,7 @@ export class WidgetGroup {
|
|
|
4486
4615
|
*
|
|
4487
4616
|
* @throws This function can throw errors.
|
|
4488
4617
|
*/
|
|
4489
|
-
createWidget(location:
|
|
4618
|
+
createWidget(location: minecraftserverbindings.Vector3, options?: WidgetCreateOptions): Widget;
|
|
4490
4619
|
/**
|
|
4491
4620
|
* @remarks
|
|
4492
4621
|
* This function can't be called in read-only mode.
|
|
@@ -4549,7 +4678,7 @@ export class WidgetMouseButtonEventData {
|
|
|
4549
4678
|
export class WidgetStateChangeEventData {
|
|
4550
4679
|
private constructor();
|
|
4551
4680
|
readonly group: WidgetGroup;
|
|
4552
|
-
readonly location?:
|
|
4681
|
+
readonly location?: minecraftserverbindings.Vector3;
|
|
4553
4682
|
readonly mouseEvent?: WidgetMouseButtonEventData;
|
|
4554
4683
|
readonly selected?: boolean;
|
|
4555
4684
|
readonly visible?: boolean;
|
|
@@ -4574,7 +4703,7 @@ export interface ActionManager {
|
|
|
4574
4703
|
}
|
|
4575
4704
|
|
|
4576
4705
|
export interface BlockMaskList {
|
|
4577
|
-
blockList: (
|
|
4706
|
+
blockList: (minecraftserverbindings.BlockPermutation | minecraftserverbindings.BlockType | string)[];
|
|
4578
4707
|
maskType: BlockMaskListType;
|
|
4579
4708
|
}
|
|
4580
4709
|
|
|
@@ -4652,22 +4781,22 @@ export interface ClipboardWriteOptions {
|
|
|
4652
4781
|
* - XZ
|
|
4653
4782
|
*
|
|
4654
4783
|
*/
|
|
4655
|
-
mirror?:
|
|
4656
|
-
normalizedOrigin?:
|
|
4784
|
+
mirror?: minecraftserverbindings.StructureMirrorAxis;
|
|
4785
|
+
normalizedOrigin?: minecraftserverbindings.Vector3;
|
|
4657
4786
|
/**
|
|
4658
4787
|
* @remarks
|
|
4659
4788
|
* A position offset which should be applied to the paste
|
|
4660
4789
|
* location while the clipboard item is being written
|
|
4661
4790
|
*
|
|
4662
4791
|
*/
|
|
4663
|
-
offset?:
|
|
4792
|
+
offset?: minecraftserverbindings.Vector3;
|
|
4664
4793
|
/**
|
|
4665
4794
|
* @remarks
|
|
4666
4795
|
* An enum representing the rotation around the Y-Axis which
|
|
4667
4796
|
* should be applied while the clipboard item is being written
|
|
4668
4797
|
*
|
|
4669
4798
|
*/
|
|
4670
|
-
rotation?:
|
|
4799
|
+
rotation?: minecraftserverbindings.StructureRotation;
|
|
4671
4800
|
}
|
|
4672
4801
|
|
|
4673
4802
|
export interface ContiguousSelectionProperties {
|
|
@@ -4678,12 +4807,12 @@ export interface ContiguousSelectionProperties {
|
|
|
4678
4807
|
isFace?: boolean;
|
|
4679
4808
|
selectionDirection?: number;
|
|
4680
4809
|
size?: number;
|
|
4681
|
-
startingLocation?:
|
|
4810
|
+
startingLocation?: minecraftserverbindings.Vector3;
|
|
4682
4811
|
}
|
|
4683
4812
|
|
|
4684
4813
|
export interface CursorPosition {
|
|
4685
4814
|
FaceDirection: number;
|
|
4686
|
-
Position:
|
|
4815
|
+
Position: minecraftserverbindings.Vector3;
|
|
4687
4816
|
}
|
|
4688
4817
|
|
|
4689
4818
|
/**
|
|
@@ -4719,7 +4848,7 @@ export interface CursorProperties {
|
|
|
4719
4848
|
*
|
|
4720
4849
|
*/
|
|
4721
4850
|
controlMode?: CursorControlMode;
|
|
4722
|
-
fillColor?:
|
|
4851
|
+
fillColor?: minecraftserverbindings.RGBA;
|
|
4723
4852
|
/**
|
|
4724
4853
|
* @remarks
|
|
4725
4854
|
* The fixed distance from the players feet at which the cursor
|
|
@@ -4734,7 +4863,7 @@ export interface CursorProperties {
|
|
|
4734
4863
|
* cursor object outline
|
|
4735
4864
|
*
|
|
4736
4865
|
*/
|
|
4737
|
-
outlineColor?:
|
|
4866
|
+
outlineColor?: minecraftserverbindings.RGBA;
|
|
4738
4867
|
projectThroughLiquid?: boolean;
|
|
4739
4868
|
/**
|
|
4740
4869
|
* @remarks
|
|
@@ -4757,16 +4886,18 @@ export interface CursorProperties {
|
|
|
4757
4886
|
}
|
|
4758
4887
|
|
|
4759
4888
|
export interface CursorRay {
|
|
4760
|
-
end:
|
|
4889
|
+
end: minecraftserverbindings.Vector3;
|
|
4761
4890
|
hit: boolean;
|
|
4762
|
-
start:
|
|
4891
|
+
start: minecraftserverbindings.Vector3;
|
|
4763
4892
|
}
|
|
4764
4893
|
|
|
4765
4894
|
export interface EditorStructureSearchOptions {
|
|
4766
4895
|
displayName?: string;
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4896
|
+
id?: string;
|
|
4897
|
+
sources?: StructureSource[];
|
|
4898
|
+
structureName?: string;
|
|
4899
|
+
structureNamespace?: string;
|
|
4900
|
+
tags?: string[];
|
|
4770
4901
|
}
|
|
4771
4902
|
|
|
4772
4903
|
/**
|
|
@@ -4835,7 +4966,7 @@ export interface GameOptions {
|
|
|
4835
4966
|
commandBlockEnabled?: boolean;
|
|
4836
4967
|
commandBlockOutput?: boolean;
|
|
4837
4968
|
daylightCycle?: DaylightCycle;
|
|
4838
|
-
difficulty?:
|
|
4969
|
+
difficulty?: minecraftserverbindings.Difficulty;
|
|
4839
4970
|
dimensionId?: string;
|
|
4840
4971
|
disableWeather?: boolean;
|
|
4841
4972
|
drowningDamage?: boolean;
|
|
@@ -4848,7 +4979,7 @@ export interface GameOptions {
|
|
|
4848
4979
|
freezeDamage?: boolean;
|
|
4849
4980
|
friendlyFire?: boolean;
|
|
4850
4981
|
functionCommandLimit?: number;
|
|
4851
|
-
gameMode?:
|
|
4982
|
+
gameMode?: minecraftserverbindings.GameMode;
|
|
4852
4983
|
hardcore?: boolean;
|
|
4853
4984
|
immediateRespawn?: boolean;
|
|
4854
4985
|
insomnia?: boolean;
|
|
@@ -4863,7 +4994,7 @@ export interface GameOptions {
|
|
|
4863
4994
|
multiplayerGame?: boolean;
|
|
4864
4995
|
naturalRegeneration?: boolean;
|
|
4865
4996
|
playerAccess?: GamePublishSetting;
|
|
4866
|
-
playerPermissions?:
|
|
4997
|
+
playerPermissions?: minecraftserverbindings.PlayerPermissionLevel;
|
|
4867
4998
|
randomTickSpeed?: number;
|
|
4868
4999
|
recipeUnlocking?: boolean;
|
|
4869
5000
|
respawnBlocksExplode?: boolean;
|
|
@@ -4876,7 +5007,7 @@ export interface GameOptions {
|
|
|
4876
5007
|
showItemTags?: boolean;
|
|
4877
5008
|
simulationDistance?: number;
|
|
4878
5009
|
sleepSkipPercent?: number;
|
|
4879
|
-
spawnPosition?:
|
|
5010
|
+
spawnPosition?: minecraftserverbindings.Vector3;
|
|
4880
5011
|
startingMap?: boolean;
|
|
4881
5012
|
tileDrops?: boolean;
|
|
4882
5013
|
timeOfDay?: number;
|
|
@@ -5496,6 +5627,13 @@ export interface IColorTimelinePropertyItemOptions extends IPropertyItemOptionsB
|
|
|
5496
5627
|
*
|
|
5497
5628
|
*/
|
|
5498
5629
|
onTimeChanged?: (current: number, prev: number) => void;
|
|
5630
|
+
/**
|
|
5631
|
+
* @remarks
|
|
5632
|
+
* Flag that enables gradient background color on the timeline
|
|
5633
|
+
* to be rendered, default is true
|
|
5634
|
+
*
|
|
5635
|
+
*/
|
|
5636
|
+
renderGradientBackground?: boolean;
|
|
5499
5637
|
/**
|
|
5500
5638
|
* @remarks
|
|
5501
5639
|
* Localized title of the property item
|
|
@@ -6812,7 +6950,7 @@ export interface IPropertyPane extends IPane {
|
|
|
6812
6950
|
* Pane state for being expanded or collapsed.
|
|
6813
6951
|
*
|
|
6814
6952
|
*/
|
|
6815
|
-
collapsed: boolean;
|
|
6953
|
+
readonly collapsed: boolean;
|
|
6816
6954
|
/**
|
|
6817
6955
|
* @remarks
|
|
6818
6956
|
* Provides visibility change events
|
|
@@ -6989,6 +7127,12 @@ export interface IPropertyPane extends IPane {
|
|
|
6989
7127
|
*
|
|
6990
7128
|
*/
|
|
6991
7129
|
endConstruct(): void;
|
|
7130
|
+
/**
|
|
7131
|
+
* @remarks
|
|
7132
|
+
* Expand the pane.
|
|
7133
|
+
*
|
|
7134
|
+
*/
|
|
7135
|
+
expand(): void;
|
|
6992
7136
|
/**
|
|
6993
7137
|
* @remarks
|
|
6994
7138
|
* Returns pane title.
|
|
@@ -7692,7 +7836,7 @@ export interface LogProperties {
|
|
|
7692
7836
|
* specified, then all players will receive the message
|
|
7693
7837
|
*
|
|
7694
7838
|
*/
|
|
7695
|
-
player?:
|
|
7839
|
+
player?: minecraftserverbindings.Player;
|
|
7696
7840
|
/**
|
|
7697
7841
|
* @remarks
|
|
7698
7842
|
* Message to be shown under the message when toast channel is
|
|
@@ -7741,11 +7885,11 @@ export interface ModalToolCreationParameters {
|
|
|
7741
7885
|
|
|
7742
7886
|
export interface ProjectExportOptions {
|
|
7743
7887
|
alwaysDay?: boolean;
|
|
7744
|
-
difficulty?:
|
|
7888
|
+
difficulty?: minecraftserverbindings.Difficulty;
|
|
7745
7889
|
disableWeather?: boolean;
|
|
7746
7890
|
exportName?: string;
|
|
7747
7891
|
exportType: ProjectExportType;
|
|
7748
|
-
gameMode?:
|
|
7892
|
+
gameMode?: minecraftserverbindings.GameMode;
|
|
7749
7893
|
initialTimOfDay?: number;
|
|
7750
7894
|
}
|
|
7751
7895
|
|
|
@@ -7757,31 +7901,31 @@ export interface QuickExtrudeProperties {
|
|
|
7757
7901
|
layerCount?: number;
|
|
7758
7902
|
selectionDirection?: number;
|
|
7759
7903
|
size?: number;
|
|
7760
|
-
startingLocation?:
|
|
7904
|
+
startingLocation?: minecraftserverbindings.Vector3;
|
|
7761
7905
|
}
|
|
7762
7906
|
|
|
7763
7907
|
export interface WeightedBlock {
|
|
7764
|
-
block:
|
|
7908
|
+
block: minecraftserverbindings.BlockType;
|
|
7765
7909
|
weight: number;
|
|
7766
7910
|
}
|
|
7767
7911
|
|
|
7768
7912
|
export interface WidgetComponentBaseOptions {
|
|
7769
7913
|
lockToSurface?: boolean;
|
|
7770
|
-
offset?:
|
|
7914
|
+
offset?: minecraftserverbindings.Vector3;
|
|
7771
7915
|
visible?: boolean;
|
|
7772
7916
|
}
|
|
7773
7917
|
|
|
7774
7918
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
7775
7919
|
export interface WidgetComponentBoundingBoxOptions extends WidgetComponentBaseOptions {
|
|
7776
|
-
boundsOffset?:
|
|
7920
|
+
boundsOffset?: minecraftserverbindings.Vector3;
|
|
7777
7921
|
enableResizeHandles?: Axis;
|
|
7778
|
-
hullColor?:
|
|
7779
|
-
maxSize?:
|
|
7780
|
-
minSize?:
|
|
7781
|
-
mirror?:
|
|
7782
|
-
normalizedOrigin?:
|
|
7783
|
-
outlineColor?:
|
|
7784
|
-
rotation?:
|
|
7922
|
+
hullColor?: minecraftserverbindings.RGBA;
|
|
7923
|
+
maxSize?: minecraftserverbindings.Vector3;
|
|
7924
|
+
minSize?: minecraftserverbindings.Vector3;
|
|
7925
|
+
mirror?: minecraftserverbindings.StructureMirrorAxis;
|
|
7926
|
+
normalizedOrigin?: minecraftserverbindings.Vector3;
|
|
7927
|
+
outlineColor?: minecraftserverbindings.RGBA;
|
|
7928
|
+
rotation?: minecraftserverbindings.StructureRotation;
|
|
7785
7929
|
showWorldIntersections?: boolean;
|
|
7786
7930
|
stateChangeEvent?: (arg0: WidgetComponentBoundingBoxStateChangeEventParameters) => void;
|
|
7787
7931
|
visibleHull?: boolean;
|
|
@@ -7789,14 +7933,14 @@ export interface WidgetComponentBoundingBoxOptions extends WidgetComponentBaseOp
|
|
|
7789
7933
|
|
|
7790
7934
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
7791
7935
|
export interface WidgetComponentClipboardOptions extends WidgetComponentBaseOptions {
|
|
7792
|
-
clipboardOffset?:
|
|
7793
|
-
highlightHullColor?:
|
|
7794
|
-
highlightOutlineColor?:
|
|
7795
|
-
hullColor?:
|
|
7796
|
-
mirror?:
|
|
7797
|
-
normalizedOrigin?:
|
|
7798
|
-
outlineColor?:
|
|
7799
|
-
rotation?:
|
|
7936
|
+
clipboardOffset?: minecraftserverbindings.Vector3;
|
|
7937
|
+
highlightHullColor?: minecraftserverbindings.RGBA;
|
|
7938
|
+
highlightOutlineColor?: minecraftserverbindings.RGBA;
|
|
7939
|
+
hullColor?: minecraftserverbindings.RGBA;
|
|
7940
|
+
mirror?: minecraftserverbindings.StructureMirrorAxis;
|
|
7941
|
+
normalizedOrigin?: minecraftserverbindings.Vector3;
|
|
7942
|
+
outlineColor?: minecraftserverbindings.RGBA;
|
|
7943
|
+
rotation?: minecraftserverbindings.StructureRotation;
|
|
7800
7944
|
showOutline?: boolean;
|
|
7801
7945
|
}
|
|
7802
7946
|
|
|
@@ -7811,10 +7955,18 @@ export interface WidgetComponentEntityOptions extends WidgetComponentBaseOptions
|
|
|
7811
7955
|
export interface WidgetComponentGizmoOptions extends WidgetComponentBaseOptions {
|
|
7812
7956
|
axes?: Axis;
|
|
7813
7957
|
enablePlanes?: boolean;
|
|
7814
|
-
normalizedAutoOffset?:
|
|
7958
|
+
normalizedAutoOffset?: minecraftserverbindings.Vector3;
|
|
7815
7959
|
stateChangeEvent?: (arg0: WidgetComponentGizmoStateChangeEventParameters) => void;
|
|
7816
7960
|
}
|
|
7817
7961
|
|
|
7962
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
7963
|
+
export interface WidgetComponentGridOptions extends WidgetComponentBaseOptions {
|
|
7964
|
+
color?: minecraftserverbindings.RGBA;
|
|
7965
|
+
gridCount?: minecraftserverbindings.Vector2;
|
|
7966
|
+
gridSize?: minecraftserverbindings.Vector2;
|
|
7967
|
+
plane?: Plane;
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7818
7970
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
7819
7971
|
export interface WidgetComponentGuideOptions extends WidgetComponentBaseOptions {}
|
|
7820
7972
|
|
|
@@ -7829,35 +7981,36 @@ export interface WidgetComponentSplineOptions extends WidgetComponentBaseOptions
|
|
|
7829
7981
|
|
|
7830
7982
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
7831
7983
|
export interface WidgetComponentTextOptions extends WidgetComponentBaseOptions {
|
|
7832
|
-
color?:
|
|
7984
|
+
color?: minecraftserverbindings.RGBA;
|
|
7833
7985
|
}
|
|
7834
7986
|
|
|
7835
7987
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
7836
7988
|
export interface WidgetComponentVolumeOutlineOptions extends WidgetComponentBaseOptions {
|
|
7837
|
-
highlightHullColor?:
|
|
7838
|
-
highlightOutlineColor?:
|
|
7839
|
-
hullColor?:
|
|
7840
|
-
mirror?:
|
|
7841
|
-
normalizedOrigin?:
|
|
7842
|
-
outlineColor?:
|
|
7843
|
-
rotation?:
|
|
7989
|
+
highlightHullColor?: minecraftserverbindings.RGBA;
|
|
7990
|
+
highlightOutlineColor?: minecraftserverbindings.RGBA;
|
|
7991
|
+
hullColor?: minecraftserverbindings.RGBA;
|
|
7992
|
+
mirror?: minecraftserverbindings.StructureMirrorAxis;
|
|
7993
|
+
normalizedOrigin?: minecraftserverbindings.Vector3;
|
|
7994
|
+
outlineColor?: minecraftserverbindings.RGBA;
|
|
7995
|
+
rotation?: minecraftserverbindings.StructureRotation;
|
|
7844
7996
|
showHighlightOutline?: boolean;
|
|
7845
7997
|
showOutline?: boolean;
|
|
7846
|
-
volumeOffset?:
|
|
7998
|
+
volumeOffset?: minecraftserverbindings.Vector3;
|
|
7847
7999
|
}
|
|
7848
8000
|
|
|
7849
8001
|
export interface WidgetCreateOptions {
|
|
7850
8002
|
bindPositionToBlockCursor?: boolean;
|
|
7851
|
-
collisionOffset?:
|
|
8003
|
+
collisionOffset?: minecraftserverbindings.Vector3;
|
|
7852
8004
|
collisionRadius?: number;
|
|
8005
|
+
collisionType?: WidgetCollisionType;
|
|
7853
8006
|
lockToSurface?: boolean;
|
|
7854
8007
|
selectable?: boolean;
|
|
7855
8008
|
snapToBlockLocation?: boolean;
|
|
7856
8009
|
stateChangeEvent?: (arg0: WidgetStateChangeEventData) => void;
|
|
7857
8010
|
visible?: boolean;
|
|
7858
8011
|
widgetName?: string;
|
|
7859
|
-
worldBoundsMax?:
|
|
7860
|
-
worldBoundsMin?:
|
|
8012
|
+
worldBoundsMax?: minecraftserverbindings.Vector3;
|
|
8013
|
+
worldBoundsMin?: minecraftserverbindings.Vector3;
|
|
7861
8014
|
}
|
|
7862
8015
|
|
|
7863
8016
|
export interface WidgetGroupCreateOptions {
|