@minecraft/server 2.1.0-beta.1.21.90-preview.27 → 2.1.0-beta.1.21.90-stable

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.
Files changed (2) hide show
  1. package/index.d.ts +0 -62
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1514,7 +1514,6 @@ export enum FluidType {
1514
1514
  */
1515
1515
  export enum GameMode {
1516
1516
  /**
1517
- * @rc
1518
1517
  * @remarks
1519
1518
  * World is in a more locked-down experience, where blocks may
1520
1519
  * not be manipulated.
@@ -1522,7 +1521,6 @@ export enum GameMode {
1522
1521
  */
1523
1522
  Adventure = 'Adventure',
1524
1523
  /**
1525
- * @rc
1526
1524
  * @remarks
1527
1525
  * World is in a full creative mode. In creative mode, the
1528
1526
  * player has all the resources available in the item selection
@@ -1535,7 +1533,6 @@ export enum GameMode {
1535
1533
  */
1536
1534
  Creative = 'Creative',
1537
1535
  /**
1538
- * @rc
1539
1536
  * @remarks
1540
1537
  * World is in spectator mode. In spectator mode, spectators
1541
1538
  * are always flying and cannot become grounded. Spectators can
@@ -1548,7 +1545,6 @@ export enum GameMode {
1548
1545
  */
1549
1546
  Spectator = 'Spectator',
1550
1547
  /**
1551
- * @rc
1552
1548
  * @remarks
1553
1549
  * World is in a survival mode, where players can take damage
1554
1550
  * and entities may not be peaceful. Survival mode is where the
@@ -1821,7 +1817,6 @@ export enum GameRule {
1821
1817
  }
1822
1818
 
1823
1819
  /**
1824
- * @rc
1825
1820
  * Describes the graphics mode of a client. Used by {@link
1826
1821
  * Player.graphicsMode}
1827
1822
  */
@@ -2710,7 +2705,6 @@ export enum TimeOfDay {
2710
2705
  }
2711
2706
 
2712
2707
  /**
2713
- * @rc
2714
2708
  * Tint logic applied to a block or part of a block. The color
2715
2709
  * may vary when a world position is part of the context, as
2716
2710
  * biomes often have an influence on the resulting tint.
@@ -3518,7 +3512,6 @@ export class Block {
3518
3512
  */
3519
3513
  readonly isSolid: boolean;
3520
3514
  /**
3521
- * @rc
3522
3515
  * @remarks
3523
3516
  * Returns true if this reference to a block is still valid
3524
3517
  * (for example, if the block is unloaded, references to that
@@ -4239,7 +4232,6 @@ export class BlockComponentOnPlaceEvent extends BlockEvent {
4239
4232
  }
4240
4233
 
4241
4234
  /**
4242
- * @rc
4243
4235
  * Contains information regarding a specific block being broken
4244
4236
  * by a player.
4245
4237
  */
@@ -4397,7 +4389,6 @@ export class BlockComponentTickEvent extends BlockEvent {
4397
4389
  }
4398
4390
 
4399
4391
  /**
4400
- * @rc
4401
4392
  * An instance of a custom component on a block.
4402
4393
  */
4403
4394
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -4661,7 +4652,6 @@ export class BlockLocationIterator implements Iterable<Vector3> {
4661
4652
  }
4662
4653
 
4663
4654
  /**
4664
- * @rc
4665
4655
  * Represents the color of a block when displayed on a map.
4666
4656
  */
4667
4657
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -5592,7 +5582,6 @@ export class ButtonPushAfterEvent extends BlockEvent {
5592
5582
  export class ButtonPushAfterEventSignal {
5593
5583
  private constructor();
5594
5584
  /**
5595
- * @rc
5596
5585
  * @remarks
5597
5586
  * Adds a callback that will be called when a button is pushed.
5598
5587
  *
@@ -5603,7 +5592,6 @@ export class ButtonPushAfterEventSignal {
5603
5592
  */
5604
5593
  subscribe(callback: (arg0: ButtonPushAfterEvent) => void): (arg0: ButtonPushAfterEvent) => void;
5605
5594
  /**
5606
- * @rc
5607
5595
  * @remarks
5608
5596
  * Removes a callback from being called when a button is
5609
5597
  * pushed.
@@ -5623,7 +5611,6 @@ export class ButtonPushAfterEventSignal {
5623
5611
  export class Camera {
5624
5612
  private constructor();
5625
5613
  /**
5626
- * @rc
5627
5614
  * @remarks
5628
5615
  * Returns whether the Camera is valid to access and use. A
5629
5616
  * Camera is considered valid when the owning Player of the
@@ -5678,7 +5665,6 @@ export class Camera {
5678
5665
  | CameraTargetOptions,
5679
5666
  ): void;
5680
5667
  /**
5681
- * @rc
5682
5668
  * @remarks
5683
5669
  * Sets the current active camera for the specified player and
5684
5670
  * resets the position and rotation to the values defined in
@@ -5889,7 +5875,6 @@ export class CommandResult {
5889
5875
  export class Component {
5890
5876
  private constructor();
5891
5877
  /**
5892
- * @rc
5893
5878
  * @remarks
5894
5879
  * Returns whether the component is valid. A component is
5895
5880
  * considered valid if its owner is valid, in addition to any
@@ -6253,7 +6238,6 @@ export class Container {
6253
6238
  */
6254
6239
  readonly emptySlotsCount: number;
6255
6240
  /**
6256
- * @rc
6257
6241
  * @remarks
6258
6242
  * Returns whether a container object (or the entity or block
6259
6243
  * that this container is associated with) is still available
@@ -6601,7 +6585,6 @@ export class ContainerSlot {
6601
6585
  */
6602
6586
  readonly isStackable: boolean;
6603
6587
  /**
6604
- * @rc
6605
6588
  * @remarks
6606
6589
  * Returns whether the ContainerSlot is valid. The container
6607
6590
  * slot is valid if the container exists and is loaded, and the
@@ -7027,7 +7010,6 @@ export class CustomCommandRegistry {
7027
7010
  }
7028
7011
 
7029
7012
  /**
7030
- * @rc
7031
7013
  * Contains the custom component's JSON parameters
7032
7014
  */
7033
7015
  export class CustomComponentParameters {
@@ -7297,7 +7279,6 @@ export class Dimension {
7297
7279
  */
7298
7280
  getBlock(location: Vector3): Block | undefined;
7299
7281
  /**
7300
- * @rc
7301
7282
  * @remarks
7302
7283
  * Gets the first block found above a given block location
7303
7284
  * based on the given options (by default will find the first
@@ -7313,7 +7294,6 @@ export class Dimension {
7313
7294
  */
7314
7295
  getBlockAbove(location: Vector3, options?: BlockRaycastOptions): Block | undefined;
7315
7296
  /**
7316
- * @rc
7317
7297
  * @remarks
7318
7298
  * Gets the first block found below a given block location
7319
7299
  * based on the given options (by default will find the first
@@ -7926,7 +7906,6 @@ export class Effect {
7926
7906
  */
7927
7907
  readonly duration: number;
7928
7908
  /**
7929
- * @rc
7930
7909
  * @remarks
7931
7910
  * Returns whether an effect instance is available for use in
7932
7911
  * this context.
@@ -8244,7 +8223,6 @@ export class Entity {
8244
8223
  */
8245
8224
  readonly isSwimming: boolean;
8246
8225
  /**
8247
- * @rc
8248
8226
  * @remarks
8249
8227
  * Returns whether the entity can be manipulated by script. A
8250
8228
  * Player is considered valid when it's EntityLifetimeState is
@@ -8836,7 +8814,6 @@ export class Entity {
8836
8814
  */
8837
8815
  kill(): boolean;
8838
8816
  /**
8839
- * @rc
8840
8817
  * @remarks
8841
8818
  * Sets the rotation of the entity to face a target location.
8842
8819
  * Both pitch and yaw will be set, if applicable, such as for
@@ -12662,7 +12639,6 @@ export class ItemCooldownComponent extends ItemComponent {
12662
12639
  }
12663
12640
 
12664
12641
  /**
12665
- * @rc
12666
12642
  * An instance of a custom component on an item.
12667
12643
  */
12668
12644
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -14099,7 +14075,6 @@ export class LeverActionAfterEvent extends BlockEvent {
14099
14075
  export class LeverActionAfterEventSignal {
14100
14076
  private constructor();
14101
14077
  /**
14102
- * @rc
14103
14078
  * @remarks
14104
14079
  * Adds a callback that will be called when a lever is moved
14105
14080
  * (activates or deactivates).
@@ -14111,7 +14086,6 @@ export class LeverActionAfterEventSignal {
14111
14086
  */
14112
14087
  subscribe(callback: (arg0: LeverActionAfterEvent) => void): (arg0: LeverActionAfterEvent) => void;
14113
14088
  /**
14114
- * @rc
14115
14089
  * @remarks
14116
14090
  * Removes a callback from being called when a lever is moved
14117
14091
  * (activates or deactivates).
@@ -14405,7 +14379,6 @@ export class Player extends Entity {
14405
14379
  */
14406
14380
  commandPermissionLevel: CommandPermissionLevel;
14407
14381
  /**
14408
- * @rc
14409
14382
  * @remarks
14410
14383
  * Gets the current graphics mode of the player's client. This
14411
14384
  * can be changed in the Video section of the settings menu
@@ -16049,7 +16022,6 @@ export class PlayerJoinAfterEvent {
16049
16022
  export class PlayerJoinAfterEventSignal {
16050
16023
  private constructor();
16051
16024
  /**
16052
- * @rc
16053
16025
  * @remarks
16054
16026
  * Adds a callback that will be called when a player joins the
16055
16027
  * world.
@@ -16061,7 +16033,6 @@ export class PlayerJoinAfterEventSignal {
16061
16033
  */
16062
16034
  subscribe(callback: (arg0: PlayerJoinAfterEvent) => void): (arg0: PlayerJoinAfterEvent) => void;
16063
16035
  /**
16064
- * @rc
16065
16036
  * @remarks
16066
16037
  * Removes a callback from being called when a player joins the
16067
16038
  * world.
@@ -16102,7 +16073,6 @@ export class PlayerLeaveAfterEvent {
16102
16073
  export class PlayerLeaveAfterEventSignal {
16103
16074
  private constructor();
16104
16075
  /**
16105
- * @rc
16106
16076
  * @remarks
16107
16077
  * Adds a callback that will be called when a player leaves the
16108
16078
  * world.
@@ -16114,7 +16084,6 @@ export class PlayerLeaveAfterEventSignal {
16114
16084
  */
16115
16085
  subscribe(callback: (arg0: PlayerLeaveAfterEvent) => void): (arg0: PlayerLeaveAfterEvent) => void;
16116
16086
  /**
16117
- * @rc
16118
16087
  * @remarks
16119
16088
  * Removes a callback from being called when a player leaves
16120
16089
  * the world.
@@ -16327,7 +16296,6 @@ export class PlayerSpawnAfterEvent {
16327
16296
  export class PlayerSpawnAfterEventSignal {
16328
16297
  private constructor();
16329
16298
  /**
16330
- * @rc
16331
16299
  * @remarks
16332
16300
  * Registers a new event receiver for this particular type of
16333
16301
  * event.
@@ -16339,7 +16307,6 @@ export class PlayerSpawnAfterEventSignal {
16339
16307
  */
16340
16308
  subscribe(callback: (arg0: PlayerSpawnAfterEvent) => void): (arg0: PlayerSpawnAfterEvent) => void;
16341
16309
  /**
16342
- * @rc
16343
16310
  * @remarks
16344
16311
  * De-registers an event receiver for the player spawn event.
16345
16312
  *
@@ -16859,7 +16826,6 @@ export class ScoreboardIdentity {
16859
16826
  */
16860
16827
  readonly id: number;
16861
16828
  /**
16862
- * @rc
16863
16829
  * @remarks
16864
16830
  * Returns true if the ScoreboardIdentity reference is still
16865
16831
  * valid.
@@ -16903,7 +16869,6 @@ export class ScoreboardObjective {
16903
16869
  */
16904
16870
  readonly id: string;
16905
16871
  /**
16906
- * @rc
16907
16872
  * @remarks
16908
16873
  * Returns true if the ScoreboardObjective reference is still
16909
16874
  * valid.
@@ -17062,7 +17027,6 @@ export class ScoreboardScoreInfo {
17062
17027
  export class ScreenDisplay {
17063
17028
  private constructor();
17064
17029
  /**
17065
- * @rc
17066
17030
  * @remarks
17067
17031
  * Returns true if the current reference to this screen display
17068
17032
  * manager object is valid and functional.
@@ -17097,7 +17061,6 @@ export class ScreenDisplay {
17097
17061
  */
17098
17062
  isForcedHidden(hudElement: HudElement): boolean;
17099
17063
  /**
17100
- * @rc
17101
17064
  * @remarks
17102
17065
  * This function can't be called in read-only mode.
17103
17066
  *
@@ -17407,7 +17370,6 @@ export class ServerMessageAfterEventSignal {
17407
17370
  }
17408
17371
 
17409
17372
  /**
17410
- * @rc
17411
17373
  * Provides an adaptable interface for callers to subscribe to
17412
17374
  * an event that fires before the game world shuts down. This
17413
17375
  * event occurs after players have left, but before the world
@@ -17444,7 +17406,6 @@ export class ShutdownBeforeEventSignal {
17444
17406
  }
17445
17407
 
17446
17408
  /**
17447
- * @rc
17448
17409
  * The event object that gets dispatched when the game world is
17449
17410
  * shutting down.
17450
17411
  */
@@ -17452,9 +17413,6 @@ export class ShutdownEvent {
17452
17413
  private constructor();
17453
17414
  }
17454
17415
 
17455
- /**
17456
- * @rc
17457
- */
17458
17416
  export class StartupBeforeEventSignal {
17459
17417
  private constructor();
17460
17418
  /**
@@ -17475,9 +17433,6 @@ export class StartupBeforeEventSignal {
17475
17433
  unsubscribe(callback: (arg0: StartupEvent) => void): void;
17476
17434
  }
17477
17435
 
17478
- /**
17479
- * @rc
17480
- */
17481
17436
  export class StartupEvent {
17482
17437
  private constructor();
17483
17438
  /**
@@ -17518,7 +17473,6 @@ export class Structure {
17518
17473
  */
17519
17474
  readonly id: string;
17520
17475
  /**
17521
- * @rc
17522
17476
  * @remarks
17523
17477
  * Returns whether the Structure is valid. The Structure may
17524
17478
  * become invalid if it is deleted.
@@ -17878,7 +17832,6 @@ export class System {
17878
17832
  */
17879
17833
  readonly afterEvents: SystemAfterEvents;
17880
17834
  /**
17881
- * @rc
17882
17835
  * @remarks
17883
17836
  * Returns a collection of before-events for system-level
17884
17837
  * operations.
@@ -17896,7 +17849,6 @@ export class System {
17896
17849
  */
17897
17850
  readonly currentTick: number;
17898
17851
  /**
17899
- * @rc
17900
17852
  * @remarks
17901
17853
  * Returns true if this is a world where the editor is
17902
17854
  * currently loaded, returns false otherwise.
@@ -18116,7 +18068,6 @@ export class SystemAfterEvents {
18116
18068
  }
18117
18069
 
18118
18070
  /**
18119
- * @rc
18120
18071
  * A set of events that fire before an actual action occurs. In
18121
18072
  * most cases, you can potentially cancel or modify the
18122
18073
  * impending event. Note that in before events any APIs that
@@ -19453,7 +19404,6 @@ export class WorldAfterEvents {
19453
19404
  */
19454
19405
  readonly weatherChange: WeatherChangeAfterEventSignal;
19455
19406
  /**
19456
- * @rc
19457
19407
  * @remarks
19458
19408
  * This property can be read in early-execution mode.
19459
19409
  *
@@ -19597,16 +19547,10 @@ export class WorldBeforeEvents {
19597
19547
  readonly weatherChange: WeatherChangeBeforeEventSignal;
19598
19548
  }
19599
19549
 
19600
- /**
19601
- * @rc
19602
- */
19603
19550
  export class WorldLoadAfterEvent {
19604
19551
  private constructor();
19605
19552
  }
19606
19553
 
19607
- /**
19608
- * @rc
19609
- */
19610
19554
  export class WorldLoadAfterEventSignal {
19611
19555
  private constructor();
19612
19556
  /**
@@ -19700,9 +19644,6 @@ export interface BlockCustomComponent {
19700
19644
  *
19701
19645
  */
19702
19646
  onPlace?: (arg0: BlockComponentOnPlaceEvent, arg1: CustomComponentParameters) => void;
19703
- /**
19704
- * @rc
19705
- */
19706
19647
  onPlayerBreak?: (arg0: BlockComponentPlayerBreakEvent, arg1: CustomComponentParameters) => void;
19707
19648
  /**
19708
19649
  * @remarks
@@ -20231,7 +20172,6 @@ export interface DimensionLocation {
20231
20172
  }
20232
20173
 
20233
20174
  /**
20234
- * @rc
20235
20175
  * Contains options associated with easing between positions
20236
20176
  * and/or rotations.
20237
20177
  */
@@ -21634,7 +21574,6 @@ export interface ScriptEventMessageFilterOptions {
21634
21574
  }
21635
21575
 
21636
21576
  /**
21637
- * @rc
21638
21577
  * Contains additional options for spawning an Entity.
21639
21578
  */
21640
21579
  export interface SpawnEntityOptions {
@@ -22193,7 +22132,6 @@ export const HudVisibilityCount = 2;
22193
22132
  */
22194
22133
  export const MoonPhaseCount = 8;
22195
22134
  /**
22196
- * @rc
22197
22135
  * @remarks
22198
22136
  * How many times the server ticks in one in-game day.
22199
22137
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.1.0-beta.1.21.90-preview.27",
3
+ "version": "2.1.0-beta.1.21.90-stable",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {