@minecraft/server 2.2.0-rc.1.21.120-preview.22 → 2.2.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 -13
  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.
@@ -114,7 +113,6 @@ export enum BlockVolumeIntersection {
114
113
  }
115
114
 
116
115
  /**
117
- * @rc
118
116
  * An enum of error reasons relating to using {@link
119
117
  * ItemBookComponent}.
120
118
  */
@@ -1936,7 +1934,6 @@ export enum InputPermissionCategory {
1936
1934
  */
1937
1935
  export enum ItemComponentTypes {
1938
1936
  /**
1939
- * @rc
1940
1937
  * @remarks
1941
1938
  * The minecraft:book component.
1942
1939
  *
@@ -4811,7 +4808,6 @@ export class Camera {
4811
4808
  */
4812
4809
  setDefaultCamera(cameraPreset: string, easeOptions?: EaseOptions): void;
4813
4810
  /**
4814
- * @rc
4815
4811
  * @remarks
4816
4812
  * This function can't be called in read-only mode.
4817
4813
  *
@@ -5475,7 +5471,6 @@ export class ContainerSlot {
5475
5471
  */
5476
5472
  getLore(): string[];
5477
5473
  /**
5478
- * @rc
5479
5474
  * @remarks
5480
5475
  * Returns the lore value - a secondary display string - for an
5481
5476
  * ItemStack. String lore lines will be converted to a {@link
@@ -10982,7 +10977,6 @@ export class InputInfo {
10982
10977
  }
10983
10978
 
10984
10979
  /**
10985
- * @rc
10986
10980
  * When present on an item, this item is a book item. Can
10987
10981
  * access and modify the contents of the book and sign it.
10988
10982
  */
@@ -12235,7 +12229,6 @@ export class ItemStack {
12235
12229
  */
12236
12230
  getLore(): string[];
12237
12231
  /**
12238
- * @rc
12239
12232
  * @remarks
12240
12233
  * Returns the lore value - a secondary display string - for an
12241
12234
  * ItemStack. String lore lines will be converted to a {@link
@@ -12990,7 +12983,6 @@ export class ListBlockVolume extends BlockVolumeBase {
12990
12983
  }
12991
12984
 
12992
12985
  /**
12993
- * @rc
12994
12986
  * Manager for Loot Table related APIs. Allows for generation
12995
12987
  * of drops from blocks and entities according to their loot
12996
12988
  * tables.
@@ -17298,7 +17290,6 @@ export class World {
17298
17290
  */
17299
17291
  getEntity(id: string): Entity | undefined;
17300
17292
  /**
17301
- * @rc
17302
17293
  * @remarks
17303
17294
  * Returns a manager capable of generating loot from an
17304
17295
  * assortment of sources.
@@ -18392,7 +18383,6 @@ export interface CameraFixedBoomOptions {
18392
18383
  }
18393
18384
 
18394
18385
  /**
18395
- * @rc
18396
18386
  * Used to change the field of view of the current camera.
18397
18387
  */
18398
18388
  export interface CameraFovOptions {
@@ -20222,7 +20212,6 @@ export class BlockCustomComponentReloadVersionError extends Error {
20222
20212
  }
20223
20213
 
20224
20214
  /**
20225
- * @rc
20226
20215
  * Errors that can be thrown when using {@link
20227
20216
  * ItemBookComponent}.
20228
20217
  */
@@ -20240,7 +20229,6 @@ export class BookError extends Error {
20240
20229
  }
20241
20230
 
20242
20231
  /**
20243
- * @rc
20244
20232
  * The error called if page content being set on an {@link
20245
20233
  * ItemBookComponent} are invalid ie. exceeding the maximum
20246
20234
  * page length.
@@ -20376,7 +20364,6 @@ export class InvalidEntityError extends Error {
20376
20364
  }
20377
20365
 
20378
20366
  /**
20379
- * @rc
20380
20367
  * The error called when an item is invalid. This can occur
20381
20368
  * when accessing components on a removed item.
20382
20369
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.2.0-rc.1.21.120-preview.22",
3
+ "version": "2.2.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.21.120-preview.22"
17
+ "@minecraft/vanilla-data": ">=1.20.70"
18
18
  },
19
19
  "license": "MIT"
20
20
  }