@minecraft/server 1.18.0-rc.1.21.80-preview.21 → 1.18.0
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/README.md +1 -3
- package/index.d.ts +2 -144
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more.
|
|
4
4
|
|
|
5
|
-
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
6
|
-
|
|
7
5
|
See full documentation for this module here:
|
|
8
6
|
|
|
9
|
-
https://learn.microsoft.com/en-us/minecraft/creator/
|
|
7
|
+
https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/minecraft-server
|
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
***************************************************************************** */
|
|
9
9
|
/**
|
|
10
|
-
* @preview
|
|
11
10
|
* @packageDocumentation
|
|
12
11
|
* Contains many types related to manipulating a Minecraft
|
|
13
12
|
* world, including entities, blocks, dimensions, and more.
|
|
@@ -114,7 +113,6 @@ export enum BlockVolumeIntersection {
|
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
/**
|
|
117
|
-
* @rc
|
|
118
116
|
* The state of a button on a keyboard, controller, or touch
|
|
119
117
|
* interface.
|
|
120
118
|
*/
|
|
@@ -1503,7 +1501,6 @@ export enum HudVisibility {
|
|
|
1503
1501
|
}
|
|
1504
1502
|
|
|
1505
1503
|
/**
|
|
1506
|
-
* @rc
|
|
1507
1504
|
* All the different input buttons that are supported. Use with
|
|
1508
1505
|
* {@link InputInfo.getButtonState} via {@link
|
|
1509
1506
|
* Player.inputInfo} or {@link PlayerButtonInputAfterEvent} via
|
|
@@ -1703,7 +1700,6 @@ export enum ItemLockMode {
|
|
|
1703
1700
|
}
|
|
1704
1701
|
|
|
1705
1702
|
/**
|
|
1706
|
-
* @rc
|
|
1707
1703
|
* Represents the type of liquid that can be placed on a block
|
|
1708
1704
|
* or flow dynamically in the world.
|
|
1709
1705
|
*/
|
|
@@ -1816,7 +1812,6 @@ export enum MoonPhase {
|
|
|
1816
1812
|
}
|
|
1817
1813
|
|
|
1818
1814
|
/**
|
|
1819
|
-
* @rc
|
|
1820
1815
|
* An enumeration describing the reason for the namespace name
|
|
1821
1816
|
* error being thrown
|
|
1822
1817
|
*/
|
|
@@ -2245,16 +2240,10 @@ export enum WeatherType {
|
|
|
2245
2240
|
Thunder = 'Thunder',
|
|
2246
2241
|
}
|
|
2247
2242
|
|
|
2248
|
-
/**
|
|
2249
|
-
* @rc
|
|
2250
|
-
*/
|
|
2251
2243
|
export type BlockComponentReturnType<T extends string> = T extends keyof BlockComponentTypeMap
|
|
2252
2244
|
? BlockComponentTypeMap[T]
|
|
2253
2245
|
: BlockComponent;
|
|
2254
2246
|
|
|
2255
|
-
/**
|
|
2256
|
-
* @rc
|
|
2257
|
-
*/
|
|
2258
2247
|
export type BlockComponentTypeMap = {
|
|
2259
2248
|
fluidContainer: BlockFluidContainerComponent;
|
|
2260
2249
|
inventory: BlockInventoryComponent;
|
|
@@ -2269,7 +2258,6 @@ export type BlockComponentTypeMap = {
|
|
|
2269
2258
|
};
|
|
2270
2259
|
|
|
2271
2260
|
/**
|
|
2272
|
-
* @rc
|
|
2273
2261
|
* Type alias used by the {@link BlockPermutation} matches and
|
|
2274
2262
|
* resolve functions to narrow block state argument types to
|
|
2275
2263
|
* those mapped by {@link
|
|
@@ -2281,16 +2269,10 @@ export type BlockStateArg<T> = T extends `${minecraftvanilladata.MinecraftBlockT
|
|
|
2281
2269
|
: never
|
|
2282
2270
|
: Record<string, boolean | number | string>;
|
|
2283
2271
|
|
|
2284
|
-
/**
|
|
2285
|
-
* @rc
|
|
2286
|
-
*/
|
|
2287
2272
|
export type EntityComponentReturnType<T extends string> = T extends keyof EntityComponentTypeMap
|
|
2288
2273
|
? EntityComponentTypeMap[T]
|
|
2289
2274
|
: EntityComponent;
|
|
2290
2275
|
|
|
2291
|
-
/**
|
|
2292
|
-
* @rc
|
|
2293
|
-
*/
|
|
2294
2276
|
export type EntityComponentTypeMap = {
|
|
2295
2277
|
addrider: EntityAddRiderComponent;
|
|
2296
2278
|
ageable: EntityAgeableComponent;
|
|
@@ -2424,16 +2406,10 @@ export type EntityComponentTypeMap = {
|
|
|
2424
2406
|
wants_jockey: EntityWantsJockeyComponent;
|
|
2425
2407
|
};
|
|
2426
2408
|
|
|
2427
|
-
/**
|
|
2428
|
-
* @rc
|
|
2429
|
-
*/
|
|
2430
2409
|
export type ItemComponentReturnType<T extends string> = T extends keyof ItemComponentTypeMap
|
|
2431
2410
|
? ItemComponentTypeMap[T]
|
|
2432
2411
|
: ItemComponent;
|
|
2433
2412
|
|
|
2434
|
-
/**
|
|
2435
|
-
* @rc
|
|
2436
|
-
*/
|
|
2437
2413
|
export type ItemComponentTypeMap = {
|
|
2438
2414
|
compostable: ItemCompostableComponent;
|
|
2439
2415
|
cooldown: ItemCooldownComponent;
|
|
@@ -2595,7 +2571,6 @@ export class Block {
|
|
|
2595
2571
|
*/
|
|
2596
2572
|
bottomCenter(): Vector3;
|
|
2597
2573
|
/**
|
|
2598
|
-
* @rc
|
|
2599
2574
|
* @remarks
|
|
2600
2575
|
* Returns whether this block is removed when touched by
|
|
2601
2576
|
* liquid.
|
|
@@ -2614,7 +2589,6 @@ export class Block {
|
|
|
2614
2589
|
*/
|
|
2615
2590
|
canBeDestroyedByLiquidSpread(liquidType: LiquidType): boolean;
|
|
2616
2591
|
/**
|
|
2617
|
-
* @rc
|
|
2618
2592
|
* @remarks
|
|
2619
2593
|
* Returns whether this block can have a liquid placed over it,
|
|
2620
2594
|
* i.e. be waterlogged.
|
|
@@ -2756,7 +2730,6 @@ export class Block {
|
|
|
2756
2730
|
*/
|
|
2757
2731
|
hasTag(tag: string): boolean;
|
|
2758
2732
|
/**
|
|
2759
|
-
* @rc
|
|
2760
2733
|
* @remarks
|
|
2761
2734
|
* Returns whether this block stops liquid from flowing.
|
|
2762
2735
|
*
|
|
@@ -2786,7 +2759,6 @@ export class Block {
|
|
|
2786
2759
|
*/
|
|
2787
2760
|
isValid(): boolean;
|
|
2788
2761
|
/**
|
|
2789
|
-
* @rc
|
|
2790
2762
|
* @remarks
|
|
2791
2763
|
* Returns whether liquid can flow into the block from the
|
|
2792
2764
|
* provided direction, or flow out from the provided direction
|
|
@@ -2808,7 +2780,6 @@ export class Block {
|
|
|
2808
2780
|
*/
|
|
2809
2781
|
liquidCanFlowFromDirection(liquidType: LiquidType, flowDirection: Direction): boolean;
|
|
2810
2782
|
/**
|
|
2811
|
-
* @rc
|
|
2812
2783
|
* @remarks
|
|
2813
2784
|
* Returns whether this block is removed and spawns its item
|
|
2814
2785
|
* when touched by liquid.
|
|
@@ -3428,7 +3399,6 @@ export class BlockPermutation {
|
|
|
3428
3399
|
*/
|
|
3429
3400
|
readonly 'type': BlockType;
|
|
3430
3401
|
/**
|
|
3431
|
-
* @rc
|
|
3432
3402
|
* @remarks
|
|
3433
3403
|
* Returns whether this block is removed when touched by
|
|
3434
3404
|
* liquid.
|
|
@@ -3443,7 +3413,6 @@ export class BlockPermutation {
|
|
|
3443
3413
|
*/
|
|
3444
3414
|
canBeDestroyedByLiquidSpread(liquidType: LiquidType): boolean;
|
|
3445
3415
|
/**
|
|
3446
|
-
* @rc
|
|
3447
3416
|
* @remarks
|
|
3448
3417
|
* Returns whether this block can have a liquid placed over it,
|
|
3449
3418
|
* i.e. be waterlogged.
|
|
@@ -3522,7 +3491,6 @@ export class BlockPermutation {
|
|
|
3522
3491
|
*/
|
|
3523
3492
|
hasTag(tag: string): boolean;
|
|
3524
3493
|
/**
|
|
3525
|
-
* @rc
|
|
3526
3494
|
* @remarks
|
|
3527
3495
|
* Returns whether this block stops liquid from flowing.
|
|
3528
3496
|
*
|
|
@@ -3536,7 +3504,6 @@ export class BlockPermutation {
|
|
|
3536
3504
|
*/
|
|
3537
3505
|
isLiquidBlocking(liquidType: LiquidType): boolean;
|
|
3538
3506
|
/**
|
|
3539
|
-
* @rc
|
|
3540
3507
|
* @remarks
|
|
3541
3508
|
* Returns whether this block is removed and spawns its item
|
|
3542
3509
|
* when touched by liquid.
|
|
@@ -10047,7 +10014,6 @@ export class InputInfo {
|
|
|
10047
10014
|
*/
|
|
10048
10015
|
readonly touchOnlyAffectsHotbar: boolean;
|
|
10049
10016
|
/**
|
|
10050
|
-
* @rc
|
|
10051
10017
|
* @throws This function can throw errors.
|
|
10052
10018
|
*
|
|
10053
10019
|
* {@link minecraftcommon.EngineError}
|
|
@@ -10056,7 +10022,6 @@ export class InputInfo {
|
|
|
10056
10022
|
*/
|
|
10057
10023
|
getButtonState(button: InputButton): ButtonState;
|
|
10058
10024
|
/**
|
|
10059
|
-
* @rc
|
|
10060
10025
|
* @throws This function can throw errors.
|
|
10061
10026
|
*
|
|
10062
10027
|
* {@link InvalidEntityError}
|
|
@@ -11074,9 +11039,8 @@ export class ItemStack {
|
|
|
11074
11039
|
* @param componentId
|
|
11075
11040
|
* The identifier of the component (e.g., 'minecraft:food'). If
|
|
11076
11041
|
* no namespace prefix is specified, 'minecraft:' is assumed.
|
|
11077
|
-
* Available component IDs
|
|
11078
|
-
* ItemComponentTypes} enum
|
|
11079
|
-
* with the {@link ItemComponentRegistry}.
|
|
11042
|
+
* Available component IDs can be found as part of the {@link
|
|
11043
|
+
* ItemComponentTypes} enum.
|
|
11080
11044
|
* @returns
|
|
11081
11045
|
* Returns the component if it exists on the item stack,
|
|
11082
11046
|
* otherwise undefined.
|
|
@@ -12429,22 +12393,6 @@ export class Player extends Entity {
|
|
|
12429
12393
|
* @throws This function can throw errors.
|
|
12430
12394
|
*/
|
|
12431
12395
|
addLevels(amount: number): number;
|
|
12432
|
-
/**
|
|
12433
|
-
* @rc
|
|
12434
|
-
* @remarks
|
|
12435
|
-
* For this player, removes all overrides of any Entity
|
|
12436
|
-
* Properties on the target Entity. This change is not applied
|
|
12437
|
-
* until the next tick and will not apply to other players.
|
|
12438
|
-
*
|
|
12439
|
-
* This function can't be called in read-only mode.
|
|
12440
|
-
*
|
|
12441
|
-
* @param targetEntity
|
|
12442
|
-
* The Entity whose Entity Property overrides are being
|
|
12443
|
-
* cleared.
|
|
12444
|
-
* @throws
|
|
12445
|
-
* Throws if the entity is invalid.
|
|
12446
|
-
*/
|
|
12447
|
-
clearPropertyOverridesForEntity(targetEntity: Entity): void;
|
|
12448
12396
|
/**
|
|
12449
12397
|
* @remarks
|
|
12450
12398
|
* Retrieves the active gamemode for this player, if specified.
|
|
@@ -12548,26 +12496,6 @@ export class Player extends Entity {
|
|
|
12548
12496
|
*
|
|
12549
12497
|
*/
|
|
12550
12498
|
queueMusic(trackId: string, musicOptions?: MusicOptions): void;
|
|
12551
|
-
/**
|
|
12552
|
-
* @rc
|
|
12553
|
-
* @remarks
|
|
12554
|
-
* For this player, removes the override on an Entity Property.
|
|
12555
|
-
* This change is not applied until the next tick and will not
|
|
12556
|
-
* apply to other players.
|
|
12557
|
-
*
|
|
12558
|
-
* This function can't be called in read-only mode.
|
|
12559
|
-
*
|
|
12560
|
-
* @param targetEntity
|
|
12561
|
-
* The Entity whose Entity Property override is being removed.
|
|
12562
|
-
* @param identifier
|
|
12563
|
-
* The Entity Property identifier.
|
|
12564
|
-
* @throws
|
|
12565
|
-
* Throws if the entity is invalid.
|
|
12566
|
-
* Throws if an invalid identifier is provided.
|
|
12567
|
-
* Throws if the provided value type does not match the
|
|
12568
|
-
* property type.
|
|
12569
|
-
*/
|
|
12570
|
-
removePropertyOverrideForEntity(targetEntity: Entity, identifier: string): void;
|
|
12571
12499
|
/**
|
|
12572
12500
|
* @remarks
|
|
12573
12501
|
* Resets the level of the player.
|
|
@@ -12587,10 +12515,6 @@ export class Player extends Entity {
|
|
|
12587
12515
|
* This method can throw if the provided {@link RawMessage} is
|
|
12588
12516
|
* in an invalid format. For example, if an empty `name` string
|
|
12589
12517
|
* is provided to `score`.
|
|
12590
|
-
*
|
|
12591
|
-
* {@link InvalidEntityError}
|
|
12592
|
-
*
|
|
12593
|
-
* {@link RawMessageError}
|
|
12594
12518
|
* @example nestedTranslation.ts
|
|
12595
12519
|
* ```typescript
|
|
12596
12520
|
* import { world, DimensionLocation } from "@minecraft/server";
|
|
@@ -12678,34 +12602,6 @@ export class Player extends Entity {
|
|
|
12678
12602
|
* @throws This function can throw errors.
|
|
12679
12603
|
*/
|
|
12680
12604
|
setGameMode(gameMode?: GameMode): void;
|
|
12681
|
-
/**
|
|
12682
|
-
* @rc
|
|
12683
|
-
* @remarks
|
|
12684
|
-
* For this player, overrides an Entity Property on the target
|
|
12685
|
-
* Entity to the provided value. This property must be client
|
|
12686
|
-
* synced. This change is not applied until the next tick and
|
|
12687
|
-
* will not apply to other players.
|
|
12688
|
-
*
|
|
12689
|
-
* This function can't be called in read-only mode.
|
|
12690
|
-
*
|
|
12691
|
-
* @param targetEntity
|
|
12692
|
-
* The Entity whose Entity Property is being overriden.
|
|
12693
|
-
* @param identifier
|
|
12694
|
-
* The Entity Property identifier.
|
|
12695
|
-
* @param value
|
|
12696
|
-
* The override value. The provided type must be compatible
|
|
12697
|
-
* with the type specified in the entity's definition.
|
|
12698
|
-
* @throws
|
|
12699
|
-
* Throws if the entity is invalid.
|
|
12700
|
-
* Throws if an invalid identifier is provided.
|
|
12701
|
-
* Throws if the provided value type does not match the
|
|
12702
|
-
* property type.
|
|
12703
|
-
* Throws if the provided value is outside the expected range
|
|
12704
|
-
* (int, float properties).
|
|
12705
|
-
* Throws if the provided string value does not match the set
|
|
12706
|
-
* of accepted enum values (enum properties)
|
|
12707
|
-
*/
|
|
12708
|
-
setPropertyOverrideForEntity(targetEntity: Entity, identifier: string, value: boolean | number | string): void;
|
|
12709
12605
|
/**
|
|
12710
12606
|
* @remarks
|
|
12711
12607
|
* Sets the current starting spawn point for this particular
|
|
@@ -12721,7 +12617,6 @@ export class Player extends Entity {
|
|
|
12721
12617
|
*/
|
|
12722
12618
|
setSpawnPoint(spawnPoint?: DimensionLocation): void;
|
|
12723
12619
|
/**
|
|
12724
|
-
* @rc
|
|
12725
12620
|
* @remarks
|
|
12726
12621
|
* Creates a new particle emitter at a specified location in
|
|
12727
12622
|
* the world. Only visible to the target player.
|
|
@@ -12926,7 +12821,6 @@ export class PlayerBreakBlockBeforeEventSignal {
|
|
|
12926
12821
|
}
|
|
12927
12822
|
|
|
12928
12823
|
/**
|
|
12929
|
-
* @rc
|
|
12930
12824
|
* Event data for when a player presses a button.
|
|
12931
12825
|
*/
|
|
12932
12826
|
export class PlayerButtonInputAfterEvent {
|
|
@@ -12952,7 +12846,6 @@ export class PlayerButtonInputAfterEvent {
|
|
|
12952
12846
|
}
|
|
12953
12847
|
|
|
12954
12848
|
/**
|
|
12955
|
-
* @rc
|
|
12956
12849
|
* Manages callbacks that are connected to player inputs.
|
|
12957
12850
|
*/
|
|
12958
12851
|
export class PlayerButtonInputAfterEventSignal {
|
|
@@ -14527,8 +14420,6 @@ export class ScreenDisplay {
|
|
|
14527
14420
|
* This function can't be called in read-only mode.
|
|
14528
14421
|
*
|
|
14529
14422
|
* @throws This function can throw errors.
|
|
14530
|
-
*
|
|
14531
|
-
* {@link InvalidEntityError}
|
|
14532
14423
|
*/
|
|
14533
14424
|
getHiddenHudElements(): HudElement[];
|
|
14534
14425
|
/**
|
|
@@ -14536,8 +14427,6 @@ export class ScreenDisplay {
|
|
|
14536
14427
|
* This function can't be called in read-only mode.
|
|
14537
14428
|
*
|
|
14538
14429
|
* @throws This function can throw errors.
|
|
14539
|
-
*
|
|
14540
|
-
* {@link InvalidEntityError}
|
|
14541
14430
|
*/
|
|
14542
14431
|
hideAllExcept(hudElements?: HudElement[]): void;
|
|
14543
14432
|
/**
|
|
@@ -14545,8 +14434,6 @@ export class ScreenDisplay {
|
|
|
14545
14434
|
* This function can't be called in read-only mode.
|
|
14546
14435
|
*
|
|
14547
14436
|
* @throws This function can throw errors.
|
|
14548
|
-
*
|
|
14549
|
-
* {@link InvalidEntityError}
|
|
14550
14437
|
*/
|
|
14551
14438
|
isForcedHidden(hudElement: HudElement): boolean;
|
|
14552
14439
|
/**
|
|
@@ -14559,14 +14446,10 @@ export class ScreenDisplay {
|
|
|
14559
14446
|
*/
|
|
14560
14447
|
isValid(): boolean;
|
|
14561
14448
|
/**
|
|
14562
|
-
* @deprecated This function is deprecated and will be removed in 2.0.0.
|
|
14563
|
-
*
|
|
14564
14449
|
* @remarks
|
|
14565
14450
|
* This function can't be called in read-only mode.
|
|
14566
14451
|
*
|
|
14567
14452
|
* @throws This function can throw errors.
|
|
14568
|
-
*
|
|
14569
|
-
* {@link InvalidEntityError}
|
|
14570
14453
|
*/
|
|
14571
14454
|
resetHudElements(): void;
|
|
14572
14455
|
/**
|
|
@@ -14579,10 +14462,6 @@ export class ScreenDisplay {
|
|
|
14579
14462
|
* @param text
|
|
14580
14463
|
* New value for the action bar text.
|
|
14581
14464
|
* @throws This function can throw errors.
|
|
14582
|
-
*
|
|
14583
|
-
* {@link InvalidEntityError}
|
|
14584
|
-
*
|
|
14585
|
-
* {@link RawMessageError}
|
|
14586
14465
|
*/
|
|
14587
14466
|
setActionBar(text: (RawMessage | string)[] | RawMessage | string): void;
|
|
14588
14467
|
/**
|
|
@@ -14598,8 +14477,6 @@ export class ScreenDisplay {
|
|
|
14598
14477
|
* @param hudElements
|
|
14599
14478
|
* Optional list of HUD elements to configure visibility for.
|
|
14600
14479
|
* @throws This function can throw errors.
|
|
14601
|
-
*
|
|
14602
|
-
* {@link InvalidEntityError}
|
|
14603
14480
|
*/
|
|
14604
14481
|
setHudVisibility(visible: HudVisibility, hudElements?: HudElement[]): void;
|
|
14605
14482
|
/**
|
|
@@ -14612,12 +14489,6 @@ export class ScreenDisplay {
|
|
|
14612
14489
|
* This function can't be called in read-only mode.
|
|
14613
14490
|
*
|
|
14614
14491
|
* @throws This function can throw errors.
|
|
14615
|
-
*
|
|
14616
|
-
* {@link minecraftcommon.ArgumentOutOfBoundsError}
|
|
14617
|
-
*
|
|
14618
|
-
* {@link InvalidEntityError}
|
|
14619
|
-
*
|
|
14620
|
-
* {@link RawMessageError}
|
|
14621
14492
|
* @example setTitle.ts
|
|
14622
14493
|
* ```typescript
|
|
14623
14494
|
* import { world, DimensionLocation } from "@minecraft/server";
|
|
@@ -14683,10 +14554,6 @@ export class ScreenDisplay {
|
|
|
14683
14554
|
* This function can't be called in read-only mode.
|
|
14684
14555
|
*
|
|
14685
14556
|
* @throws This function can throw errors.
|
|
14686
|
-
*
|
|
14687
|
-
* {@link InvalidEntityError}
|
|
14688
|
-
*
|
|
14689
|
-
* {@link RawMessageError}
|
|
14690
14557
|
* @example countdown.ts
|
|
14691
14558
|
* ```typescript
|
|
14692
14559
|
* import { world, system, DimensionLocation } from "@minecraft/server";
|
|
@@ -15290,7 +15157,6 @@ export class System {
|
|
|
15290
15157
|
*/
|
|
15291
15158
|
runTimeout(callback: () => void, tickDelay?: number): number;
|
|
15292
15159
|
/**
|
|
15293
|
-
* @rc
|
|
15294
15160
|
* @remarks
|
|
15295
15161
|
* Causes an event to fire within script with the specified
|
|
15296
15162
|
* message ID and payload.
|
|
@@ -16404,7 +16270,6 @@ export class WorldAfterEvents {
|
|
|
16404
16270
|
*/
|
|
16405
16271
|
readonly playerBreakBlock: PlayerBreakBlockAfterEventSignal;
|
|
16406
16272
|
/**
|
|
16407
|
-
* @rc
|
|
16408
16273
|
* @remarks
|
|
16409
16274
|
* This event fires when an {@link InputButton} state is
|
|
16410
16275
|
* changed.
|
|
@@ -17924,7 +17789,6 @@ export interface GreaterThanOrEqualsComparison {
|
|
|
17924
17789
|
}
|
|
17925
17790
|
|
|
17926
17791
|
/**
|
|
17927
|
-
* @rc
|
|
17928
17792
|
* An interface that is passed into {@link
|
|
17929
17793
|
* @minecraft/Server.PlayerButtonInputAfterEventSignal.subscribe}
|
|
17930
17794
|
* that filters out which events are passed to the provided
|
|
@@ -18845,7 +18709,6 @@ export class LocationOutOfWorldBoundariesError extends Error {
|
|
|
18845
18709
|
}
|
|
18846
18710
|
|
|
18847
18711
|
/**
|
|
18848
|
-
* @rc
|
|
18849
18712
|
* Thrown when a name requires a namespace and an error occurs
|
|
18850
18713
|
* when validating that namespace
|
|
18851
18714
|
*/
|
|
@@ -18860,11 +18723,6 @@ export class NamespaceNameError extends Error {
|
|
|
18860
18723
|
reason: NamespaceNameErrorReason;
|
|
18861
18724
|
}
|
|
18862
18725
|
|
|
18863
|
-
// @ts-ignore Class inheritance allowed for native defined classes
|
|
18864
|
-
export class RawMessageError extends Error {
|
|
18865
|
-
private constructor();
|
|
18866
|
-
}
|
|
18867
|
-
|
|
18868
18726
|
/**
|
|
18869
18727
|
* Error thrown when the specified area contains one or more
|
|
18870
18728
|
* unloaded chunks.
|