@minecraft/server 2.11.0-beta.1.26.50-preview.27 → 2.11.0-beta.1.26.50-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 -58
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -47,14 +47,8 @@ export enum AimAssistTargetMode {
47
47
  * function Block.getComponent.
48
48
  */
49
49
  export enum BlockComponentTypes {
50
- /**
51
- * @rc
52
- */
53
50
  DynamicProperties = 'minecraft:dynamic_properties',
54
51
  FluidContainer = 'minecraft:fluid_container',
55
- /**
56
- * @rc
57
- */
58
52
  Instrument = 'minecraft:instrument_sound',
59
53
  /**
60
54
  * @remarks
@@ -202,7 +196,6 @@ export enum ButtonState {
202
196
  }
203
197
 
204
198
  /**
205
- * @rc
206
199
  * Represents the type of shake to apply to the camera.
207
200
  */
208
201
  export enum CameraShakeType {
@@ -221,7 +214,6 @@ export enum CameraShakeType {
221
214
  }
222
215
 
223
216
  /**
224
- * @rc
225
217
  * An enumeration for the clone modes used when cloning blocks.
226
218
  */
227
219
  export enum CloneMode {
@@ -2253,9 +2245,6 @@ export enum InputPermissionCategory {
2253
2245
  * function ItemStack.getComponent.
2254
2246
  */
2255
2247
  export enum ItemComponentTypes {
2256
- /**
2257
- * @rc
2258
- */
2259
2248
  BlockDynamicProperties = 'minecraft:block_actor_dynamic_properties',
2260
2249
  /**
2261
2250
  * @remarks
@@ -5233,7 +5222,6 @@ export class BlockCustomComponentInstance extends BlockComponent {
5233
5222
  }
5234
5223
 
5235
5224
  /**
5236
- * @rc
5237
5225
  * Represents the dynamic properties of a block in the world.
5238
5226
  * Only available with block entities. Up to 1KB per content
5239
5227
  * pack, per block entity in their dynamic properties storage.
@@ -5473,7 +5461,6 @@ export class BlockFluidContainerComponent extends BlockComponent {
5473
5461
  }
5474
5462
 
5475
5463
  /**
5476
- * @rc
5477
5464
  * Represents the instruments a block can have assigned to it's
5478
5465
  * up and down faces.
5479
5466
  */
@@ -6540,7 +6527,6 @@ export class BlockVolumeBase {
6540
6527
  */
6541
6528
  getCapacity(): number;
6542
6529
  /**
6543
- * @rc
6544
6530
  * @remarks
6545
6531
  * Returns a list of block positions within the volume that are
6546
6532
  * closest to a given location, sorted by distance (nearest
@@ -6556,7 +6542,6 @@ export class BlockVolumeBase {
6556
6542
  */
6557
6543
  getClosest(count: number, location: Vector3): Vector3[];
6558
6544
  /**
6559
- * @rc
6560
6545
  * @remarks
6561
6546
  * Returns a list of block positions within the volume that are
6562
6547
  * farthest from a given location, sorted by distance (farthest
@@ -6731,7 +6716,6 @@ export class Camera {
6731
6716
  */
6732
6717
  readonly isValid: boolean;
6733
6718
  /**
6734
- * @rc
6735
6719
  * @remarks
6736
6720
  * @privilege no-restricted-execution - This function can't be called in restricted-execution mode.
6737
6721
  *
@@ -6848,7 +6832,6 @@ export class Camera {
6848
6832
  */
6849
6833
  setFov(fovCameraOptions?: CameraFovOptions): void;
6850
6834
  /**
6851
- * @rc
6852
6835
  * @remarks
6853
6836
  * @privilege no-restricted-execution - This function can't be called in restricted-execution mode.
6854
6837
  *
@@ -8167,7 +8150,6 @@ export class Dimension {
8167
8150
  options?: BiomeSearchOptions,
8168
8151
  ): Vector3 | undefined;
8169
8152
  /**
8170
- * @rc
8171
8153
  * @remarks
8172
8154
  * Clones a region of blocks from one area of the dimension to
8173
8155
  * another.
@@ -8438,7 +8420,6 @@ export class Dimension {
8438
8420
  */
8439
8421
  getBlockFromRay(location: Vector3, direction: Vector3, options?: BlockRaycastOptions): BlockRaycastHit | undefined;
8440
8422
  /**
8441
- * @rc
8442
8423
  * @remarks
8443
8424
  * Gets all the blocks in a volume that satisfy the block query
8444
8425
  * options.
@@ -13624,7 +13605,6 @@ export class EntitySpawnAfterEventSignal {
13624
13605
  }
13625
13606
 
13626
13607
  /**
13627
- * @rc
13628
13608
  * Contains data related to an entity beginning to sneak.
13629
13609
  */
13630
13610
  export class EntityStartSneakingAfterEvent {
@@ -13638,7 +13618,6 @@ export class EntityStartSneakingAfterEvent {
13638
13618
  }
13639
13619
 
13640
13620
  /**
13641
- * @rc
13642
13621
  * Manages callbacks that are connected to when an entity
13643
13622
  * begins sneaking.
13644
13623
  */
@@ -13672,7 +13651,6 @@ export class EntityStartSneakingAfterEventSignal {
13672
13651
  }
13673
13652
 
13674
13653
  /**
13675
- * @rc
13676
13654
  * Contains data related to an entity stopping sneaking.
13677
13655
  */
13678
13656
  export class EntityStopSneakingAfterEvent {
@@ -13686,7 +13664,6 @@ export class EntityStopSneakingAfterEvent {
13686
13664
  }
13687
13665
 
13688
13666
  /**
13689
- * @rc
13690
13667
  * Manages callbacks that are connected to when an entity stops
13691
13668
  * sneaking.
13692
13669
  */
@@ -13807,7 +13784,6 @@ export class EntityTameableComponent extends EntityComponent {
13807
13784
  }
13808
13785
 
13809
13786
  /**
13810
- * @rc
13811
13787
  * Contains data related to an entity being tamed.
13812
13788
  */
13813
13789
  export class EntityTamedAfterEvent {
@@ -13817,7 +13793,6 @@ export class EntityTamedAfterEvent {
13817
13793
  }
13818
13794
 
13819
13795
  /**
13820
- * @rc
13821
13796
  * Manages callbacks that are connected to when an entity is
13822
13797
  * tamed.
13823
13798
  */
@@ -13845,7 +13820,6 @@ export class EntityTamedAfterEventSignal {
13845
13820
  }
13846
13821
 
13847
13822
  /**
13848
- * @rc
13849
13823
  * Contains information regarding an event before an entity is
13850
13824
  * tamed.
13851
13825
  */
@@ -13872,7 +13846,6 @@ export class EntityTamedBeforeEvent {
13872
13846
  }
13873
13847
 
13874
13848
  /**
13875
- * @rc
13876
13849
  * Manages callbacks that are connected to before an entity is
13877
13850
  * tamed.
13878
13851
  */
@@ -14423,7 +14396,6 @@ export class FluidContainer {
14423
14396
  }
14424
14397
 
14425
14398
  /**
14426
- * @rc
14427
14399
  * Provides access to the fog definitions stack of a player
14428
14400
  * entity, allowing scripts to push, pop, remove, and query
14429
14401
  * active fog definitions.
@@ -14905,7 +14877,6 @@ export class ISerializable {
14905
14877
  }
14906
14878
 
14907
14879
  /**
14908
- * @rc
14909
14880
  * Represents the dynamic properties of a block. Only available
14910
14881
  * from block entities. Up to 1KBytes of data can be stored per
14911
14882
  * content pack per block entity in their dynamic properties
@@ -18044,7 +18015,6 @@ export class Player extends Entity {
18044
18015
  */
18045
18016
  commandPermissionLevel: CommandPermissionLevel;
18046
18017
  /**
18047
- * @rc
18048
18018
  * @remarks
18049
18019
  * Contains methods for manipulating the render distance fog
18050
18020
  * settings of a Player.
@@ -21061,7 +21031,6 @@ export class PrimitiveShapesManager {
21061
21031
  */
21062
21032
  addText(text: TextPrimitive, dimension?: Dimension): void;
21063
21033
  /**
21064
- * @rc
21065
21034
  * @remarks
21066
21035
  * Fetches and queries all primitive shapes stored in the
21067
21036
  * manager and returns the results as an array of shape
@@ -22356,7 +22325,6 @@ export class SmeltItemFunction extends LootItemFunction {
22356
22325
  }
22357
22326
 
22358
22327
  /**
22359
- * @rc
22360
22328
  * Contains information about a sound thats declared duration
22361
22329
  * elapsed.
22362
22330
  */
@@ -22373,7 +22341,6 @@ export class SoundCompletedAfterEvent {
22373
22341
  }
22374
22342
 
22375
22343
  /**
22376
- * @rc
22377
22344
  * Manages callbacks that are invoked when a tracked sound's
22378
22345
  * declared duration elapses.
22379
22346
  */
@@ -22410,7 +22377,6 @@ export class SoundCompletedAfterEventSignal {
22410
22377
  export class SoundDefinition {
22411
22378
  private constructor();
22412
22379
  /**
22413
- * @rc
22414
22380
  * @remarks
22415
22381
  * Duration metadata declared for this sound. Undefined when
22416
22382
  * the sound definition does not specify a duration.
@@ -22418,7 +22384,6 @@ export class SoundDefinition {
22418
22384
  */
22419
22385
  readonly durationInfo?: SoundDefinitionDurationInfo;
22420
22386
  /**
22421
- * @rc
22422
22387
  * @remarks
22423
22388
  * Music metadata declared for this sound. Undefined when the
22424
22389
  * sound definition does not specify a music_info block.
@@ -22426,7 +22391,6 @@ export class SoundDefinition {
22426
22391
  */
22427
22392
  readonly musicInfo?: SoundDefinitionMusicInfo;
22428
22393
  /**
22429
- * @rc
22430
22394
  * @remarks
22431
22395
  * Identifier of the sound event this definition declares, in
22432
22396
  * the form 'namespace:name'.
@@ -22434,7 +22398,6 @@ export class SoundDefinition {
22434
22398
  */
22435
22399
  readonly soundEventId: string;
22436
22400
  /**
22437
- * @rc
22438
22401
  * @remarks
22439
22402
  * Tag metadata declared for this sound, as a record mapping
22440
22403
  * each tag name to its declared values. A tag declared with a
@@ -22447,7 +22410,6 @@ export class SoundDefinition {
22447
22410
  }
22448
22411
 
22449
22412
  /**
22450
- * @rc
22451
22413
  * Provides read-only access to the sound definitions loaded
22452
22414
  * for the current world.
22453
22415
  */
@@ -22474,7 +22436,6 @@ export class SoundDefinitionRegistry {
22474
22436
  }
22475
22437
 
22476
22438
  /**
22477
- * @rc
22478
22439
  * Provides duration and playback information for a sound whose
22479
22440
  * definition declares a duration.
22480
22441
  */
@@ -22518,28 +22479,24 @@ export class SoundDurationInfo {
22518
22479
  export class SoundInstance {
22519
22480
  private constructor();
22520
22481
  /**
22521
- * @rc
22522
22482
  * @remarks
22523
22483
  * Gets duration and playback information for this sound.
22524
22484
  *
22525
22485
  */
22526
22486
  readonly durationInfo?: SoundDurationInfo;
22527
22487
  /**
22528
- * @rc
22529
22488
  * @remarks
22530
22489
  * Unique identifier of this sound instance.
22531
22490
  *
22532
22491
  */
22533
22492
  readonly id: string;
22534
22493
  /**
22535
- * @rc
22536
22494
  * @remarks
22537
22495
  * Gets the player this sound was played for.
22538
22496
  *
22539
22497
  */
22540
22498
  readonly recipient?: Player;
22541
22499
  /**
22542
- * @rc
22543
22500
  * @remarks
22544
22501
  * Gets the identifier of the sound event this instance was
22545
22502
  * started with.
@@ -24154,7 +24111,6 @@ export class World {
24154
24111
  */
24155
24112
  readonly seed: string;
24156
24113
  /**
24157
- * @rc
24158
24114
  * @remarks
24159
24115
  * Provides read-only access to the sound definitions loaded
24160
24116
  * for this world.
@@ -24828,7 +24784,6 @@ export class WorldAfterEvents {
24828
24784
  */
24829
24785
  readonly entitySpawn: EntitySpawnAfterEventSignal;
24830
24786
  /**
24831
- * @rc
24832
24787
  * @remarks
24833
24788
  * This event fires when an entity starts sneaking.
24834
24789
  *
@@ -24837,7 +24792,6 @@ export class WorldAfterEvents {
24837
24792
  */
24838
24793
  readonly entityStartSneaking: EntityStartSneakingAfterEventSignal;
24839
24794
  /**
24840
- * @rc
24841
24795
  * @remarks
24842
24796
  * This event fires when an entity stops sneaking.
24843
24797
  *
@@ -24846,7 +24800,6 @@ export class WorldAfterEvents {
24846
24800
  */
24847
24801
  readonly entityStopSneaking: EntityStopSneakingAfterEventSignal;
24848
24802
  /**
24849
- * @rc
24850
24803
  * @remarks
24851
24804
  * This event fires when an entity is tamed.
24852
24805
  *
@@ -25165,7 +25118,6 @@ export class WorldAfterEvents {
25165
25118
  */
25166
25119
  readonly projectileHitEntity: ProjectileHitEntityAfterEventSignal;
25167
25120
  /**
25168
- * @rc
25169
25121
  * @remarks
25170
25122
  * A tracked sound's declared duration elapsed.
25171
25123
  *
@@ -25332,7 +25284,6 @@ export class WorldBeforeEvents {
25332
25284
  */
25333
25285
  readonly entityRemove: EntityRemoveBeforeEventSignal;
25334
25286
  /**
25335
- * @rc
25336
25287
  * @remarks
25337
25288
  * Fires before an entity is tamed.
25338
25289
  *
@@ -26205,7 +26156,6 @@ export interface BlockHitInformation {
26205
26156
  }
26206
26157
 
26207
26158
  /**
26208
- * @rc
26209
26159
  * Options for querying blocks in a volume. Extends BlockFilter
26210
26160
  * with additional sorting and limiting options based on
26211
26161
  * distance from a location.
@@ -26409,7 +26359,6 @@ export interface CameraSetRotOptions {
26409
26359
  }
26410
26360
 
26411
26361
  /**
26412
- * @rc
26413
26362
  * Options for applying a camera shake effect to a player's
26414
26363
  * camera via `Camera.addShake`. Each call to `addShake` queues
26415
26364
  * a new independent shake event for the specified `type`;
@@ -27471,7 +27420,6 @@ export interface EntityRaycastOptions extends EntityFilter {
27471
27420
  }
27472
27421
 
27473
27422
  /**
27474
- * @rc
27475
27423
  * Options used to filter entity start sneaking and stop
27476
27424
  * sneaking events.
27477
27425
  */
@@ -27480,7 +27428,6 @@ export interface EntitySneakingChangedEventOptions {
27480
27428
  }
27481
27429
 
27482
27430
  /**
27483
- * @rc
27484
27431
  * Contains options for filtering entity tamed events.
27485
27432
  */
27486
27433
  export interface EntityTamedEventOptions {
@@ -28167,7 +28114,6 @@ export interface PoiTagFilter {
28167
28114
  }
28168
28115
 
28169
28116
  /**
28170
- * @rc
28171
28117
  * Contains optional filters that control which primitive
28172
28118
  * shapes are returned from a primitive shapes query.
28173
28119
  */
@@ -28525,7 +28471,6 @@ export interface ScriptEventMessageFilterOptions {
28525
28471
  }
28526
28472
 
28527
28473
  /**
28528
- * @rc
28529
28474
  * Duration metadata declared in a sound definition.
28530
28475
  */
28531
28476
  export interface SoundDefinitionDurationInfo {
@@ -28539,7 +28484,6 @@ export interface SoundDefinitionDurationInfo {
28539
28484
  }
28540
28485
 
28541
28486
  /**
28542
- * @rc
28543
28487
  * Criteria used to narrow a set of sound definitions. Each
28544
28488
  * field is optional and applies its constraint only when
28545
28489
  * defined; a definition must satisfy every defined field to
@@ -28618,7 +28562,6 @@ export interface SoundDefinitionFilter {
28618
28562
  }
28619
28563
 
28620
28564
  /**
28621
- * @rc
28622
28565
  * Music metadata declared on a sound definition. Each field is
28623
28566
  * optional and is undefined when the sound definition does not
28624
28567
  * declare a value for it.
@@ -29375,7 +29318,6 @@ export class EntitySpawnError extends Error {
29375
29318
  }
29376
29319
 
29377
29320
  /**
29378
- * @rc
29379
29321
  * Error thrown by {@link FogSettings} operations when the fog
29380
29322
  * stack limit is exceeded or an invalid fog identifier is
29381
29323
  * provided.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.11.0-beta.1.26.50-preview.27",
3
+ "version": "2.11.0-beta.1.26.50-stable",
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.50-preview.27"
17
+ "@minecraft/vanilla-data": ">=1.20.70"
18
18
  },
19
19
  "license": "MIT"
20
20
  }