@minecraft/server 2.9.0-beta.1.26.30-preview.28 → 2.9.0-beta.1.26.30-preview.30
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 +275 -27
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1149,6 +1149,15 @@ export enum EntityComponentTypes {
|
|
|
1149
1149
|
*
|
|
1150
1150
|
*/
|
|
1151
1151
|
Exhaustion = 'minecraft:player.exhaustion',
|
|
1152
|
+
/**
|
|
1153
|
+
* @beta
|
|
1154
|
+
* @remarks
|
|
1155
|
+
* Use this component to access and manipulate the fog
|
|
1156
|
+
* definitions stack of a player. This is only available on
|
|
1157
|
+
* players.
|
|
1158
|
+
*
|
|
1159
|
+
*/
|
|
1160
|
+
Fog = 'minecraft:player.fog',
|
|
1152
1161
|
/**
|
|
1153
1162
|
* @remarks
|
|
1154
1163
|
* Use this component to read the hunger of a player. This is
|
|
@@ -2350,7 +2359,7 @@ export enum LiquidType {
|
|
|
2350
2359
|
}
|
|
2351
2360
|
|
|
2352
2361
|
/**
|
|
2353
|
-
* @
|
|
2362
|
+
* @rc
|
|
2354
2363
|
* Enum representing the different reasons why a locator bar
|
|
2355
2364
|
* operation may fail.
|
|
2356
2365
|
*/
|
|
@@ -3053,7 +3062,7 @@ export enum WatchdogTerminateReason {
|
|
|
3053
3062
|
}
|
|
3054
3063
|
|
|
3055
3064
|
/**
|
|
3056
|
-
* @
|
|
3065
|
+
* @rc
|
|
3057
3066
|
* Enum representing different texture icons that can be
|
|
3058
3067
|
* displayed for waypoints on the locator bar.
|
|
3059
3068
|
*/
|
|
@@ -3242,6 +3251,7 @@ export type EntityComponentTypeMap = {
|
|
|
3242
3251
|
'minecraft:npc': EntityNpcComponent;
|
|
3243
3252
|
'minecraft:onfire': EntityOnFireComponent;
|
|
3244
3253
|
'minecraft:player.exhaustion': EntityExhaustionComponent;
|
|
3254
|
+
'minecraft:player.fog': EntityFogComponent;
|
|
3245
3255
|
'minecraft:player.hunger': EntityHungerComponent;
|
|
3246
3256
|
'minecraft:player.saturation': EntitySaturationComponent;
|
|
3247
3257
|
'minecraft:projectile': EntityProjectileComponent;
|
|
@@ -3276,6 +3286,7 @@ export type EntityComponentTypeMap = {
|
|
|
3276
3286
|
npc: EntityNpcComponent;
|
|
3277
3287
|
onfire: EntityOnFireComponent;
|
|
3278
3288
|
'player.exhaustion': EntityExhaustionComponent;
|
|
3289
|
+
'player.fog': EntityFogComponent;
|
|
3279
3290
|
'player.hunger': EntityHungerComponent;
|
|
3280
3291
|
'player.saturation': EntitySaturationComponent;
|
|
3281
3292
|
projectile: EntityProjectileComponent;
|
|
@@ -9075,7 +9086,7 @@ export class Dimension {
|
|
|
9075
9086
|
}
|
|
9076
9087
|
|
|
9077
9088
|
/**
|
|
9078
|
-
* @
|
|
9089
|
+
* @rc
|
|
9079
9090
|
* Provides the functionality for registering custom
|
|
9080
9091
|
* dimensions. Custom dimensions can only be registered during
|
|
9081
9092
|
* the system startup event.
|
|
@@ -11433,6 +11444,140 @@ export class EntityFlyingSpeedComponent extends EntityComponent {
|
|
|
11433
11444
|
static readonly componentId = 'minecraft:flying_speed';
|
|
11434
11445
|
}
|
|
11435
11446
|
|
|
11447
|
+
/**
|
|
11448
|
+
* @beta
|
|
11449
|
+
* Provides access to the fog definitions stack of a player
|
|
11450
|
+
* entity, allowing scripts to push, pop, remove, and query
|
|
11451
|
+
* active fog definitions.
|
|
11452
|
+
*/
|
|
11453
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
11454
|
+
export class EntityFogComponent extends EntityComponent {
|
|
11455
|
+
private constructor();
|
|
11456
|
+
static readonly componentId = 'minecraft:player.fog';
|
|
11457
|
+
/**
|
|
11458
|
+
* @remarks
|
|
11459
|
+
* Sets the player's fog stack to the given list of fog
|
|
11460
|
+
* identifiers, replacing any existing entries.
|
|
11461
|
+
*
|
|
11462
|
+
* This function can't be called in restricted-execution mode.
|
|
11463
|
+
*
|
|
11464
|
+
* @param fogIds
|
|
11465
|
+
* A stack of fog definition identifiers to set on the player's
|
|
11466
|
+
* fog stack (e.g. ['minecraft:fog_bamboo_jungle']). Maximum of
|
|
11467
|
+
* 16 entries.
|
|
11468
|
+
* @param tag
|
|
11469
|
+
* An optional tag to associate with the new entries, used to
|
|
11470
|
+
* target them with pop or remove.
|
|
11471
|
+
* @throws
|
|
11472
|
+
* Throws if the entity is invalid, if more than 16 fog
|
|
11473
|
+
* identifiers are provided, or if any fog identifier is
|
|
11474
|
+
* invalid.
|
|
11475
|
+
*
|
|
11476
|
+
* {@link EntityFogComponentError}
|
|
11477
|
+
*
|
|
11478
|
+
* {@link InvalidEntityError}
|
|
11479
|
+
*/
|
|
11480
|
+
applyStack(fogIds: string[], tag?: string): void;
|
|
11481
|
+
/**
|
|
11482
|
+
* @remarks
|
|
11483
|
+
* Returns the list of fog identifiers currently on the
|
|
11484
|
+
* player's fog stack, ordered from bottom to top.
|
|
11485
|
+
*
|
|
11486
|
+
* This function can't be called in restricted-execution mode.
|
|
11487
|
+
*
|
|
11488
|
+
* @returns
|
|
11489
|
+
* An array of fog definition identifiers currently on the
|
|
11490
|
+
* stack.
|
|
11491
|
+
* @throws
|
|
11492
|
+
* Throws if the entity is invalid.
|
|
11493
|
+
*
|
|
11494
|
+
* {@link InvalidEntityError}
|
|
11495
|
+
*/
|
|
11496
|
+
getStack(): string[];
|
|
11497
|
+
/**
|
|
11498
|
+
* @remarks
|
|
11499
|
+
* Returns the list of tags currently present on the player's
|
|
11500
|
+
* fog stack.
|
|
11501
|
+
*
|
|
11502
|
+
* This function can't be called in restricted-execution mode.
|
|
11503
|
+
*
|
|
11504
|
+
* @returns
|
|
11505
|
+
* An array of tag strings associated with fog settings on the
|
|
11506
|
+
* stack.
|
|
11507
|
+
* @throws
|
|
11508
|
+
* Throws if the entity is invalid.
|
|
11509
|
+
*
|
|
11510
|
+
* {@link InvalidEntityError}
|
|
11511
|
+
*/
|
|
11512
|
+
getTags(): string[];
|
|
11513
|
+
/**
|
|
11514
|
+
* @remarks
|
|
11515
|
+
* Removes the most recently pushed fog definition from the
|
|
11516
|
+
* player's fog stack.
|
|
11517
|
+
*
|
|
11518
|
+
* This function can't be called in restricted-execution mode.
|
|
11519
|
+
*
|
|
11520
|
+
* @param tag
|
|
11521
|
+
* An optional tag identifying which entry to pop. If provided,
|
|
11522
|
+
* searches the stack from top to bottom and removes the most
|
|
11523
|
+
* recently pushed entry with this tag. If omitted, removes the
|
|
11524
|
+
* most recently pushed entry regardless of tag.
|
|
11525
|
+
* @returns
|
|
11526
|
+
* Returns the identifier of the popped fog definition, or
|
|
11527
|
+
* undefined if the stack was unchanged.
|
|
11528
|
+
* @throws
|
|
11529
|
+
* Throws if the entity is invalid.
|
|
11530
|
+
*
|
|
11531
|
+
* {@link InvalidEntityError}
|
|
11532
|
+
*/
|
|
11533
|
+
pop(tag?: string): string | undefined;
|
|
11534
|
+
/**
|
|
11535
|
+
* @remarks
|
|
11536
|
+
* Pushes a new fog definition onto the player's fog stack.
|
|
11537
|
+
*
|
|
11538
|
+
* This function can't be called in restricted-execution mode.
|
|
11539
|
+
*
|
|
11540
|
+
* @param fogId
|
|
11541
|
+
* The identifier of the fog definition to push onto the stack
|
|
11542
|
+
* (e.g. 'minecraft:fog_bamboo_jungle').
|
|
11543
|
+
* @param tag
|
|
11544
|
+
* An optional tag used to label this fog definition on the
|
|
11545
|
+
* stack, allowing it to be targeted by pop or remove. If
|
|
11546
|
+
* omitted, the entry is stored with the tag 'untagged'.
|
|
11547
|
+
* @returns
|
|
11548
|
+
* Returns the zero-based index at which the fog definition was
|
|
11549
|
+
* inserted into the stack.
|
|
11550
|
+
* @throws
|
|
11551
|
+
* Throws if the entity is invalid, the fog identifier is
|
|
11552
|
+
* invalid, or if the stack limit of 16 has been exceeded.
|
|
11553
|
+
*
|
|
11554
|
+
* {@link EntityFogComponentError}
|
|
11555
|
+
*
|
|
11556
|
+
* {@link InvalidEntityError}
|
|
11557
|
+
*/
|
|
11558
|
+
push(fogId: string, tag?: string): number;
|
|
11559
|
+
/**
|
|
11560
|
+
* @remarks
|
|
11561
|
+
* Removes all fog definitions with the given tag from the
|
|
11562
|
+
* player's fog stack. If no tag is provided, clears all fog
|
|
11563
|
+
* definitions.
|
|
11564
|
+
*
|
|
11565
|
+
* This function can't be called in restricted-execution mode.
|
|
11566
|
+
*
|
|
11567
|
+
* @param tag
|
|
11568
|
+
* An optional tag identifying which the entries to remove. If
|
|
11569
|
+
* omitted, clears all fog definitions regardless of tag.
|
|
11570
|
+
* @returns
|
|
11571
|
+
* Returns true if at least one entry was removed, or false if
|
|
11572
|
+
* the stack was unchanged.
|
|
11573
|
+
* @throws
|
|
11574
|
+
* Throws if the entity is invalid.
|
|
11575
|
+
*
|
|
11576
|
+
* {@link InvalidEntityError}
|
|
11577
|
+
*/
|
|
11578
|
+
remove(tag?: string): boolean;
|
|
11579
|
+
}
|
|
11580
|
+
|
|
11436
11581
|
/**
|
|
11437
11582
|
* Defines how much friction affects this entity.
|
|
11438
11583
|
*/
|
|
@@ -13916,7 +14061,7 @@ export class EntityUpgradeAfterEvent {
|
|
|
13916
14061
|
}
|
|
13917
14062
|
|
|
13918
14063
|
/**
|
|
13919
|
-
* @
|
|
14064
|
+
* @rc
|
|
13920
14065
|
* Contains event registration related to firing of a data
|
|
13921
14066
|
* driven entity version upgrade.
|
|
13922
14067
|
*/
|
|
@@ -13978,7 +14123,7 @@ export class EntityWantsJockeyComponent extends EntityComponent {
|
|
|
13978
14123
|
}
|
|
13979
14124
|
|
|
13980
14125
|
/**
|
|
13981
|
-
* @
|
|
14126
|
+
* @rc
|
|
13982
14127
|
* Waypoint that tracks an entity's position. The waypoint
|
|
13983
14128
|
* automatically updates as the entity moves and becomes
|
|
13984
14129
|
* invalid when the entity is removed.
|
|
@@ -14615,6 +14760,10 @@ export class IsBabyCondition extends LootItemCondition {
|
|
|
14615
14760
|
private constructor();
|
|
14616
14761
|
}
|
|
14617
14762
|
|
|
14763
|
+
export class ISerializable {
|
|
14764
|
+
private constructor();
|
|
14765
|
+
}
|
|
14766
|
+
|
|
14618
14767
|
/**
|
|
14619
14768
|
* When present on an item, this item is a book item. Can
|
|
14620
14769
|
* access and modify the contents of the book and sign it.
|
|
@@ -16780,7 +16929,7 @@ export class ListBlockVolume extends BlockVolumeBase {
|
|
|
16780
16929
|
}
|
|
16781
16930
|
|
|
16782
16931
|
/**
|
|
16783
|
-
* @
|
|
16932
|
+
* @rc
|
|
16784
16933
|
* Waypoint that points to a fixed location in the world.
|
|
16785
16934
|
* Unlike entity waypoints, location waypoints always remain
|
|
16786
16935
|
* valid and their position can be updated.
|
|
@@ -16808,7 +16957,7 @@ export class LocationWaypoint extends Waypoint {
|
|
|
16808
16957
|
}
|
|
16809
16958
|
|
|
16810
16959
|
/**
|
|
16811
|
-
* @
|
|
16960
|
+
* @rc
|
|
16812
16961
|
* Manages the collection of waypoints displayed on a player's
|
|
16813
16962
|
* locator bar. Allows adding, removing, and querying waypoints
|
|
16814
16963
|
* with a maximum capacity limit.
|
|
@@ -17766,7 +17915,7 @@ export class Player extends Entity {
|
|
|
17766
17915
|
*/
|
|
17767
17916
|
readonly level: number;
|
|
17768
17917
|
/**
|
|
17769
|
-
* @
|
|
17918
|
+
* @rc
|
|
17770
17919
|
* @remarks
|
|
17771
17920
|
* The player's Locator Bar. This property is used for managing
|
|
17772
17921
|
* waypoints displayed on the HUD.
|
|
@@ -18562,6 +18711,83 @@ export class PlayerButtonInputAfterEventSignal {
|
|
|
18562
18711
|
unsubscribe(callback: (arg0: PlayerButtonInputAfterEvent) => void): void;
|
|
18563
18712
|
}
|
|
18564
18713
|
|
|
18714
|
+
/**
|
|
18715
|
+
* @beta
|
|
18716
|
+
* Contains information regarding an event after a player
|
|
18717
|
+
* cancels breaking a block.
|
|
18718
|
+
*/
|
|
18719
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
18720
|
+
export class PlayerCancelBreakingBlockAfterEvent extends BlockEvent {
|
|
18721
|
+
private constructor();
|
|
18722
|
+
/**
|
|
18723
|
+
* @remarks
|
|
18724
|
+
* The permutation of the block that the player cancelled
|
|
18725
|
+
* breaking.
|
|
18726
|
+
*
|
|
18727
|
+
*/
|
|
18728
|
+
readonly blockPermutation: BlockPermutation;
|
|
18729
|
+
/**
|
|
18730
|
+
* @remarks
|
|
18731
|
+
* The progress of breaking the block when the player cancelled
|
|
18732
|
+
* in the exclusive range (0, 1).
|
|
18733
|
+
*
|
|
18734
|
+
*/
|
|
18735
|
+
readonly breakProgress: number;
|
|
18736
|
+
/**
|
|
18737
|
+
* @remarks
|
|
18738
|
+
* The face of the block that was being broken.
|
|
18739
|
+
*
|
|
18740
|
+
*/
|
|
18741
|
+
readonly face: Direction;
|
|
18742
|
+
/**
|
|
18743
|
+
* @remarks
|
|
18744
|
+
* The item stack that the player was using to break the block,
|
|
18745
|
+
* or undefined if empty hand.
|
|
18746
|
+
*
|
|
18747
|
+
*/
|
|
18748
|
+
readonly heldItemStack?: ItemStack;
|
|
18749
|
+
/**
|
|
18750
|
+
* @remarks
|
|
18751
|
+
* Player that cancelled breaking the block for this event.
|
|
18752
|
+
*
|
|
18753
|
+
*/
|
|
18754
|
+
readonly player: Player;
|
|
18755
|
+
}
|
|
18756
|
+
|
|
18757
|
+
/**
|
|
18758
|
+
* @beta
|
|
18759
|
+
* Manages callbacks that are connected to when a player
|
|
18760
|
+
* cancels breaking a block.
|
|
18761
|
+
*/
|
|
18762
|
+
export class PlayerCancelBreakingBlockAfterEventSignal {
|
|
18763
|
+
private constructor();
|
|
18764
|
+
/**
|
|
18765
|
+
* @remarks
|
|
18766
|
+
* Adds a callback that will be called when a player cancels
|
|
18767
|
+
* breaking a block.
|
|
18768
|
+
*
|
|
18769
|
+
* This function can't be called in restricted-execution mode.
|
|
18770
|
+
*
|
|
18771
|
+
* This function can be called in early-execution mode.
|
|
18772
|
+
*
|
|
18773
|
+
*/
|
|
18774
|
+
subscribe(
|
|
18775
|
+
callback: (arg0: PlayerCancelBreakingBlockAfterEvent) => void,
|
|
18776
|
+
options?: PlayerBreakingBlockEventOptions,
|
|
18777
|
+
): (arg0: PlayerCancelBreakingBlockAfterEvent) => void;
|
|
18778
|
+
/**
|
|
18779
|
+
* @remarks
|
|
18780
|
+
* Removes a callback from being called when a player cancels
|
|
18781
|
+
* breaking a block.
|
|
18782
|
+
*
|
|
18783
|
+
* This function can't be called in restricted-execution mode.
|
|
18784
|
+
*
|
|
18785
|
+
* This function can be called in early-execution mode.
|
|
18786
|
+
*
|
|
18787
|
+
*/
|
|
18788
|
+
unsubscribe(callback: (arg0: PlayerCancelBreakingBlockAfterEvent) => void): void;
|
|
18789
|
+
}
|
|
18790
|
+
|
|
18565
18791
|
/**
|
|
18566
18792
|
* Represents the players cursor inventory. Used when moving
|
|
18567
18793
|
* items between between containers in the inventory UI. Not
|
|
@@ -19958,7 +20184,7 @@ export class PlayerUseNameTagAfterEventSignal {
|
|
|
19958
20184
|
}
|
|
19959
20185
|
|
|
19960
20186
|
/**
|
|
19961
|
-
* @
|
|
20187
|
+
* @rc
|
|
19962
20188
|
* Waypoint that tracks a player's position. Extends {@link
|
|
19963
20189
|
* EntityWaypoint} with additional player-specific visibility
|
|
19964
20190
|
* rules such as hidden state and spectator mode.
|
|
@@ -21671,7 +21897,7 @@ export class StartupEvent {
|
|
|
21671
21897
|
*/
|
|
21672
21898
|
readonly customCommandRegistry: CustomCommandRegistry;
|
|
21673
21899
|
/**
|
|
21674
|
-
* @
|
|
21900
|
+
* @rc
|
|
21675
21901
|
* @remarks
|
|
21676
21902
|
* This property can be read in early-execution mode.
|
|
21677
21903
|
*
|
|
@@ -21690,7 +21916,8 @@ export class StartupEvent {
|
|
|
21690
21916
|
* Structures can be placed in a world using the /structure
|
|
21691
21917
|
* command or the {@link StructureManager} APIs.
|
|
21692
21918
|
*/
|
|
21693
|
-
|
|
21919
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
21920
|
+
export class Structure extends ISerializable {
|
|
21694
21921
|
private constructor();
|
|
21695
21922
|
/**
|
|
21696
21923
|
* @remarks
|
|
@@ -22799,7 +23026,7 @@ export class WatchdogTerminateBeforeEventSignal {
|
|
|
22799
23026
|
}
|
|
22800
23027
|
|
|
22801
23028
|
/**
|
|
22802
|
-
* @
|
|
23029
|
+
* @rc
|
|
22803
23030
|
* Base class for waypoints displayed on the player's locator
|
|
22804
23031
|
* bar. Waypoints can track locations or entities and are
|
|
22805
23032
|
* rendered with customizable textures and colors.
|
|
@@ -23753,7 +23980,7 @@ export class WorldAfterEvents {
|
|
|
23753
23980
|
*/
|
|
23754
23981
|
readonly entityStartSneaking: EntityStartSneakingAfterEventSignal;
|
|
23755
23982
|
/**
|
|
23756
|
-
* @
|
|
23983
|
+
* @rc
|
|
23757
23984
|
* @remarks
|
|
23758
23985
|
* This property can be read in early-execution mode.
|
|
23759
23986
|
*
|
|
@@ -23892,6 +24119,15 @@ export class WorldAfterEvents {
|
|
|
23892
24119
|
*
|
|
23893
24120
|
*/
|
|
23894
24121
|
readonly playerButtonInput: PlayerButtonInputAfterEventSignal;
|
|
24122
|
+
/**
|
|
24123
|
+
* @beta
|
|
24124
|
+
* @remarks
|
|
24125
|
+
* This event fires when a player cancels breaking a block.
|
|
24126
|
+
*
|
|
24127
|
+
* This property can be read in early-execution mode.
|
|
24128
|
+
*
|
|
24129
|
+
*/
|
|
24130
|
+
readonly playerCancelBreakingBlock: PlayerCancelBreakingBlockAfterEventSignal;
|
|
23895
24131
|
/**
|
|
23896
24132
|
* @remarks
|
|
23897
24133
|
* Fires when a player moved to a different dimension.
|
|
@@ -24973,7 +25209,7 @@ export interface CustomCommandResult {
|
|
|
24973
25209
|
}
|
|
24974
25210
|
|
|
24975
25211
|
/**
|
|
24976
|
-
* @
|
|
25212
|
+
* @rc
|
|
24977
25213
|
*/
|
|
24978
25214
|
export interface CustomTexture {
|
|
24979
25215
|
/**
|
|
@@ -25839,7 +26075,7 @@ export interface EntitySneakingChangedEventOptions {
|
|
|
25839
26075
|
}
|
|
25840
26076
|
|
|
25841
26077
|
/**
|
|
25842
|
-
* @
|
|
26078
|
+
* @rc
|
|
25843
26079
|
* Controls when a waypoint is visible based on the state of
|
|
25844
26080
|
* the entity it tracks. These rules allow filtering waypoint
|
|
25845
26081
|
* visibility by entity conditions like sneaking, invisibility,
|
|
@@ -26347,8 +26583,9 @@ export interface PlayerAimAssistSettings {
|
|
|
26347
26583
|
/**
|
|
26348
26584
|
* @beta
|
|
26349
26585
|
* An interface that is passed into {@link
|
|
26350
|
-
* PlayerStartBreakingBlockAfterEventSignal.subscribe}
|
|
26351
|
-
*
|
|
26586
|
+
* PlayerStartBreakingBlockAfterEventSignal.subscribe} or
|
|
26587
|
+
* {@link PlayerCancelBreakingBlockAfterEventSignal.subscribe}
|
|
26588
|
+
* that filters out which events are passed to the provided
|
|
26352
26589
|
* callback.
|
|
26353
26590
|
*/
|
|
26354
26591
|
export interface PlayerBreakingBlockEventOptions {
|
|
@@ -26421,7 +26658,7 @@ export interface PlayerSwingEventOptions {
|
|
|
26421
26658
|
}
|
|
26422
26659
|
|
|
26423
26660
|
/**
|
|
26424
|
-
* @
|
|
26661
|
+
* @rc
|
|
26425
26662
|
* Controls when a waypoint is visible based on player-specific
|
|
26426
26663
|
* states. Extends {@link EntityVisibilityRules} with
|
|
26427
26664
|
* additional rules for player-only states like hidden mode and
|
|
@@ -27150,7 +27387,7 @@ export interface VectorXZ {
|
|
|
27150
27387
|
}
|
|
27151
27388
|
|
|
27152
27389
|
/**
|
|
27153
|
-
* @
|
|
27390
|
+
* @rc
|
|
27154
27391
|
* Defines a texture and the distance range in which it should
|
|
27155
27392
|
* be displayed. Used within a {@link WaypointTextureSelector}
|
|
27156
27393
|
* to create distance-based texture switching.
|
|
@@ -27185,7 +27422,7 @@ export interface WaypointTextureBounds {
|
|
|
27185
27422
|
}
|
|
27186
27423
|
|
|
27187
27424
|
/**
|
|
27188
|
-
* @
|
|
27425
|
+
* @rc
|
|
27189
27426
|
* Defines how waypoint textures change based on distance.
|
|
27190
27427
|
* Contains a list of texture bounds that determine which
|
|
27191
27428
|
* texture is displayed at different distance ranges.
|
|
@@ -27339,7 +27576,7 @@ export class CustomComponentNameError extends Error {
|
|
|
27339
27576
|
}
|
|
27340
27577
|
|
|
27341
27578
|
/**
|
|
27342
|
-
* @
|
|
27579
|
+
* @rc
|
|
27343
27580
|
* Thrown when trying to register a custom dimension with a
|
|
27344
27581
|
* name that has already been registered.
|
|
27345
27582
|
*/
|
|
@@ -27349,7 +27586,7 @@ export class CustomDimensionAlreadyRegisteredError extends Error {
|
|
|
27349
27586
|
}
|
|
27350
27587
|
|
|
27351
27588
|
/**
|
|
27352
|
-
* @
|
|
27589
|
+
* @rc
|
|
27353
27590
|
* Thrown when trying to register a custom dimension outside of
|
|
27354
27591
|
* the system startup event.
|
|
27355
27592
|
*/
|
|
@@ -27359,7 +27596,7 @@ export class CustomDimensionInvalidRegistryError extends Error {
|
|
|
27359
27596
|
}
|
|
27360
27597
|
|
|
27361
27598
|
/**
|
|
27362
|
-
* @
|
|
27599
|
+
* @rc
|
|
27363
27600
|
* Thrown when trying to register a custom dimension with a
|
|
27364
27601
|
* name that contains invalid characters.
|
|
27365
27602
|
*/
|
|
@@ -27369,7 +27606,7 @@ export class CustomDimensionNameError extends Error {
|
|
|
27369
27606
|
}
|
|
27370
27607
|
|
|
27371
27608
|
/**
|
|
27372
|
-
* @
|
|
27609
|
+
* @rc
|
|
27373
27610
|
* Thrown after using the /reload command when trying to
|
|
27374
27611
|
* register a custom dimension that was not previously
|
|
27375
27612
|
* registered. New custom dimensions cannot be added during a
|
|
@@ -27395,6 +27632,17 @@ export class EnchantmentTypeUnknownIdError extends Error {
|
|
|
27395
27632
|
private constructor();
|
|
27396
27633
|
}
|
|
27397
27634
|
|
|
27635
|
+
/**
|
|
27636
|
+
* @beta
|
|
27637
|
+
* Error thrown by {@link EntityFogComponent} operations when
|
|
27638
|
+
* the fog stack limit is exceeded or an invalid fog identifier
|
|
27639
|
+
* is provided.
|
|
27640
|
+
*/
|
|
27641
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
27642
|
+
export class EntityFogComponentError extends Error {
|
|
27643
|
+
private constructor();
|
|
27644
|
+
}
|
|
27645
|
+
|
|
27398
27646
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
27399
27647
|
export class EntitySpawnError extends Error {
|
|
27400
27648
|
private constructor();
|
|
@@ -27504,7 +27752,7 @@ export class InvalidStructureError extends Error {
|
|
|
27504
27752
|
}
|
|
27505
27753
|
|
|
27506
27754
|
/**
|
|
27507
|
-
* @
|
|
27755
|
+
* @rc
|
|
27508
27756
|
* Error thrown when attempting to perform operations on an
|
|
27509
27757
|
* invalid waypoint. A waypoint becomes invalid when it is
|
|
27510
27758
|
* removed or when the entity it tracks is no longer valid.
|
|
@@ -27515,7 +27763,7 @@ export class InvalidWaypointError extends Error {
|
|
|
27515
27763
|
}
|
|
27516
27764
|
|
|
27517
27765
|
/**
|
|
27518
|
-
* @
|
|
27766
|
+
* @rc
|
|
27519
27767
|
*/
|
|
27520
27768
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
27521
27769
|
export class InvalidWaypointTextureSelectorError extends Error {
|
|
@@ -27579,7 +27827,7 @@ export class LocationOutOfWorldBoundariesError extends Error {
|
|
|
27579
27827
|
}
|
|
27580
27828
|
|
|
27581
27829
|
/**
|
|
27582
|
-
* @
|
|
27830
|
+
* @rc
|
|
27583
27831
|
* Error thrown when a locator bar operation fails. Contains a
|
|
27584
27832
|
* reason code indicating the specific cause of the error.
|
|
27585
27833
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server",
|
|
3
|
-
"version": "2.9.0-beta.1.26.30-preview.
|
|
3
|
+
"version": "2.9.0-beta.1.26.30-preview.30",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@minecraft/common": "^1.2.0",
|
|
17
|
-
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.30-preview.
|
|
17
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.30-preview.30"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|