@minecraft/server 1.13.0-beta.1.21.10-preview.21 → 1.13.0-beta.1.21.10-preview.23
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 +247 -170
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ export enum CompoundBlockVolumePositionRelativity {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
* @
|
|
156
|
+
* @rc
|
|
157
157
|
*/
|
|
158
158
|
export enum CustomComponentNameErrorReason {
|
|
159
159
|
NoNamespace = 1,
|
|
@@ -396,7 +396,7 @@ export enum EasingType {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
|
-
* @
|
|
399
|
+
* @rc
|
|
400
400
|
*/
|
|
401
401
|
export enum EnchantmentSlot {
|
|
402
402
|
ArmorFeet = 'ArmorFeet',
|
|
@@ -422,11 +422,11 @@ export enum EnchantmentSlot {
|
|
|
422
422
|
|
|
423
423
|
export enum EntityComponentTypes {
|
|
424
424
|
/**
|
|
425
|
-
* @
|
|
425
|
+
* @rc
|
|
426
426
|
*/
|
|
427
427
|
AddRider = 'minecraft:addrider',
|
|
428
428
|
/**
|
|
429
|
-
* @
|
|
429
|
+
* @rc
|
|
430
430
|
*/
|
|
431
431
|
Ageable = 'minecraft:ageable',
|
|
432
432
|
/**
|
|
@@ -438,7 +438,7 @@ export enum EntityComponentTypes {
|
|
|
438
438
|
CanPowerJump = 'minecraft:can_power_jump',
|
|
439
439
|
Color = 'minecraft:color',
|
|
440
440
|
/**
|
|
441
|
-
* @
|
|
441
|
+
* @rc
|
|
442
442
|
*/
|
|
443
443
|
Color2 = 'minecraft:color2',
|
|
444
444
|
/**
|
|
@@ -469,7 +469,7 @@ export enum EntityComponentTypes {
|
|
|
469
469
|
IsTamed = 'minecraft:is_tamed',
|
|
470
470
|
Item = 'minecraft:item',
|
|
471
471
|
/**
|
|
472
|
-
* @
|
|
472
|
+
* @rc
|
|
473
473
|
*/
|
|
474
474
|
LavaMovement = 'minecraft:lava_movement',
|
|
475
475
|
/**
|
|
@@ -478,7 +478,7 @@ export enum EntityComponentTypes {
|
|
|
478
478
|
Leashable = 'minecraft:leashable',
|
|
479
479
|
MarkVariant = 'minecraft:mark_variant',
|
|
480
480
|
/**
|
|
481
|
-
* @
|
|
481
|
+
* @rc
|
|
482
482
|
*/
|
|
483
483
|
Movement = 'minecraft:movement',
|
|
484
484
|
MovementAmphibious = 'minecraft:movement.amphibious',
|
|
@@ -486,38 +486,38 @@ export enum EntityComponentTypes {
|
|
|
486
486
|
MovementFly = 'minecraft:movement.fly',
|
|
487
487
|
MovementGeneric = 'minecraft:movement.generic',
|
|
488
488
|
/**
|
|
489
|
-
* @
|
|
489
|
+
* @rc
|
|
490
490
|
*/
|
|
491
491
|
MovementGlide = 'minecraft:movement.glide',
|
|
492
492
|
MovementHover = 'minecraft:movement.hover',
|
|
493
493
|
MovementJump = 'minecraft:movement.jump',
|
|
494
494
|
MovementSkip = 'minecraft:movement.skip',
|
|
495
495
|
/**
|
|
496
|
-
* @
|
|
496
|
+
* @rc
|
|
497
497
|
*/
|
|
498
498
|
MovementSway = 'minecraft:movement.sway',
|
|
499
499
|
/**
|
|
500
|
-
* @
|
|
500
|
+
* @rc
|
|
501
501
|
*/
|
|
502
502
|
NavigationClimb = 'minecraft:navigation.climb',
|
|
503
503
|
/**
|
|
504
|
-
* @
|
|
504
|
+
* @rc
|
|
505
505
|
*/
|
|
506
506
|
NavigationFloat = 'minecraft:navigation.float',
|
|
507
507
|
/**
|
|
508
|
-
* @
|
|
508
|
+
* @rc
|
|
509
509
|
*/
|
|
510
510
|
NavigationFly = 'minecraft:navigation.fly',
|
|
511
511
|
/**
|
|
512
|
-
* @
|
|
512
|
+
* @rc
|
|
513
513
|
*/
|
|
514
514
|
NavigationGeneric = 'minecraft:navigation.generic',
|
|
515
515
|
/**
|
|
516
|
-
* @
|
|
516
|
+
* @rc
|
|
517
517
|
*/
|
|
518
518
|
NavigationHover = 'minecraft:navigation.hover',
|
|
519
519
|
/**
|
|
520
|
-
* @
|
|
520
|
+
* @rc
|
|
521
521
|
*/
|
|
522
522
|
NavigationWalk = 'minecraft:navigation.walk',
|
|
523
523
|
/**
|
|
@@ -528,11 +528,11 @@ export enum EntityComponentTypes {
|
|
|
528
528
|
Projectile = 'minecraft:projectile',
|
|
529
529
|
PushThrough = 'minecraft:push_through',
|
|
530
530
|
/**
|
|
531
|
-
* @
|
|
531
|
+
* @rc
|
|
532
532
|
*/
|
|
533
533
|
Rideable = 'minecraft:rideable',
|
|
534
534
|
/**
|
|
535
|
-
* @
|
|
535
|
+
* @rc
|
|
536
536
|
*/
|
|
537
537
|
Riding = 'minecraft:riding',
|
|
538
538
|
Scale = 'minecraft:scale',
|
|
@@ -542,16 +542,16 @@ export enum EntityComponentTypes {
|
|
|
542
542
|
*/
|
|
543
543
|
Strength = 'minecraft:strength',
|
|
544
544
|
/**
|
|
545
|
-
* @
|
|
545
|
+
* @rc
|
|
546
546
|
*/
|
|
547
547
|
Tameable = 'minecraft:tameable',
|
|
548
548
|
/**
|
|
549
|
-
* @
|
|
549
|
+
* @rc
|
|
550
550
|
*/
|
|
551
551
|
TameMount = 'minecraft:tamemount',
|
|
552
552
|
TypeFamily = 'minecraft:type_family',
|
|
553
553
|
/**
|
|
554
|
-
* @
|
|
554
|
+
* @rc
|
|
555
555
|
*/
|
|
556
556
|
UnderwaterMovement = 'minecraft:underwater_movement',
|
|
557
557
|
Variant = 'minecraft:variant',
|
|
@@ -941,7 +941,7 @@ export enum GameMode {
|
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
/**
|
|
944
|
-
* @
|
|
944
|
+
* @rc
|
|
945
945
|
*/
|
|
946
946
|
export enum GameRule {
|
|
947
947
|
/**
|
|
@@ -1146,7 +1146,7 @@ export enum GameRule {
|
|
|
1146
1146
|
*/
|
|
1147
1147
|
ShowCoordinates = 'showCoordinates',
|
|
1148
1148
|
/**
|
|
1149
|
-
* @
|
|
1149
|
+
* @rc
|
|
1150
1150
|
*/
|
|
1151
1151
|
ShowDaysPlayed = 'showDaysPlayed',
|
|
1152
1152
|
/**
|
|
@@ -1188,7 +1188,7 @@ export enum GameRule {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
|
|
1190
1190
|
/**
|
|
1191
|
-
* @
|
|
1191
|
+
* @rc
|
|
1192
1192
|
*/
|
|
1193
1193
|
export enum HudElement {
|
|
1194
1194
|
PaperDoll = 0,
|
|
@@ -1207,7 +1207,7 @@ export enum HudElement {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
1209
|
/**
|
|
1210
|
-
* @
|
|
1210
|
+
* @rc
|
|
1211
1211
|
*/
|
|
1212
1212
|
export enum HudVisibility {
|
|
1213
1213
|
Hide = 0,
|
|
@@ -1215,7 +1215,7 @@ export enum HudVisibility {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
1217
|
/**
|
|
1218
|
-
* @
|
|
1218
|
+
* @rc
|
|
1219
1219
|
*/
|
|
1220
1220
|
export enum InputPermissionCategory {
|
|
1221
1221
|
/**
|
|
@@ -1250,7 +1250,7 @@ export enum ItemComponentTypes {
|
|
|
1250
1250
|
*/
|
|
1251
1251
|
Durability = 'minecraft:durability',
|
|
1252
1252
|
/**
|
|
1253
|
-
* @
|
|
1253
|
+
* @rc
|
|
1254
1254
|
* @remarks
|
|
1255
1255
|
* The minecraft:enchantable component.
|
|
1256
1256
|
*
|
|
@@ -1378,7 +1378,7 @@ export enum ObjectiveSortOrder {
|
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
1380
|
/**
|
|
1381
|
-
* @
|
|
1381
|
+
* @rc
|
|
1382
1382
|
*/
|
|
1383
1383
|
export enum PaletteColor {
|
|
1384
1384
|
White = 0,
|
|
@@ -1901,7 +1901,7 @@ export class Block {
|
|
|
1901
1901
|
*/
|
|
1902
1902
|
readonly permutation: BlockPermutation;
|
|
1903
1903
|
/**
|
|
1904
|
-
* @
|
|
1904
|
+
* @rc
|
|
1905
1905
|
* @remarks
|
|
1906
1906
|
* Gets the type of block.
|
|
1907
1907
|
*
|
|
@@ -1913,7 +1913,7 @@ export class Block {
|
|
|
1913
1913
|
*/
|
|
1914
1914
|
readonly 'type': BlockType;
|
|
1915
1915
|
/**
|
|
1916
|
-
* @
|
|
1916
|
+
* @rc
|
|
1917
1917
|
* @remarks
|
|
1918
1918
|
* Identifier of the type of block for this block.
|
|
1919
1919
|
*
|
|
@@ -2064,6 +2064,15 @@ export class Block {
|
|
|
2064
2064
|
* {@link LocationOutOfWorldBoundariesError}
|
|
2065
2065
|
*/
|
|
2066
2066
|
getItemStack(amount?: number, withData?: boolean): ItemStack | undefined;
|
|
2067
|
+
/**
|
|
2068
|
+
* @beta
|
|
2069
|
+
* @throws This function can throw errors.
|
|
2070
|
+
*
|
|
2071
|
+
* {@link LocationInUnloadedChunkError}
|
|
2072
|
+
*
|
|
2073
|
+
* {@link LocationOutOfWorldBoundariesError}
|
|
2074
|
+
*/
|
|
2075
|
+
getMapColor(): RGBA;
|
|
2067
2076
|
/**
|
|
2068
2077
|
* @beta
|
|
2069
2078
|
* @remarks
|
|
@@ -2131,7 +2140,7 @@ export class Block {
|
|
|
2131
2140
|
*/
|
|
2132
2141
|
isValid(): boolean;
|
|
2133
2142
|
/**
|
|
2134
|
-
* @
|
|
2143
|
+
* @rc
|
|
2135
2144
|
* @remarks
|
|
2136
2145
|
* Tests whether this block matches a specific criteria.
|
|
2137
2146
|
*
|
|
@@ -2198,7 +2207,7 @@ export class Block {
|
|
|
2198
2207
|
*/
|
|
2199
2208
|
setPermutation(permutation: BlockPermutation): void;
|
|
2200
2209
|
/**
|
|
2201
|
-
* @
|
|
2210
|
+
* @rc
|
|
2202
2211
|
* @remarks
|
|
2203
2212
|
* Sets the type of block.
|
|
2204
2213
|
*
|
|
@@ -2301,7 +2310,7 @@ export class BlockComponent extends Component {
|
|
|
2301
2310
|
}
|
|
2302
2311
|
|
|
2303
2312
|
/**
|
|
2304
|
-
* @
|
|
2313
|
+
* @rc
|
|
2305
2314
|
* Contains information regarding an entity falling onto a
|
|
2306
2315
|
* specific block.
|
|
2307
2316
|
*/
|
|
@@ -2323,7 +2332,7 @@ export class BlockComponentEntityFallOnEvent extends BlockEvent {
|
|
|
2323
2332
|
}
|
|
2324
2333
|
|
|
2325
2334
|
/**
|
|
2326
|
-
* @
|
|
2335
|
+
* @rc
|
|
2327
2336
|
* Contains information regarding a specific block that was
|
|
2328
2337
|
* placed.
|
|
2329
2338
|
*/
|
|
@@ -2339,7 +2348,7 @@ export class BlockComponentOnPlaceEvent extends BlockEvent {
|
|
|
2339
2348
|
}
|
|
2340
2349
|
|
|
2341
2350
|
/**
|
|
2342
|
-
* @
|
|
2351
|
+
* @rc
|
|
2343
2352
|
* Contains information regarding a specific block being
|
|
2344
2353
|
* destroyed.
|
|
2345
2354
|
*/
|
|
@@ -2362,7 +2371,7 @@ export class BlockComponentPlayerDestroyEvent extends BlockEvent {
|
|
|
2362
2371
|
}
|
|
2363
2372
|
|
|
2364
2373
|
/**
|
|
2365
|
-
* @
|
|
2374
|
+
* @rc
|
|
2366
2375
|
* Contains information regarding a specific block being
|
|
2367
2376
|
* interacted with.
|
|
2368
2377
|
*/
|
|
@@ -2391,7 +2400,7 @@ export class BlockComponentPlayerInteractEvent extends BlockEvent {
|
|
|
2391
2400
|
}
|
|
2392
2401
|
|
|
2393
2402
|
/**
|
|
2394
|
-
* @
|
|
2403
|
+
* @rc
|
|
2395
2404
|
* Contains information regarding an event before a player
|
|
2396
2405
|
* places a block.
|
|
2397
2406
|
*/
|
|
@@ -2427,7 +2436,7 @@ export class BlockComponentPlayerPlaceBeforeEvent extends BlockEvent {
|
|
|
2427
2436
|
}
|
|
2428
2437
|
|
|
2429
2438
|
/**
|
|
2430
|
-
* @
|
|
2439
|
+
* @rc
|
|
2431
2440
|
* Contains information regarding a specific block randomly
|
|
2432
2441
|
* ticking.
|
|
2433
2442
|
*/
|
|
@@ -2437,26 +2446,32 @@ export class BlockComponentRandomTickEvent extends BlockEvent {
|
|
|
2437
2446
|
}
|
|
2438
2447
|
|
|
2439
2448
|
/**
|
|
2440
|
-
* @
|
|
2449
|
+
* @rc
|
|
2441
2450
|
*/
|
|
2442
2451
|
export class BlockComponentRegistry {
|
|
2443
2452
|
private constructor();
|
|
2444
2453
|
/**
|
|
2445
2454
|
* @throws This function can throw errors.
|
|
2446
2455
|
*
|
|
2456
|
+
* {@link BlockCustomComponentAlreadyRegisteredError}
|
|
2457
|
+
*
|
|
2458
|
+
* {@link BlockCustomComponentReloadNewComponentError}
|
|
2459
|
+
*
|
|
2460
|
+
* {@link BlockCustomComponentReloadNewEventError}
|
|
2461
|
+
*
|
|
2462
|
+
* {@link BlockCustomComponentReloadVersionError}
|
|
2463
|
+
*
|
|
2447
2464
|
* {@link CustomComponentInvalidRegistryError}
|
|
2448
2465
|
*
|
|
2449
2466
|
* {@link CustomComponentNameError}
|
|
2450
2467
|
*
|
|
2451
2468
|
* {@link minecraftcommon.EngineError}
|
|
2452
|
-
*
|
|
2453
|
-
* {@link Error}
|
|
2454
2469
|
*/
|
|
2455
2470
|
registerCustomComponent(name: string, customComponent: BlockCustomComponent): void;
|
|
2456
2471
|
}
|
|
2457
2472
|
|
|
2458
2473
|
/**
|
|
2459
|
-
* @
|
|
2474
|
+
* @rc
|
|
2460
2475
|
* Contains information regarding an entity stepping off a
|
|
2461
2476
|
* specific block.
|
|
2462
2477
|
*/
|
|
@@ -2472,7 +2487,7 @@ export class BlockComponentStepOffEvent extends BlockEvent {
|
|
|
2472
2487
|
}
|
|
2473
2488
|
|
|
2474
2489
|
/**
|
|
2475
|
-
* @
|
|
2490
|
+
* @rc
|
|
2476
2491
|
* Contains information regarding an entity stepping onto a
|
|
2477
2492
|
* specific block.
|
|
2478
2493
|
*/
|
|
@@ -2488,7 +2503,7 @@ export class BlockComponentStepOnEvent extends BlockEvent {
|
|
|
2488
2503
|
}
|
|
2489
2504
|
|
|
2490
2505
|
/**
|
|
2491
|
-
* @
|
|
2506
|
+
* @rc
|
|
2492
2507
|
* Contains information regarding a specific block ticking.
|
|
2493
2508
|
*/
|
|
2494
2509
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -2518,7 +2533,7 @@ export class BlockEvent {
|
|
|
2518
2533
|
}
|
|
2519
2534
|
|
|
2520
2535
|
/**
|
|
2521
|
-
* @
|
|
2536
|
+
* @rc
|
|
2522
2537
|
* Contains information regarding an explosion that has
|
|
2523
2538
|
* occurred for a specific block.
|
|
2524
2539
|
*/
|
|
@@ -2540,7 +2555,7 @@ export class BlockExplodeAfterEvent extends BlockEvent {
|
|
|
2540
2555
|
}
|
|
2541
2556
|
|
|
2542
2557
|
/**
|
|
2543
|
-
* @
|
|
2558
|
+
* @rc
|
|
2544
2559
|
* Manages callbacks that are connected to when an explosion
|
|
2545
2560
|
* occurs, as it impacts individual blocks.
|
|
2546
2561
|
*/
|
|
@@ -2711,7 +2726,7 @@ export class BlockLocationIterator implements Iterable<Vector3> {
|
|
|
2711
2726
|
export class BlockPermutation {
|
|
2712
2727
|
private constructor();
|
|
2713
2728
|
/**
|
|
2714
|
-
* @
|
|
2729
|
+
* @rc
|
|
2715
2730
|
* @remarks
|
|
2716
2731
|
* The {@link BlockType} that the permutation has.
|
|
2717
2732
|
*
|
|
@@ -2750,14 +2765,14 @@ export class BlockPermutation {
|
|
|
2750
2765
|
*/
|
|
2751
2766
|
getState(stateName: string): boolean | number | string | undefined;
|
|
2752
2767
|
/**
|
|
2753
|
-
* @
|
|
2768
|
+
* @rc
|
|
2754
2769
|
* @remarks
|
|
2755
2770
|
* Creates a copy of the permutation.
|
|
2756
2771
|
*
|
|
2757
2772
|
*/
|
|
2758
2773
|
getTags(): string[];
|
|
2759
2774
|
/**
|
|
2760
|
-
* @
|
|
2775
|
+
* @rc
|
|
2761
2776
|
* @remarks
|
|
2762
2777
|
* Checks to see if the permutation has a specific tag.
|
|
2763
2778
|
*
|
|
@@ -3266,7 +3281,7 @@ export class BlockType {
|
|
|
3266
3281
|
*/
|
|
3267
3282
|
readonly canBeWaterlogged: boolean;
|
|
3268
3283
|
/**
|
|
3269
|
-
* @
|
|
3284
|
+
* @rc
|
|
3270
3285
|
* @remarks
|
|
3271
3286
|
* Block type name - for example, `minecraft:acacia_stairs`.
|
|
3272
3287
|
*
|
|
@@ -3275,7 +3290,7 @@ export class BlockType {
|
|
|
3275
3290
|
}
|
|
3276
3291
|
|
|
3277
3292
|
/**
|
|
3278
|
-
* @
|
|
3293
|
+
* @rc
|
|
3279
3294
|
* Contains a catalog of Minecraft Block Types that are
|
|
3280
3295
|
* available in this world.
|
|
3281
3296
|
*/
|
|
@@ -3396,7 +3411,7 @@ export class BlockVolume extends BlockVolumeBase {
|
|
|
3396
3411
|
}
|
|
3397
3412
|
|
|
3398
3413
|
/**
|
|
3399
|
-
* @
|
|
3414
|
+
* @rc
|
|
3400
3415
|
* Base type for BlockVolumes.
|
|
3401
3416
|
*/
|
|
3402
3417
|
export class BlockVolumeBase {
|
|
@@ -5133,7 +5148,7 @@ export class Dimension {
|
|
|
5133
5148
|
*/
|
|
5134
5149
|
getWeather(): WeatherType;
|
|
5135
5150
|
/**
|
|
5136
|
-
* @
|
|
5151
|
+
* @rc
|
|
5137
5152
|
* @remarks
|
|
5138
5153
|
* This function can't be called in read-only mode.
|
|
5139
5154
|
*
|
|
@@ -5185,7 +5200,7 @@ export class Dimension {
|
|
|
5185
5200
|
*/
|
|
5186
5201
|
runCommandAsync(commandString: string): Promise<CommandResult>;
|
|
5187
5202
|
/**
|
|
5188
|
-
* @
|
|
5203
|
+
* @rc
|
|
5189
5204
|
* @remarks
|
|
5190
5205
|
* This function can't be called in read-only mode.
|
|
5191
5206
|
*
|
|
@@ -5197,7 +5212,7 @@ export class Dimension {
|
|
|
5197
5212
|
*/
|
|
5198
5213
|
setBlockPermutation(location: Vector3, permutation: BlockPermutation): void;
|
|
5199
5214
|
/**
|
|
5200
|
-
* @
|
|
5215
|
+
* @rc
|
|
5201
5216
|
* @remarks
|
|
5202
5217
|
* This function can't be called in read-only mode.
|
|
5203
5218
|
*
|
|
@@ -5591,7 +5606,7 @@ export class EffectTypes {
|
|
|
5591
5606
|
}
|
|
5592
5607
|
|
|
5593
5608
|
/**
|
|
5594
|
-
* @
|
|
5609
|
+
* @rc
|
|
5595
5610
|
* Contains information on a type of enchantment.
|
|
5596
5611
|
*/
|
|
5597
5612
|
export class EnchantmentType {
|
|
@@ -5614,7 +5629,7 @@ export class EnchantmentType {
|
|
|
5614
5629
|
}
|
|
5615
5630
|
|
|
5616
5631
|
/**
|
|
5617
|
-
* @
|
|
5632
|
+
* @rc
|
|
5618
5633
|
* Contains a catalog of Minecraft Enchantment Types that are
|
|
5619
5634
|
* available in this world.
|
|
5620
5635
|
*/
|
|
@@ -5633,7 +5648,7 @@ export class EnchantmentTypes {
|
|
|
5633
5648
|
*/
|
|
5634
5649
|
static get(enchantmentId: string): EnchantmentType | undefined;
|
|
5635
5650
|
/**
|
|
5636
|
-
* @
|
|
5651
|
+
* @rc
|
|
5637
5652
|
* @remarks
|
|
5638
5653
|
* Returns a collection of all available enchantment types.
|
|
5639
5654
|
*
|
|
@@ -6584,7 +6599,7 @@ export class Entity {
|
|
|
6584
6599
|
}
|
|
6585
6600
|
|
|
6586
6601
|
/**
|
|
6587
|
-
* @
|
|
6602
|
+
* @rc
|
|
6588
6603
|
* When added, this component makes the entity spawn with a
|
|
6589
6604
|
* rider of the specified entityType.
|
|
6590
6605
|
*/
|
|
@@ -6611,7 +6626,7 @@ export class EntityAddRiderComponent extends EntityComponent {
|
|
|
6611
6626
|
}
|
|
6612
6627
|
|
|
6613
6628
|
/**
|
|
6614
|
-
* @
|
|
6629
|
+
* @rc
|
|
6615
6630
|
* Adds a timer for the entity to grow up. It can be
|
|
6616
6631
|
* accelerated by giving the entity the items it likes as
|
|
6617
6632
|
* defined by feedItems.
|
|
@@ -6763,12 +6778,6 @@ export class EntityBaseMovementComponent extends EntityComponent {
|
|
|
6763
6778
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
6764
6779
|
export class EntityBreathableComponent extends EntityComponent {
|
|
6765
6780
|
private constructor();
|
|
6766
|
-
/**
|
|
6767
|
-
* @remarks
|
|
6768
|
-
* This property can't be edited in read-only mode.
|
|
6769
|
-
*
|
|
6770
|
-
*/
|
|
6771
|
-
airSupply: number;
|
|
6772
6781
|
/**
|
|
6773
6782
|
* @remarks
|
|
6774
6783
|
* If true, this entity can breathe in air.
|
|
@@ -6797,10 +6806,6 @@ export class EntityBreathableComponent extends EntityComponent {
|
|
|
6797
6806
|
* @throws This property can throw when used.
|
|
6798
6807
|
*/
|
|
6799
6808
|
readonly breathesWater: boolean;
|
|
6800
|
-
/**
|
|
6801
|
-
* @throws This property can throw when used.
|
|
6802
|
-
*/
|
|
6803
|
-
readonly canBreathe: boolean;
|
|
6804
6809
|
/**
|
|
6805
6810
|
* @remarks
|
|
6806
6811
|
* If true, this entity will have visible bubbles while in
|
|
@@ -6846,6 +6851,15 @@ export class EntityBreathableComponent extends EntityComponent {
|
|
|
6846
6851
|
* @throws This function can throw errors.
|
|
6847
6852
|
*/
|
|
6848
6853
|
getNonBreatheBlocks(): BlockPermutation[];
|
|
6854
|
+
/**
|
|
6855
|
+
* @remarks
|
|
6856
|
+
* Sets the current air supply of the entity.
|
|
6857
|
+
*
|
|
6858
|
+
* @param value
|
|
6859
|
+
* New air supply for the entity.
|
|
6860
|
+
* @throws This function can throw errors.
|
|
6861
|
+
*/
|
|
6862
|
+
setAirSupply(value: number): void;
|
|
6849
6863
|
}
|
|
6850
6864
|
|
|
6851
6865
|
/**
|
|
@@ -6880,7 +6894,7 @@ export class EntityCanPowerJumpComponent extends EntityComponent {
|
|
|
6880
6894
|
}
|
|
6881
6895
|
|
|
6882
6896
|
/**
|
|
6883
|
-
* @
|
|
6897
|
+
* @rc
|
|
6884
6898
|
*/
|
|
6885
6899
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
6886
6900
|
export class EntityColor2Component extends EntityComponent {
|
|
@@ -6918,7 +6932,7 @@ export class EntityColorComponent extends EntityComponent {
|
|
|
6918
6932
|
export class EntityComponent extends Component {
|
|
6919
6933
|
private constructor();
|
|
6920
6934
|
/**
|
|
6921
|
-
* @
|
|
6935
|
+
* @rc
|
|
6922
6936
|
* @remarks
|
|
6923
6937
|
* The entity that owns this component. The entity will be
|
|
6924
6938
|
* undefined if it has been removed.
|
|
@@ -6928,7 +6942,7 @@ export class EntityComponent extends Component {
|
|
|
6928
6942
|
}
|
|
6929
6943
|
|
|
6930
6944
|
/**
|
|
6931
|
-
* @
|
|
6945
|
+
* @rc
|
|
6932
6946
|
* As part of the Ageable component, represents a set of items
|
|
6933
6947
|
* that can be fed to an entity and the rate at which that
|
|
6934
6948
|
* causes them to grow.
|
|
@@ -7301,7 +7315,7 @@ export class EntityHitBlockAfterEvent {
|
|
|
7301
7315
|
*/
|
|
7302
7316
|
readonly hitBlock: Block;
|
|
7303
7317
|
/**
|
|
7304
|
-
* @
|
|
7318
|
+
* @rc
|
|
7305
7319
|
* @remarks
|
|
7306
7320
|
* Block permutation that was hit by the attack.
|
|
7307
7321
|
*
|
|
@@ -7702,7 +7716,7 @@ export class EntityIterator implements Iterable<Entity> {
|
|
|
7702
7716
|
}
|
|
7703
7717
|
|
|
7704
7718
|
/**
|
|
7705
|
-
* @
|
|
7719
|
+
* @rc
|
|
7706
7720
|
* Defines the base movement speed in lava of this entity.
|
|
7707
7721
|
*/
|
|
7708
7722
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -7857,7 +7871,7 @@ export class EntityMovementBasicComponent extends EntityBaseMovementComponent {
|
|
|
7857
7871
|
}
|
|
7858
7872
|
|
|
7859
7873
|
/**
|
|
7860
|
-
* @
|
|
7874
|
+
* @rc
|
|
7861
7875
|
* Defines the general movement speed of this entity.
|
|
7862
7876
|
*/
|
|
7863
7877
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -7886,7 +7900,7 @@ export class EntityMovementGenericComponent extends EntityBaseMovementComponent
|
|
|
7886
7900
|
}
|
|
7887
7901
|
|
|
7888
7902
|
/**
|
|
7889
|
-
* @
|
|
7903
|
+
* @rc
|
|
7890
7904
|
* When added, this movement control allows the mob to glide.
|
|
7891
7905
|
*/
|
|
7892
7906
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -7939,7 +7953,7 @@ export class EntityMovementSkipComponent extends EntityBaseMovementComponent {
|
|
|
7939
7953
|
}
|
|
7940
7954
|
|
|
7941
7955
|
/**
|
|
7942
|
-
* @
|
|
7956
|
+
* @rc
|
|
7943
7957
|
* When added, this move control causes the mob to sway side to
|
|
7944
7958
|
* side giving the impression it is swimming.
|
|
7945
7959
|
*/
|
|
@@ -7964,7 +7978,7 @@ export class EntityMovementSwayComponent extends EntityBaseMovementComponent {
|
|
|
7964
7978
|
}
|
|
7965
7979
|
|
|
7966
7980
|
/**
|
|
7967
|
-
* @
|
|
7981
|
+
* @rc
|
|
7968
7982
|
* Allows this entity to generate paths that include vertical
|
|
7969
7983
|
* walls (for example, like Minecraft spiders do.)
|
|
7970
7984
|
*/
|
|
@@ -7975,7 +7989,7 @@ export class EntityNavigationClimbComponent extends EntityNavigationComponent {
|
|
|
7975
7989
|
}
|
|
7976
7990
|
|
|
7977
7991
|
/**
|
|
7978
|
-
* @
|
|
7992
|
+
* @rc
|
|
7979
7993
|
* Allows this entity to generate paths that include vertical
|
|
7980
7994
|
* walls (for example, like Minecraft spiders do.)
|
|
7981
7995
|
*/
|
|
@@ -8133,7 +8147,7 @@ export class EntityNavigationComponent extends EntityComponent {
|
|
|
8133
8147
|
}
|
|
8134
8148
|
|
|
8135
8149
|
/**
|
|
8136
|
-
* @
|
|
8150
|
+
* @rc
|
|
8137
8151
|
* Allows this entity to generate paths by flying around the
|
|
8138
8152
|
* air like the regular Ghast.
|
|
8139
8153
|
*/
|
|
@@ -8144,7 +8158,7 @@ export class EntityNavigationFloatComponent extends EntityNavigationComponent {
|
|
|
8144
8158
|
}
|
|
8145
8159
|
|
|
8146
8160
|
/**
|
|
8147
|
-
* @
|
|
8161
|
+
* @rc
|
|
8148
8162
|
* Allows this entity to generate paths in the air (for
|
|
8149
8163
|
* example, like Minecraft parrots do.)
|
|
8150
8164
|
*/
|
|
@@ -8155,7 +8169,7 @@ export class EntityNavigationFlyComponent extends EntityNavigationComponent {
|
|
|
8155
8169
|
}
|
|
8156
8170
|
|
|
8157
8171
|
/**
|
|
8158
|
-
* @
|
|
8172
|
+
* @rc
|
|
8159
8173
|
* Allows this entity to generate paths by walking, swimming,
|
|
8160
8174
|
* flying and/or climbing around and jumping up and down a
|
|
8161
8175
|
* block.
|
|
@@ -8167,7 +8181,7 @@ export class EntityNavigationGenericComponent extends EntityNavigationComponent
|
|
|
8167
8181
|
}
|
|
8168
8182
|
|
|
8169
8183
|
/**
|
|
8170
|
-
* @
|
|
8184
|
+
* @rc
|
|
8171
8185
|
* Allows this entity to generate paths in the air (for
|
|
8172
8186
|
* example, like the Minecraft Bees do.) Keeps them from
|
|
8173
8187
|
* falling out of the skies and doing predictive movement.
|
|
@@ -8179,7 +8193,7 @@ export class EntityNavigationHoverComponent extends EntityNavigationComponent {
|
|
|
8179
8193
|
}
|
|
8180
8194
|
|
|
8181
8195
|
/**
|
|
8182
|
-
* @
|
|
8196
|
+
* @rc
|
|
8183
8197
|
* Allows this entity to generate paths by walking around and
|
|
8184
8198
|
* jumping up and down a block like regular mobs.
|
|
8185
8199
|
*/
|
|
@@ -8553,7 +8567,7 @@ export class EntityRemoveBeforeEventSignal {
|
|
|
8553
8567
|
}
|
|
8554
8568
|
|
|
8555
8569
|
/**
|
|
8556
|
-
* @
|
|
8570
|
+
* @rc
|
|
8557
8571
|
* When added, this component adds the capability that an
|
|
8558
8572
|
* entity can be ridden by another entity.
|
|
8559
8573
|
*/
|
|
@@ -8676,7 +8690,7 @@ export class EntityRideableComponent extends EntityComponent {
|
|
|
8676
8690
|
}
|
|
8677
8691
|
|
|
8678
8692
|
/**
|
|
8679
|
-
* @
|
|
8693
|
+
* @rc
|
|
8680
8694
|
* This component is added to any entity when it is riding
|
|
8681
8695
|
* another entity.
|
|
8682
8696
|
*/
|
|
@@ -8832,7 +8846,7 @@ export class EntityStrengthComponent extends EntityComponent {
|
|
|
8832
8846
|
}
|
|
8833
8847
|
|
|
8834
8848
|
/**
|
|
8835
|
-
* @
|
|
8849
|
+
* @rc
|
|
8836
8850
|
* Defines the rules for an entity to be tamed by the player.
|
|
8837
8851
|
*/
|
|
8838
8852
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -8880,7 +8894,7 @@ export class EntityTameableComponent extends EntityComponent {
|
|
|
8880
8894
|
}
|
|
8881
8895
|
|
|
8882
8896
|
/**
|
|
8883
|
-
* @
|
|
8897
|
+
* @rc
|
|
8884
8898
|
* Contains options for taming a rideable entity based on the
|
|
8885
8899
|
* entity that mounts it.
|
|
8886
8900
|
*/
|
|
@@ -8888,22 +8902,22 @@ export class EntityTameableComponent extends EntityComponent {
|
|
|
8888
8902
|
export class EntityTameMountComponent extends EntityComponent {
|
|
8889
8903
|
private constructor();
|
|
8890
8904
|
/**
|
|
8891
|
-
* @
|
|
8905
|
+
* @rc
|
|
8892
8906
|
* @throws This property can throw when used.
|
|
8893
8907
|
*/
|
|
8894
8908
|
readonly isTamed: boolean;
|
|
8895
8909
|
/**
|
|
8896
|
-
* @
|
|
8910
|
+
* @rc
|
|
8897
8911
|
* @throws This property can throw when used.
|
|
8898
8912
|
*/
|
|
8899
8913
|
readonly isTamedToPlayer: boolean;
|
|
8900
8914
|
/**
|
|
8901
|
-
* @
|
|
8915
|
+
* @rc
|
|
8902
8916
|
* @throws This property can throw when used.
|
|
8903
8917
|
*/
|
|
8904
8918
|
readonly tamedToPlayer?: Player;
|
|
8905
8919
|
/**
|
|
8906
|
-
* @
|
|
8920
|
+
* @rc
|
|
8907
8921
|
* @throws This property can throw when used.
|
|
8908
8922
|
*/
|
|
8909
8923
|
readonly tamedToPlayerId?: string;
|
|
@@ -8920,7 +8934,7 @@ export class EntityTameMountComponent extends EntityComponent {
|
|
|
8920
8934
|
*/
|
|
8921
8935
|
tame(showParticles: boolean): void;
|
|
8922
8936
|
/**
|
|
8923
|
-
* @
|
|
8937
|
+
* @rc
|
|
8924
8938
|
* @remarks
|
|
8925
8939
|
* This function can't be called in read-only mode.
|
|
8926
8940
|
*
|
|
@@ -8998,7 +9012,7 @@ export class EntityTypes {
|
|
|
8998
9012
|
}
|
|
8999
9013
|
|
|
9000
9014
|
/**
|
|
9001
|
-
* @
|
|
9015
|
+
* @rc
|
|
9002
9016
|
* Defines the general movement speed underwater of this
|
|
9003
9017
|
* entity.
|
|
9004
9018
|
*/
|
|
@@ -9237,7 +9251,7 @@ export class FluidContainer {
|
|
|
9237
9251
|
}
|
|
9238
9252
|
|
|
9239
9253
|
/**
|
|
9240
|
-
* @
|
|
9254
|
+
* @rc
|
|
9241
9255
|
* Contains information regarding a changed world.gameRules
|
|
9242
9256
|
* property.
|
|
9243
9257
|
*/
|
|
@@ -9260,7 +9274,7 @@ export class GameRuleChangeAfterEvent {
|
|
|
9260
9274
|
}
|
|
9261
9275
|
|
|
9262
9276
|
/**
|
|
9263
|
-
* @
|
|
9277
|
+
* @rc
|
|
9264
9278
|
* Manages callbacks that are connected to when a
|
|
9265
9279
|
* world.gameRules property has changed.
|
|
9266
9280
|
*/
|
|
@@ -9287,7 +9301,7 @@ export class GameRuleChangeAfterEventSignal {
|
|
|
9287
9301
|
}
|
|
9288
9302
|
|
|
9289
9303
|
/**
|
|
9290
|
-
* @
|
|
9304
|
+
* @rc
|
|
9291
9305
|
* Represents the game rules for a world experience.
|
|
9292
9306
|
*/
|
|
9293
9307
|
export class GameRules {
|
|
@@ -9473,7 +9487,7 @@ export class GameRules {
|
|
|
9473
9487
|
*/
|
|
9474
9488
|
showCoordinates: boolean;
|
|
9475
9489
|
/**
|
|
9476
|
-
* @
|
|
9490
|
+
* @rc
|
|
9477
9491
|
* @remarks
|
|
9478
9492
|
* This property can't be edited in read-only mode.
|
|
9479
9493
|
*
|
|
@@ -9691,7 +9705,7 @@ export class ItemCompleteUseAfterEventSignal {
|
|
|
9691
9705
|
}
|
|
9692
9706
|
|
|
9693
9707
|
/**
|
|
9694
|
-
* @
|
|
9708
|
+
* @rc
|
|
9695
9709
|
*/
|
|
9696
9710
|
export class ItemCompleteUseEvent {
|
|
9697
9711
|
private constructor();
|
|
@@ -9708,7 +9722,7 @@ export class ItemComponent extends Component {
|
|
|
9708
9722
|
}
|
|
9709
9723
|
|
|
9710
9724
|
/**
|
|
9711
|
-
* @
|
|
9725
|
+
* @rc
|
|
9712
9726
|
* Contains information regarding an item before it is damaged
|
|
9713
9727
|
* from hitting an entity.
|
|
9714
9728
|
*/
|
|
@@ -9742,7 +9756,7 @@ export class ItemComponentBeforeDurabilityDamageEvent {
|
|
|
9742
9756
|
}
|
|
9743
9757
|
|
|
9744
9758
|
/**
|
|
9745
|
-
* @
|
|
9759
|
+
* @rc
|
|
9746
9760
|
*/
|
|
9747
9761
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
9748
9762
|
export class ItemComponentCompleteUseEvent extends ItemCompleteUseEvent {
|
|
@@ -9750,7 +9764,7 @@ export class ItemComponentCompleteUseEvent extends ItemCompleteUseEvent {
|
|
|
9750
9764
|
}
|
|
9751
9765
|
|
|
9752
9766
|
/**
|
|
9753
|
-
* @
|
|
9767
|
+
* @rc
|
|
9754
9768
|
*/
|
|
9755
9769
|
export class ItemComponentConsumeEvent {
|
|
9756
9770
|
private constructor();
|
|
@@ -9759,7 +9773,7 @@ export class ItemComponentConsumeEvent {
|
|
|
9759
9773
|
}
|
|
9760
9774
|
|
|
9761
9775
|
/**
|
|
9762
|
-
* @
|
|
9776
|
+
* @rc
|
|
9763
9777
|
* Contains information regarding when an item is used to hit
|
|
9764
9778
|
* an entity.
|
|
9765
9779
|
*/
|
|
@@ -9792,7 +9806,7 @@ export class ItemComponentHitEntityEvent {
|
|
|
9792
9806
|
}
|
|
9793
9807
|
|
|
9794
9808
|
/**
|
|
9795
|
-
* @
|
|
9809
|
+
* @rc
|
|
9796
9810
|
* Contains information regarding the mining of a block using
|
|
9797
9811
|
* an item.
|
|
9798
9812
|
*/
|
|
@@ -9825,7 +9839,7 @@ export class ItemComponentMineBlockEvent {
|
|
|
9825
9839
|
}
|
|
9826
9840
|
|
|
9827
9841
|
/**
|
|
9828
|
-
* @
|
|
9842
|
+
* @rc
|
|
9829
9843
|
* Provides the functionality for registering custom components
|
|
9830
9844
|
* for items.
|
|
9831
9845
|
*/
|
|
@@ -9864,7 +9878,7 @@ export class ItemComponentRegistry {
|
|
|
9864
9878
|
}
|
|
9865
9879
|
|
|
9866
9880
|
/**
|
|
9867
|
-
* @
|
|
9881
|
+
* @rc
|
|
9868
9882
|
* Contains information regarding the use of an item.
|
|
9869
9883
|
*/
|
|
9870
9884
|
export class ItemComponentUseEvent {
|
|
@@ -9884,7 +9898,7 @@ export class ItemComponentUseEvent {
|
|
|
9884
9898
|
}
|
|
9885
9899
|
|
|
9886
9900
|
/**
|
|
9887
|
-
* @
|
|
9901
|
+
* @rc
|
|
9888
9902
|
* Contains information regarding the use of an item on a block
|
|
9889
9903
|
* via a component.
|
|
9890
9904
|
*/
|
|
@@ -10016,7 +10030,7 @@ export class ItemDurabilityComponent extends ItemComponent {
|
|
|
10016
10030
|
}
|
|
10017
10031
|
|
|
10018
10032
|
/**
|
|
10019
|
-
* @
|
|
10033
|
+
* @rc
|
|
10020
10034
|
* When present on an item, this item can have enchantments
|
|
10021
10035
|
* applied to it.
|
|
10022
10036
|
* @example givePlayerIronFireSword.ts
|
|
@@ -10631,7 +10645,7 @@ export class ItemStack {
|
|
|
10631
10645
|
*/
|
|
10632
10646
|
isStackableWith(itemStack: ItemStack): boolean;
|
|
10633
10647
|
/**
|
|
10634
|
-
* @
|
|
10648
|
+
* @rc
|
|
10635
10649
|
* @remarks
|
|
10636
10650
|
* Version safe way of checking if an item matches.
|
|
10637
10651
|
*
|
|
@@ -11018,7 +11032,7 @@ export class ItemType {
|
|
|
11018
11032
|
}
|
|
11019
11033
|
|
|
11020
11034
|
/**
|
|
11021
|
-
* @
|
|
11035
|
+
* @rc
|
|
11022
11036
|
* Returns the set of item types registered within Minecraft.
|
|
11023
11037
|
*/
|
|
11024
11038
|
export class ItemTypes {
|
|
@@ -11227,7 +11241,7 @@ export class ItemUseOnBeforeEventSignal {
|
|
|
11227
11241
|
}
|
|
11228
11242
|
|
|
11229
11243
|
/**
|
|
11230
|
-
* @
|
|
11244
|
+
* @rc
|
|
11231
11245
|
* Contains information regarding the use of an item on a
|
|
11232
11246
|
* block.
|
|
11233
11247
|
*/
|
|
@@ -11314,7 +11328,7 @@ export class LeverActionAfterEventSignal extends ILeverActionAfterEventSignal {
|
|
|
11314
11328
|
}
|
|
11315
11329
|
|
|
11316
11330
|
/**
|
|
11317
|
-
* @
|
|
11331
|
+
* @rc
|
|
11318
11332
|
*/
|
|
11319
11333
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
11320
11334
|
export class ListBlockVolume extends BlockVolumeBase {
|
|
@@ -11547,7 +11561,7 @@ export class Player extends Entity {
|
|
|
11547
11561
|
*/
|
|
11548
11562
|
readonly camera: Camera;
|
|
11549
11563
|
/**
|
|
11550
|
-
* @
|
|
11564
|
+
* @rc
|
|
11551
11565
|
* @remarks
|
|
11552
11566
|
* Input permissions of the player.
|
|
11553
11567
|
*
|
|
@@ -11607,7 +11621,7 @@ export class Player extends Entity {
|
|
|
11607
11621
|
*/
|
|
11608
11622
|
readonly onScreenDisplay: ScreenDisplay;
|
|
11609
11623
|
/**
|
|
11610
|
-
* @
|
|
11624
|
+
* @rc
|
|
11611
11625
|
* @remarks
|
|
11612
11626
|
* This property can't be edited in read-only mode.
|
|
11613
11627
|
*
|
|
@@ -11672,12 +11686,12 @@ export class Player extends Entity {
|
|
|
11672
11686
|
*/
|
|
11673
11687
|
eatItem(itemStack: ItemStack): void;
|
|
11674
11688
|
/**
|
|
11675
|
-
* @
|
|
11689
|
+
* @rc
|
|
11676
11690
|
* @throws This function can throw errors.
|
|
11677
11691
|
*/
|
|
11678
11692
|
getGameMode(): GameMode;
|
|
11679
11693
|
/**
|
|
11680
|
-
* @
|
|
11694
|
+
* @rc
|
|
11681
11695
|
* @remarks
|
|
11682
11696
|
* Gets the current item cooldown time for a particular
|
|
11683
11697
|
* cooldown category.
|
|
@@ -11813,7 +11827,7 @@ export class Player extends Entity {
|
|
|
11813
11827
|
*/
|
|
11814
11828
|
sendMessage(message: (RawMessage | string)[] | RawMessage | string): void;
|
|
11815
11829
|
/**
|
|
11816
|
-
* @
|
|
11830
|
+
* @rc
|
|
11817
11831
|
* @remarks
|
|
11818
11832
|
* This function can't be called in read-only mode.
|
|
11819
11833
|
*
|
|
@@ -11894,7 +11908,7 @@ export class Player extends Entity {
|
|
|
11894
11908
|
*/
|
|
11895
11909
|
spawnParticle(effectName: string, location: Vector3, molangVariables?: MolangVariableMap): void;
|
|
11896
11910
|
/**
|
|
11897
|
-
* @
|
|
11911
|
+
* @rc
|
|
11898
11912
|
* @remarks
|
|
11899
11913
|
* Sets the item cooldown time for a particular cooldown
|
|
11900
11914
|
* category.
|
|
@@ -12131,6 +12145,34 @@ export class PlayerDimensionChangeAfterEventSignal {
|
|
|
12131
12145
|
/**
|
|
12132
12146
|
* @beta
|
|
12133
12147
|
*/
|
|
12148
|
+
export class PlayerEmoteAfterEvent {
|
|
12149
|
+
private constructor();
|
|
12150
|
+
readonly personaPieceId: string;
|
|
12151
|
+
readonly player: Player;
|
|
12152
|
+
}
|
|
12153
|
+
|
|
12154
|
+
/**
|
|
12155
|
+
* @beta
|
|
12156
|
+
*/
|
|
12157
|
+
export class PlayerEmoteAfterEventSignal {
|
|
12158
|
+
private constructor();
|
|
12159
|
+
/**
|
|
12160
|
+
* @remarks
|
|
12161
|
+
* This function can't be called in read-only mode.
|
|
12162
|
+
*
|
|
12163
|
+
*/
|
|
12164
|
+
subscribe(callback: (arg: PlayerEmoteAfterEvent) => void): (arg: PlayerEmoteAfterEvent) => void;
|
|
12165
|
+
/**
|
|
12166
|
+
* @remarks
|
|
12167
|
+
* This function can't be called in read-only mode.
|
|
12168
|
+
*
|
|
12169
|
+
*/
|
|
12170
|
+
unsubscribe(callback: (arg: PlayerEmoteAfterEvent) => void): void;
|
|
12171
|
+
}
|
|
12172
|
+
|
|
12173
|
+
/**
|
|
12174
|
+
* @rc
|
|
12175
|
+
*/
|
|
12134
12176
|
export class PlayerGameModeChangeAfterEvent {
|
|
12135
12177
|
private constructor();
|
|
12136
12178
|
readonly fromGameMode: GameMode;
|
|
@@ -12139,7 +12181,7 @@ export class PlayerGameModeChangeAfterEvent {
|
|
|
12139
12181
|
}
|
|
12140
12182
|
|
|
12141
12183
|
/**
|
|
12142
|
-
* @
|
|
12184
|
+
* @rc
|
|
12143
12185
|
*/
|
|
12144
12186
|
export class PlayerGameModeChangeAfterEventSignal {
|
|
12145
12187
|
private constructor();
|
|
@@ -12158,7 +12200,7 @@ export class PlayerGameModeChangeAfterEventSignal {
|
|
|
12158
12200
|
}
|
|
12159
12201
|
|
|
12160
12202
|
/**
|
|
12161
|
-
* @
|
|
12203
|
+
* @rc
|
|
12162
12204
|
*/
|
|
12163
12205
|
export class PlayerGameModeChangeBeforeEvent {
|
|
12164
12206
|
private constructor();
|
|
@@ -12169,7 +12211,7 @@ export class PlayerGameModeChangeBeforeEvent {
|
|
|
12169
12211
|
}
|
|
12170
12212
|
|
|
12171
12213
|
/**
|
|
12172
|
-
* @
|
|
12214
|
+
* @rc
|
|
12173
12215
|
*/
|
|
12174
12216
|
export class PlayerGameModeChangeBeforeEventSignal {
|
|
12175
12217
|
private constructor();
|
|
@@ -12188,7 +12230,7 @@ export class PlayerGameModeChangeBeforeEventSignal {
|
|
|
12188
12230
|
}
|
|
12189
12231
|
|
|
12190
12232
|
/**
|
|
12191
|
-
* @
|
|
12233
|
+
* @rc
|
|
12192
12234
|
* Contains information regarding an event after a players
|
|
12193
12235
|
* input permissions change.
|
|
12194
12236
|
*/
|
|
@@ -12215,7 +12257,7 @@ export class PlayerInputPermissionCategoryChangeAfterEvent {
|
|
|
12215
12257
|
}
|
|
12216
12258
|
|
|
12217
12259
|
/**
|
|
12218
|
-
* @
|
|
12260
|
+
* @rc
|
|
12219
12261
|
* Manages callbacks that are connected to after a players
|
|
12220
12262
|
* input permissions change.
|
|
12221
12263
|
*/
|
|
@@ -12244,7 +12286,7 @@ export class PlayerInputPermissionCategoryChangeAfterEventSignal {
|
|
|
12244
12286
|
}
|
|
12245
12287
|
|
|
12246
12288
|
/**
|
|
12247
|
-
* @
|
|
12289
|
+
* @rc
|
|
12248
12290
|
*/
|
|
12249
12291
|
export class PlayerInputPermissions {
|
|
12250
12292
|
private constructor();
|
|
@@ -13356,7 +13398,7 @@ export class ScoreboardScoreInfo {
|
|
|
13356
13398
|
export class ScreenDisplay {
|
|
13357
13399
|
private constructor();
|
|
13358
13400
|
/**
|
|
13359
|
-
* @
|
|
13401
|
+
* @rc
|
|
13360
13402
|
* @remarks
|
|
13361
13403
|
* This function can't be called in read-only mode.
|
|
13362
13404
|
*
|
|
@@ -13364,7 +13406,7 @@ export class ScreenDisplay {
|
|
|
13364
13406
|
*/
|
|
13365
13407
|
getHiddenHudElements(): HudElement[];
|
|
13366
13408
|
/**
|
|
13367
|
-
* @
|
|
13409
|
+
* @rc
|
|
13368
13410
|
* @remarks
|
|
13369
13411
|
* This function can't be called in read-only mode.
|
|
13370
13412
|
*
|
|
@@ -13372,7 +13414,7 @@ export class ScreenDisplay {
|
|
|
13372
13414
|
*/
|
|
13373
13415
|
hideAllExcept(hudElements?: HudElement[]): void;
|
|
13374
13416
|
/**
|
|
13375
|
-
* @
|
|
13417
|
+
* @rc
|
|
13376
13418
|
* @remarks
|
|
13377
13419
|
* This function can't be called in read-only mode.
|
|
13378
13420
|
*
|
|
@@ -13387,7 +13429,7 @@ export class ScreenDisplay {
|
|
|
13387
13429
|
*/
|
|
13388
13430
|
isValid(): boolean;
|
|
13389
13431
|
/**
|
|
13390
|
-
* @
|
|
13432
|
+
* @rc
|
|
13391
13433
|
* @remarks
|
|
13392
13434
|
* This function can't be called in read-only mode.
|
|
13393
13435
|
*
|
|
@@ -13407,7 +13449,7 @@ export class ScreenDisplay {
|
|
|
13407
13449
|
*/
|
|
13408
13450
|
setActionBar(text: (RawMessage | string)[] | RawMessage | string): void;
|
|
13409
13451
|
/**
|
|
13410
|
-
* @
|
|
13452
|
+
* @rc
|
|
13411
13453
|
* @remarks
|
|
13412
13454
|
* This function can't be called in read-only mode.
|
|
13413
13455
|
*
|
|
@@ -13554,13 +13596,12 @@ export class ScriptEventCommandMessageAfterEventSignal {
|
|
|
13554
13596
|
*
|
|
13555
13597
|
* This function can't be called in read-only mode.
|
|
13556
13598
|
*
|
|
13557
|
-
* @throws This function can throw errors.
|
|
13558
13599
|
*/
|
|
13559
13600
|
unsubscribe(callback: (arg: ScriptEventCommandMessageAfterEvent) => void): void;
|
|
13560
13601
|
}
|
|
13561
13602
|
|
|
13562
13603
|
/**
|
|
13563
|
-
* @
|
|
13604
|
+
* @rc
|
|
13564
13605
|
* Describes a particular seating position on this rideable
|
|
13565
13606
|
* entity.
|
|
13566
13607
|
*/
|
|
@@ -13704,7 +13745,7 @@ export class Structure {
|
|
|
13704
13745
|
*/
|
|
13705
13746
|
isValid(): boolean;
|
|
13706
13747
|
/**
|
|
13707
|
-
* @
|
|
13748
|
+
* @rc
|
|
13708
13749
|
* @remarks
|
|
13709
13750
|
* Creates a copy of a Structure and saves it with a new name.
|
|
13710
13751
|
*
|
|
@@ -13730,7 +13771,7 @@ export class Structure {
|
|
|
13730
13771
|
*/
|
|
13731
13772
|
saveAs(identifier: string, saveMode?: StructureSaveMode): Structure;
|
|
13732
13773
|
/**
|
|
13733
|
-
* @
|
|
13774
|
+
* @rc
|
|
13734
13775
|
* @remarks
|
|
13735
13776
|
* Saves a modified Structure to the world file.
|
|
13736
13777
|
*
|
|
@@ -13743,7 +13784,7 @@ export class Structure {
|
|
|
13743
13784
|
*/
|
|
13744
13785
|
saveToWorld(): void;
|
|
13745
13786
|
/**
|
|
13746
|
-
* @
|
|
13787
|
+
* @rc
|
|
13747
13788
|
* @remarks
|
|
13748
13789
|
* Sets a BlockPermutation within a Structure.
|
|
13749
13790
|
*
|
|
@@ -13804,7 +13845,7 @@ export class StructureManager {
|
|
|
13804
13845
|
*/
|
|
13805
13846
|
createEmpty(identifier: string, size: Vector3, saveMode?: StructureSaveMode): Structure;
|
|
13806
13847
|
/**
|
|
13807
|
-
* @
|
|
13848
|
+
* @rc
|
|
13808
13849
|
* @remarks
|
|
13809
13850
|
* Creates a new Structure from blocks in the world. This is
|
|
13810
13851
|
* functionally equivalent to the /structure save command.
|
|
@@ -13870,7 +13911,7 @@ export class StructureManager {
|
|
|
13870
13911
|
*/
|
|
13871
13912
|
get(identifier: string): Structure | undefined;
|
|
13872
13913
|
/**
|
|
13873
|
-
* @
|
|
13914
|
+
* @rc
|
|
13874
13915
|
* @remarks
|
|
13875
13916
|
* This function can't be called in read-only mode.
|
|
13876
13917
|
*
|
|
@@ -13939,7 +13980,7 @@ export class System {
|
|
|
13939
13980
|
*/
|
|
13940
13981
|
readonly currentTick: number;
|
|
13941
13982
|
/**
|
|
13942
|
-
* @
|
|
13983
|
+
* @rc
|
|
13943
13984
|
* @remarks
|
|
13944
13985
|
* Cancels the execution of a job queued via {@link
|
|
13945
13986
|
* System.runJob}.
|
|
@@ -14013,7 +14054,7 @@ export class System {
|
|
|
14013
14054
|
*/
|
|
14014
14055
|
runInterval(callback: () => void, tickInterval?: number): number;
|
|
14015
14056
|
/**
|
|
14016
|
-
* @
|
|
14057
|
+
* @rc
|
|
14017
14058
|
* @remarks
|
|
14018
14059
|
* Queues a generator to run until completion. The generator
|
|
14019
14060
|
* will be given a time slice each tick, and will be run until
|
|
@@ -14071,7 +14112,7 @@ export class System {
|
|
|
14071
14112
|
*/
|
|
14072
14113
|
runTimeout(callback: () => void, tickDelay?: number): number;
|
|
14073
14114
|
/**
|
|
14074
|
-
* @
|
|
14115
|
+
* @rc
|
|
14075
14116
|
* @throws This function can throw errors.
|
|
14076
14117
|
*
|
|
14077
14118
|
* {@link minecraftcommon.EngineError}
|
|
@@ -14177,7 +14218,7 @@ export class TargetBlockHitAfterEventSignal {
|
|
|
14177
14218
|
}
|
|
14178
14219
|
|
|
14179
14220
|
/**
|
|
14180
|
-
* @
|
|
14221
|
+
* @rc
|
|
14181
14222
|
* Represents a trigger for firing an event.
|
|
14182
14223
|
*/
|
|
14183
14224
|
export class Trigger {
|
|
@@ -14408,7 +14449,7 @@ export class WeatherChangeAfterEventSignal {
|
|
|
14408
14449
|
}
|
|
14409
14450
|
|
|
14410
14451
|
/**
|
|
14411
|
-
* @
|
|
14452
|
+
* @rc
|
|
14412
14453
|
* Contains information related to changes in weather in the
|
|
14413
14454
|
* environment.
|
|
14414
14455
|
*/
|
|
@@ -14442,7 +14483,7 @@ export class WeatherChangeBeforeEvent {
|
|
|
14442
14483
|
}
|
|
14443
14484
|
|
|
14444
14485
|
/**
|
|
14445
|
-
* @
|
|
14486
|
+
* @rc
|
|
14446
14487
|
* Manages callbacks that are connected to before weather
|
|
14447
14488
|
* changing.
|
|
14448
14489
|
*/
|
|
@@ -14489,7 +14530,7 @@ export class World {
|
|
|
14489
14530
|
*/
|
|
14490
14531
|
readonly beforeEvents: WorldBeforeEvents;
|
|
14491
14532
|
/**
|
|
14492
|
-
* @
|
|
14533
|
+
* @rc
|
|
14493
14534
|
* @remarks
|
|
14494
14535
|
* The game rules that apply to the world.
|
|
14495
14536
|
*
|
|
@@ -14996,7 +15037,7 @@ export class World {
|
|
|
14996
15037
|
export class WorldAfterEvents {
|
|
14997
15038
|
private constructor();
|
|
14998
15039
|
/**
|
|
14999
|
-
* @
|
|
15040
|
+
* @rc
|
|
15000
15041
|
* @remarks
|
|
15001
15042
|
* This event fires for each BlockLocation destroyed by an
|
|
15002
15043
|
* explosion. It is fired after the blocks have already been
|
|
@@ -15091,7 +15132,7 @@ export class WorldAfterEvents {
|
|
|
15091
15132
|
*/
|
|
15092
15133
|
readonly explosion: ExplosionAfterEventSignal;
|
|
15093
15134
|
/**
|
|
15094
|
-
* @
|
|
15135
|
+
* @rc
|
|
15095
15136
|
* @remarks
|
|
15096
15137
|
* This event fires when a world.gameRules property has
|
|
15097
15138
|
* changed.
|
|
@@ -15190,9 +15231,13 @@ export class WorldAfterEvents {
|
|
|
15190
15231
|
/**
|
|
15191
15232
|
* @beta
|
|
15192
15233
|
*/
|
|
15234
|
+
readonly playerEmote: PlayerEmoteAfterEventSignal;
|
|
15235
|
+
/**
|
|
15236
|
+
* @rc
|
|
15237
|
+
*/
|
|
15193
15238
|
readonly playerGameModeChange: PlayerGameModeChangeAfterEventSignal;
|
|
15194
15239
|
/**
|
|
15195
|
-
* @
|
|
15240
|
+
* @rc
|
|
15196
15241
|
* @remarks
|
|
15197
15242
|
* This event fires when a players input permissions change.
|
|
15198
15243
|
*
|
|
@@ -15352,7 +15397,7 @@ export class WorldBeforeEvents {
|
|
|
15352
15397
|
*/
|
|
15353
15398
|
readonly playerBreakBlock: PlayerBreakBlockBeforeEventSignal;
|
|
15354
15399
|
/**
|
|
15355
|
-
* @
|
|
15400
|
+
* @rc
|
|
15356
15401
|
*/
|
|
15357
15402
|
readonly playerGameModeChange: PlayerGameModeChangeBeforeEventSignal;
|
|
15358
15403
|
/**
|
|
@@ -15383,11 +15428,11 @@ export class WorldBeforeEvents {
|
|
|
15383
15428
|
*/
|
|
15384
15429
|
readonly playerPlaceBlock: PlayerPlaceBlockBeforeEventSignal;
|
|
15385
15430
|
/**
|
|
15386
|
-
* @
|
|
15431
|
+
* @rc
|
|
15387
15432
|
*/
|
|
15388
15433
|
readonly weatherChange: WeatherChangeBeforeEventSignal;
|
|
15389
15434
|
/**
|
|
15390
|
-
* @
|
|
15435
|
+
* @rc
|
|
15391
15436
|
* @remarks
|
|
15392
15437
|
* This event fires immediately when the script environment is
|
|
15393
15438
|
* initialized on a World. Not all script functionality may be
|
|
@@ -15434,7 +15479,7 @@ export class WorldInitializeAfterEventSignal {
|
|
|
15434
15479
|
}
|
|
15435
15480
|
|
|
15436
15481
|
/**
|
|
15437
|
-
* @
|
|
15482
|
+
* @rc
|
|
15438
15483
|
* Contains information and methods that can be used at the
|
|
15439
15484
|
* initialization of the scripting environment for a World.
|
|
15440
15485
|
* Also, use the supplied blockRegistry object to register
|
|
@@ -15443,7 +15488,7 @@ export class WorldInitializeAfterEventSignal {
|
|
|
15443
15488
|
*/
|
|
15444
15489
|
export class WorldInitializeBeforeEvent {
|
|
15445
15490
|
private constructor();
|
|
15446
|
-
readonly
|
|
15491
|
+
readonly blockComponentRegistry: BlockComponentRegistry;
|
|
15447
15492
|
/**
|
|
15448
15493
|
* @remarks
|
|
15449
15494
|
* Provides the functionality for registering custom components
|
|
@@ -15454,7 +15499,7 @@ export class WorldInitializeBeforeEvent {
|
|
|
15454
15499
|
}
|
|
15455
15500
|
|
|
15456
15501
|
/**
|
|
15457
|
-
* @
|
|
15502
|
+
* @rc
|
|
15458
15503
|
* Manages callbacks that are run at the initialization of the
|
|
15459
15504
|
* scripting environment for a World. Do note that this event
|
|
15460
15505
|
* may run multiple times within a session in the case that the
|
|
@@ -15497,7 +15542,7 @@ export interface BiomeSearchOptions {
|
|
|
15497
15542
|
}
|
|
15498
15543
|
|
|
15499
15544
|
/**
|
|
15500
|
-
* @
|
|
15545
|
+
* @rc
|
|
15501
15546
|
* Contains a set of events that will be raised for a block.
|
|
15502
15547
|
* This object must be bound using the BlockRegistry.
|
|
15503
15548
|
*/
|
|
@@ -15903,7 +15948,7 @@ export interface DimensionLocation {
|
|
|
15903
15948
|
}
|
|
15904
15949
|
|
|
15905
15950
|
/**
|
|
15906
|
-
* @
|
|
15951
|
+
* @rc
|
|
15907
15952
|
* This interface represents a specific leveled enchantment
|
|
15908
15953
|
* that is applied to an item.
|
|
15909
15954
|
*/
|
|
@@ -16524,7 +16569,7 @@ export interface EntityQueryOptions extends EntityFilter {
|
|
|
16524
16569
|
*/
|
|
16525
16570
|
minDistance?: number;
|
|
16526
16571
|
/**
|
|
16527
|
-
* @
|
|
16572
|
+
* @rc
|
|
16528
16573
|
* @remarks
|
|
16529
16574
|
* In conjunction with location, specified a cuboid volume of
|
|
16530
16575
|
* entities to include.
|
|
@@ -16609,7 +16654,7 @@ export interface EntityRaycastHit {
|
|
|
16609
16654
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
16610
16655
|
export interface EntityRaycastOptions extends EntityFilter {
|
|
16611
16656
|
/**
|
|
16612
|
-
* @
|
|
16657
|
+
* @rc
|
|
16613
16658
|
* @remarks
|
|
16614
16659
|
* If true, blocks will not be considered as blocks that 'stop'
|
|
16615
16660
|
* the raycast.
|
|
@@ -16617,7 +16662,7 @@ export interface EntityRaycastOptions extends EntityFilter {
|
|
|
16617
16662
|
*/
|
|
16618
16663
|
ignoreBlockCollision?: boolean;
|
|
16619
16664
|
/**
|
|
16620
|
-
* @
|
|
16665
|
+
* @rc
|
|
16621
16666
|
* @remarks
|
|
16622
16667
|
* If true, liquid blocks will be considered as blocks that
|
|
16623
16668
|
* 'stop' the raycast.
|
|
@@ -16625,7 +16670,7 @@ export interface EntityRaycastOptions extends EntityFilter {
|
|
|
16625
16670
|
*/
|
|
16626
16671
|
includeLiquidBlocks?: boolean;
|
|
16627
16672
|
/**
|
|
16628
|
-
* @
|
|
16673
|
+
* @rc
|
|
16629
16674
|
* @remarks
|
|
16630
16675
|
* If true, passable blocks like vines and flowers will be
|
|
16631
16676
|
* considered as blocks that 'stop' the raycast.
|
|
@@ -16729,7 +16774,7 @@ export interface GreaterThanOrEqualsComparison {
|
|
|
16729
16774
|
}
|
|
16730
16775
|
|
|
16731
16776
|
/**
|
|
16732
|
-
* @
|
|
16777
|
+
* @rc
|
|
16733
16778
|
* Contains a set of events that will be raised for an item.
|
|
16734
16779
|
* This object must be bound using the ItemComponentRegistry.
|
|
16735
16780
|
*/
|
|
@@ -17402,13 +17447,45 @@ export interface WorldSoundOptions {
|
|
|
17402
17447
|
volume?: number;
|
|
17403
17448
|
}
|
|
17404
17449
|
|
|
17450
|
+
/**
|
|
17451
|
+
* @rc
|
|
17452
|
+
*/
|
|
17453
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17454
|
+
export class BlockCustomComponentAlreadyRegisteredError extends Error {
|
|
17455
|
+
private constructor();
|
|
17456
|
+
}
|
|
17457
|
+
|
|
17458
|
+
/**
|
|
17459
|
+
* @rc
|
|
17460
|
+
*/
|
|
17461
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17462
|
+
export class BlockCustomComponentReloadNewComponentError extends Error {
|
|
17463
|
+
private constructor();
|
|
17464
|
+
}
|
|
17465
|
+
|
|
17466
|
+
/**
|
|
17467
|
+
* @rc
|
|
17468
|
+
*/
|
|
17469
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17470
|
+
export class BlockCustomComponentReloadNewEventError extends Error {
|
|
17471
|
+
private constructor();
|
|
17472
|
+
}
|
|
17473
|
+
|
|
17474
|
+
/**
|
|
17475
|
+
* @rc
|
|
17476
|
+
*/
|
|
17477
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17478
|
+
export class BlockCustomComponentReloadVersionError extends Error {
|
|
17479
|
+
private constructor();
|
|
17480
|
+
}
|
|
17481
|
+
|
|
17405
17482
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17406
17483
|
export class CommandError extends Error {
|
|
17407
17484
|
private constructor();
|
|
17408
17485
|
}
|
|
17409
17486
|
|
|
17410
17487
|
/**
|
|
17411
|
-
* @
|
|
17488
|
+
* @rc
|
|
17412
17489
|
*/
|
|
17413
17490
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17414
17491
|
export class CustomComponentInvalidRegistryError extends Error {
|
|
@@ -17416,7 +17493,7 @@ export class CustomComponentInvalidRegistryError extends Error {
|
|
|
17416
17493
|
}
|
|
17417
17494
|
|
|
17418
17495
|
/**
|
|
17419
|
-
* @
|
|
17496
|
+
* @rc
|
|
17420
17497
|
*/
|
|
17421
17498
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17422
17499
|
export class CustomComponentNameError extends Error {
|
|
@@ -17425,7 +17502,7 @@ export class CustomComponentNameError extends Error {
|
|
|
17425
17502
|
}
|
|
17426
17503
|
|
|
17427
17504
|
/**
|
|
17428
|
-
* @
|
|
17505
|
+
* @rc
|
|
17429
17506
|
*/
|
|
17430
17507
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17431
17508
|
export class EnchantmentLevelOutOfBoundsError extends Error {
|
|
@@ -17433,7 +17510,7 @@ export class EnchantmentLevelOutOfBoundsError extends Error {
|
|
|
17433
17510
|
}
|
|
17434
17511
|
|
|
17435
17512
|
/**
|
|
17436
|
-
* @
|
|
17513
|
+
* @rc
|
|
17437
17514
|
*/
|
|
17438
17515
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17439
17516
|
export class EnchantmentTypeNotCompatibleError extends Error {
|
|
@@ -17441,7 +17518,7 @@ export class EnchantmentTypeNotCompatibleError extends Error {
|
|
|
17441
17518
|
}
|
|
17442
17519
|
|
|
17443
17520
|
/**
|
|
17444
|
-
* @
|
|
17521
|
+
* @rc
|
|
17445
17522
|
*/
|
|
17446
17523
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
17447
17524
|
export class EnchantmentTypeUnknownIdError extends Error {
|
|
@@ -17463,7 +17540,7 @@ export class InvalidStructureError extends Error {
|
|
|
17463
17540
|
}
|
|
17464
17541
|
|
|
17465
17542
|
/**
|
|
17466
|
-
* @
|
|
17543
|
+
* @rc
|
|
17467
17544
|
* Thrown when trying to register an item custom component with
|
|
17468
17545
|
* a name that has already been registered.
|
|
17469
17546
|
*/
|
|
@@ -17473,7 +17550,7 @@ export class ItemCustomComponentAlreadyRegisteredError extends Error {
|
|
|
17473
17550
|
}
|
|
17474
17551
|
|
|
17475
17552
|
/**
|
|
17476
|
-
* @
|
|
17553
|
+
* @rc
|
|
17477
17554
|
* Thrown after using the /reload command when trying to
|
|
17478
17555
|
* register a previously unregistered item custom component.
|
|
17479
17556
|
*/
|
|
@@ -17483,7 +17560,7 @@ export class ItemCustomComponentReloadNewComponentError extends Error {
|
|
|
17483
17560
|
}
|
|
17484
17561
|
|
|
17485
17562
|
/**
|
|
17486
|
-
* @
|
|
17563
|
+
* @rc
|
|
17487
17564
|
* Thrown after using the /reload command when trying to
|
|
17488
17565
|
* register a previously registered item custom component that
|
|
17489
17566
|
* handles a new event.
|
|
@@ -17494,7 +17571,7 @@ export class ItemCustomComponentReloadNewEventError extends Error {
|
|
|
17494
17571
|
}
|
|
17495
17572
|
|
|
17496
17573
|
/**
|
|
17497
|
-
* @
|
|
17574
|
+
* @rc
|
|
17498
17575
|
* Thrown after using the /reload command when trying to
|
|
17499
17576
|
* register a previously registered item custom component with
|
|
17500
17577
|
* a newer API version.
|
|
@@ -17531,11 +17608,11 @@ export class UnloadedChunksError extends Error {
|
|
|
17531
17608
|
}
|
|
17532
17609
|
|
|
17533
17610
|
/**
|
|
17534
|
-
* @
|
|
17611
|
+
* @rc
|
|
17535
17612
|
*/
|
|
17536
17613
|
export const HudElementsCount = 13;
|
|
17537
17614
|
/**
|
|
17538
|
-
* @
|
|
17615
|
+
* @rc
|
|
17539
17616
|
*/
|
|
17540
17617
|
export const HudVisibilityCount = 2;
|
|
17541
17618
|
/**
|