@minecraft/server 2.6.0-rc.1.26.10-preview.27 → 2.6.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.
Files changed (3) hide show
  1. package/README.md +0 -2
  2. package/index.d.ts +0 -62
  3. package/package.json +2 -2
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
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.
@@ -681,7 +680,6 @@ export enum EnchantmentSlot {
681
680
  }
682
681
 
683
682
  /**
684
- * @rc
685
683
  * The entity's attach location point. Contains points such as
686
684
  * head, body, leg, etc to attach the camera to.
687
685
  */
@@ -1393,7 +1391,6 @@ export enum EntityDamageCause {
1393
1391
  }
1394
1392
 
1395
1393
  /**
1396
- * @rc
1397
1394
  * Describes the source of healing of an Entity.
1398
1395
  */
1399
1396
  export enum EntityHealCause {
@@ -2747,7 +2744,6 @@ export enum StructureSaveMode {
2747
2744
  }
2748
2745
 
2749
2746
  /**
2750
- * @rc
2751
2747
  * The reason that the {@link
2752
2748
  * @minecraft/server.TickingAreaError} was thrown.
2753
2749
  */
@@ -3371,7 +3367,6 @@ export class Block {
3371
3367
  */
3372
3368
  getComponent<T extends string>(componentId: T): BlockComponentReturnType<T> | undefined;
3373
3369
  /**
3374
- * @rc
3375
3370
  * @remarks
3376
3371
  * Returns all scripting components that are present on this
3377
3372
  * block.
@@ -3467,7 +3462,6 @@ export class Block {
3467
3462
  */
3468
3463
  getTags(): string[];
3469
3464
  /**
3470
- * @rc
3471
3465
  * @remarks
3472
3466
  * Returns true if the specified component is present on this
3473
3467
  * block.
@@ -3751,7 +3745,6 @@ export class BlockComponentBlockBreakEvent extends BlockEvent {
3751
3745
  }
3752
3746
 
3753
3747
  /**
3754
- * @rc
3755
3748
  * Contains information regarding an event sent by an entity to
3756
3749
  * this block in the world.
3757
3750
  */
@@ -3925,7 +3918,6 @@ export class BlockComponentRedstoneUpdateEvent extends BlockEvent {
3925
3918
  */
3926
3919
  readonly powerLevel: number;
3927
3920
  /**
3928
- * @rc
3929
3921
  * @remarks
3930
3922
  * The redstone signal strength from the last tick that was
3931
3923
  * passing through this block. It is guaranteed to be >= the
@@ -4314,7 +4306,6 @@ export class BlockMovableComponent extends BlockComponent {
4314
4306
  export class BlockPermutation {
4315
4307
  private constructor();
4316
4308
  /**
4317
- * @rc
4318
4309
  * @remarks
4319
4310
  * Key for the localization of this BlockPermutation's name
4320
4311
  * used in .lang files.
@@ -4984,7 +4975,6 @@ export class BlockType {
4984
4975
  */
4985
4976
  readonly id: string;
4986
4977
  /**
4987
- * @rc
4988
4978
  * @remarks
4989
4979
  * Key for the localization of this BlockType's name used in
4990
4980
  * .lang files.
@@ -5280,7 +5270,6 @@ export class Camera {
5280
5270
  */
5281
5271
  readonly isValid: boolean;
5282
5272
  /**
5283
- * @rc
5284
5273
  * @remarks
5285
5274
  * Attaches the camera to a non-player entity.
5286
5275
  *
@@ -5317,7 +5306,6 @@ export class Camera {
5317
5306
  */
5318
5307
  fade(fadeCameraOptions?: CameraFadeOptions): void;
5319
5308
  /**
5320
- * @rc
5321
5309
  * @remarks
5322
5310
  * This function can't be called in restricted-execution mode.
5323
5311
  *
@@ -5372,7 +5360,6 @@ export class Camera {
5372
5360
  }
5373
5361
 
5374
5362
  /**
5375
- * @rc
5376
5363
  * CatmullRom spline creation.
5377
5364
  */
5378
5365
  export class CatmullRomSpline {
@@ -6449,7 +6436,6 @@ export class Dimension {
6449
6436
  */
6450
6437
  readonly localizationKey: string;
6451
6438
  /**
6452
- * @rc
6453
6439
  * @remarks
6454
6440
  * Checks if an area contains the specified biomes. If the area
6455
6441
  * is partially inside world boundaries, only the area that is
@@ -9162,7 +9148,6 @@ export class EntityDefinitionFeedItem {
9162
9148
  */
9163
9149
  readonly item: string;
9164
9150
  /**
9165
- * @rc
9166
9151
  * @remarks
9167
9152
  * Type ID of the resulting item after feeding has occurred.
9168
9153
  * This will usually be empty but is used for scenarios such as
@@ -9435,7 +9420,6 @@ export class EntityHealableComponent extends EntityComponent {
9435
9420
  }
9436
9421
 
9437
9422
  /**
9438
- * @rc
9439
9423
  * Contains information related to an entity having been
9440
9424
  * healed.
9441
9425
  */
@@ -9462,7 +9446,6 @@ export class EntityHealAfterEvent {
9462
9446
  }
9463
9447
 
9464
9448
  /**
9465
- * @rc
9466
9449
  * Manages callbacks that are connected to when an entity is
9467
9450
  * healed.
9468
9451
  */
@@ -9496,7 +9479,6 @@ export class EntityHealAfterEventSignal {
9496
9479
  }
9497
9480
 
9498
9481
  /**
9499
- * @rc
9500
9482
  * Contains information related to an entity that will be
9501
9483
  * healed.
9502
9484
  */
@@ -9524,7 +9506,6 @@ export class EntityHealBeforeEvent {
9524
9506
  }
9525
9507
 
9526
9508
  /**
9527
- * @rc
9528
9509
  * Manages callbacks that are connected to when an entity will
9529
9510
  * be healed.
9530
9511
  */
@@ -9564,7 +9545,6 @@ export class EntityHealBeforeEventSignal {
9564
9545
  }
9565
9546
 
9566
9547
  /**
9567
- * @rc
9568
9548
  * Provides information about how healing has been applied to
9569
9549
  * an entity.
9570
9550
  */
@@ -9822,7 +9802,6 @@ export class EntityHurtAfterEvent {
9822
9802
  }
9823
9803
 
9824
9804
  /**
9825
- * @rc
9826
9805
  * Manages callbacks that are connected to when an entity is
9827
9806
  * hurt.
9828
9807
  */
@@ -9854,7 +9833,6 @@ export class EntityHurtAfterEventSignal {
9854
9833
  }
9855
9834
 
9856
9835
  /**
9857
- * @rc
9858
9836
  * Contains information related to an entity that will be hurt.
9859
9837
  */
9860
9838
  export class EntityHurtBeforeEvent {
@@ -9882,7 +9860,6 @@ export class EntityHurtBeforeEvent {
9882
9860
  }
9883
9861
 
9884
9862
  /**
9885
- * @rc
9886
9863
  * Manages callbacks that are connected to when an entity will
9887
9864
  * be hurt.
9888
9865
  */
@@ -10159,7 +10136,6 @@ export class EntityItemComponent extends EntityComponent {
10159
10136
  }
10160
10137
 
10161
10138
  /**
10162
- * @rc
10163
10139
  * Contains information related to an entity having dropped
10164
10140
  * items.
10165
10141
  */
@@ -10180,7 +10156,6 @@ export class EntityItemDropAfterEvent {
10180
10156
  }
10181
10157
 
10182
10158
  /**
10183
- * @rc
10184
10159
  * Manages callbacks that are connected to when an entity has
10185
10160
  * dropped items.
10186
10161
  */
@@ -10214,7 +10189,6 @@ export class EntityItemDropAfterEventSignal {
10214
10189
  }
10215
10190
 
10216
10191
  /**
10217
- * @rc
10218
10192
  * Contains information related to an entity having picked up
10219
10193
  * items.
10220
10194
  */
@@ -10235,7 +10209,6 @@ export class EntityItemPickupAfterEvent {
10235
10209
  }
10236
10210
 
10237
10211
  /**
10238
- * @rc
10239
10212
  * Manages callbacks that are connected to when an entity has
10240
10213
  * picked up items.
10241
10214
  */
@@ -10269,7 +10242,6 @@ export class EntityItemPickupAfterEventSignal {
10269
10242
  }
10270
10243
 
10271
10244
  /**
10272
- * @rc
10273
10245
  * Contains information related to an entity picking up an
10274
10246
  * item.
10275
10247
  */
@@ -10296,7 +10268,6 @@ export class EntityItemPickupBeforeEvent {
10296
10268
  }
10297
10269
 
10298
10270
  /**
10299
- * @rc
10300
10271
  * Manages callbacks that are connected to when an entity will
10301
10272
  * pick up an item.
10302
10273
  */
@@ -11700,7 +11671,6 @@ export class EntityType {
11700
11671
  */
11701
11672
  readonly id: string;
11702
11673
  /**
11703
- * @rc
11704
11674
  * @remarks
11705
11675
  * Key for the localization of this EntityType's name used in
11706
11676
  * .lang files.
@@ -11945,7 +11915,6 @@ export class FeedItem {
11945
11915
  */
11946
11916
  readonly item: string;
11947
11917
  /**
11948
- * @rc
11949
11918
  * @remarks
11950
11919
  * Type ID of the resulting item after feeding has occurred.
11951
11920
  * This will usually be empty but is used for scenarios such as
@@ -13002,7 +12971,6 @@ export class ItemDurabilityComponent extends ItemComponent {
13002
12971
  */
13003
12972
  readonly maxDurability: number;
13004
12973
  /**
13005
- * @rc
13006
12974
  * @remarks
13007
12975
  * Whether an item breaks or loses durability. Setting to true
13008
12976
  * temporarily removes item's durability HUD, and freezes
@@ -14167,7 +14135,6 @@ export class ItemType {
14167
14135
  */
14168
14136
  readonly id: string;
14169
14137
  /**
14170
- * @rc
14171
14138
  * @remarks
14172
14139
  * Key for the localization of this ItemType's name used in
14173
14140
  * .lang files.
@@ -14478,7 +14445,6 @@ export class LeverActionAfterEventSignal {
14478
14445
  }
14479
14446
 
14480
14447
  /**
14481
- * @rc
14482
14448
  * A spline that linearly interpolates between points.
14483
14449
  */
14484
14450
  export class LinearSpline {
@@ -19223,7 +19189,6 @@ export class TargetBlockHitAfterEventSignal {
19223
19189
  }
19224
19190
 
19225
19191
  /**
19226
- * @rc
19227
19192
  * This manager is used to add, remove or query temporary
19228
19193
  * ticking areas to a dimension. These ticking areas are
19229
19194
  * limited by a fixed amount of ticking chunks per pack
@@ -19652,7 +19617,6 @@ export class World {
19652
19617
  */
19653
19618
  readonly scoreboard: Scoreboard;
19654
19619
  /**
19655
- * @rc
19656
19620
  * @remarks
19657
19621
  * The world seed.
19658
19622
  *
@@ -19665,7 +19629,6 @@ export class World {
19665
19629
  */
19666
19630
  readonly structureManager: StructureManager;
19667
19631
  /**
19668
- * @rc
19669
19632
  * @remarks
19670
19633
  * Manager for adding, removing and querying pack specific
19671
19634
  * ticking areas.
@@ -20164,7 +20127,6 @@ export class WorldAfterEvents {
20164
20127
  */
20165
20128
  readonly entityDie: EntityDieAfterEventSignal;
20166
20129
  /**
20167
- * @rc
20168
20130
  * @remarks
20169
20131
  * This property can be read in early-execution mode.
20170
20132
  *
@@ -20197,7 +20159,6 @@ export class WorldAfterEvents {
20197
20159
  */
20198
20160
  readonly entityHitEntity: EntityHitEntityAfterEventSignal;
20199
20161
  /**
20200
- * @rc
20201
20162
  * @remarks
20202
20163
  * This event fires when an entity is hurt (takes damage).
20203
20164
  *
@@ -20206,7 +20167,6 @@ export class WorldAfterEvents {
20206
20167
  */
20207
20168
  readonly entityHurt: EntityHurtAfterEventSignal;
20208
20169
  /**
20209
- * @rc
20210
20170
  * @remarks
20211
20171
  * This event fires when an entity drops items.
20212
20172
  *
@@ -20215,7 +20175,6 @@ export class WorldAfterEvents {
20215
20175
  */
20216
20176
  readonly entityItemDrop: EntityItemDropAfterEventSignal;
20217
20177
  /**
20218
- * @rc
20219
20178
  * @remarks
20220
20179
  * This event fires when an entity picks up items.
20221
20180
  *
@@ -20559,21 +20518,18 @@ export class WorldBeforeEvents {
20559
20518
  */
20560
20519
  readonly effectAdd: EffectAddBeforeEventSignal;
20561
20520
  /**
20562
- * @rc
20563
20521
  * @remarks
20564
20522
  * This property can be read in early-execution mode.
20565
20523
  *
20566
20524
  */
20567
20525
  readonly entityHeal: EntityHealBeforeEventSignal;
20568
20526
  /**
20569
- * @rc
20570
20527
  * @remarks
20571
20528
  * This property can be read in early-execution mode.
20572
20529
  *
20573
20530
  */
20574
20531
  readonly entityHurt: EntityHurtBeforeEventSignal;
20575
20532
  /**
20576
- * @rc
20577
20533
  * @remarks
20578
20534
  * This event fires before an entity picks up an item.
20579
20535
  *
@@ -20698,7 +20654,6 @@ export interface AABB {
20698
20654
  }
20699
20655
 
20700
20656
  /**
20701
- * @rc
20702
20657
  * Used to create camera animations.
20703
20658
  */
20704
20659
  export interface AnimationOptions {
@@ -20716,9 +20671,6 @@ export interface AnimationOptions {
20716
20671
  totalTimeSeconds: number;
20717
20672
  }
20718
20673
 
20719
- /**
20720
- * @rc
20721
- */
20722
20674
  export interface BiomeFilter {
20723
20675
  excludeBiomes?: string[];
20724
20676
  excludeTags?: string[];
@@ -20785,7 +20737,6 @@ export interface BlockCustomComponent {
20785
20737
  */
20786
20738
  onBreak?: (arg0: BlockComponentBlockBreakEvent, arg1: CustomComponentParameters) => void;
20787
20739
  /**
20788
- * @rc
20789
20740
  * @remarks
20790
20741
  * This function will be called when an entity fires an event
20791
20742
  * to this block in the world.
@@ -21025,7 +20976,6 @@ export interface BlockRaycastOptions extends BlockFilter {
21025
20976
  }
21026
20977
 
21027
20978
  /**
21028
- * @rc
21029
20979
  * Used to attach the camera to a non player entity.
21030
20980
  */
21031
20981
  export interface CameraAttachOptions {
@@ -21620,7 +21570,6 @@ export interface EntityFilter {
21620
21570
  }
21621
21571
 
21622
21572
  /**
21623
- * @rc
21624
21573
  * Contains optional parameters for registering an entity heal
21625
21574
  * event.
21626
21575
  */
@@ -21655,7 +21604,6 @@ export interface EntityHitInformation {
21655
21604
  }
21656
21605
 
21657
21606
  /**
21658
- * @rc
21659
21607
  * Contains optional parameters for registering an entity hurt
21660
21608
  * after event.
21661
21609
  */
@@ -21691,7 +21639,6 @@ export interface EntityHurtAfterEventOptions {
21691
21639
  }
21692
21640
 
21693
21641
  /**
21694
- * @rc
21695
21642
  * Contains optional parameters for registering an entity hurt
21696
21643
  * before event.
21697
21644
  */
@@ -21713,7 +21660,6 @@ export interface EntityHurtBeforeEventOptions {
21713
21660
  }
21714
21661
 
21715
21662
  /**
21716
- * @rc
21717
21663
  * An interface that is passed into {@link
21718
21664
  * @minecraft/Server.EntityItemDropAfterEventSignal.subscribe}
21719
21665
  * that filters out which events are passed to the provided
@@ -21737,7 +21683,6 @@ export interface EntityItemDropEventOptions {
21737
21683
  }
21738
21684
 
21739
21685
  /**
21740
- * @rc
21741
21686
  * An interface that is passed into {@link
21742
21687
  * @minecraft/Server.EntityItemPickupAfterEventSignal.subscribe}
21743
21688
  * and {@link
@@ -22362,7 +22307,6 @@ export interface ItemCustomComponent {
22362
22307
  }
22363
22308
 
22364
22309
  /**
22365
- * @rc
22366
22310
  * Contains options for filtering items.
22367
22311
  */
22368
22312
  export interface ItemFilter {
@@ -22588,7 +22532,6 @@ export interface PlayerSwingEventOptions {
22588
22532
  }
22589
22533
 
22590
22534
  /**
22591
- * @rc
22592
22535
  * Key frame that holds the progress of the camera animation.
22593
22536
  */
22594
22537
  export interface ProgressKeyFrame {
@@ -22855,7 +22798,6 @@ export interface RGBA extends RGB {
22855
22798
  }
22856
22799
 
22857
22800
  /**
22858
- * @rc
22859
22801
  * Key frame that holds the rotation of the camera animation.
22860
22802
  */
22861
22803
  export interface RotationKeyFrame {
@@ -22942,7 +22884,6 @@ export interface SpawnEntityOptions {
22942
22884
  }
22943
22885
 
22944
22886
  /**
22945
- * @rc
22946
22887
  * Collection of key frames for camera animation.
22947
22888
  */
22948
22889
  export interface SplineAnimation {
@@ -23141,7 +23082,6 @@ export interface TeleportOptions {
23141
23082
  }
23142
23083
 
23143
23084
  /**
23144
- * @rc
23145
23085
  * A context which provides information about a specific
23146
23086
  * ticking area.
23147
23087
  */
@@ -23181,7 +23121,6 @@ export interface TickingArea {
23181
23121
  }
23182
23122
 
23183
23123
  /**
23184
- * @rc
23185
23124
  * Options to create a ticking area using the {@link
23186
23125
  * TickingAreaManager}.
23187
23126
  */
@@ -23622,7 +23561,6 @@ export class RawMessageError extends Error {
23622
23561
  }
23623
23562
 
23624
23563
  /**
23625
- * @rc
23626
23564
  * The error returned from invalid {@link TickingAreaManager}
23627
23565
  * method calls.
23628
23566
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.6.0-rc.1.26.10-preview.27",
3
+ "version": "2.6.0",
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.10-preview.27"
17
+ "@minecraft/vanilla-data": ">=1.20.70"
18
18
  },
19
19
  "license": "MIT"
20
20
  }