@minecraft/server 1.19.0-rc.1.21.90-preview.20 → 1.19.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 -33
  3. package/package.json +1 -1
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/legacyscriptapi/minecraft/server-1xx/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.
@@ -128,7 +127,6 @@ export enum CustomComponentNameErrorReason {
128
127
  }
129
128
 
130
129
  /**
131
- * @rc
132
130
  * An enumeration for the various difficulty levels of
133
131
  * Minecraft.
134
132
  */
@@ -1200,8 +1198,6 @@ export enum FluidType {
1200
1198
  */
1201
1199
  export enum GameMode {
1202
1200
  /**
1203
- * @deprecated This property is deprecated and will be removed in 2.0.0.
1204
- *
1205
1201
  * @remarks
1206
1202
  * World is in a more locked-down experience, where blocks may
1207
1203
  * not be manipulated.
@@ -1209,8 +1205,6 @@ export enum GameMode {
1209
1205
  */
1210
1206
  adventure = 'adventure',
1211
1207
  /**
1212
- * @deprecated This property is deprecated and will be removed in 2.0.0.
1213
- *
1214
1208
  * @remarks
1215
1209
  * World is in a full creative mode. In creative mode, the
1216
1210
  * player has all the resources available in the item selection
@@ -1223,8 +1217,6 @@ export enum GameMode {
1223
1217
  */
1224
1218
  creative = 'creative',
1225
1219
  /**
1226
- * @deprecated This property is deprecated and will be removed in 2.0.0.
1227
- *
1228
1220
  * @remarks
1229
1221
  * World is in spectator mode. In spectator mode, spectators
1230
1222
  * are always flying and cannot become grounded. Spectators can
@@ -1237,8 +1229,6 @@ export enum GameMode {
1237
1229
  */
1238
1230
  spectator = 'spectator',
1239
1231
  /**
1240
- * @deprecated This property is deprecated and will be removed in 2.0.0.
1241
- *
1242
1232
  * @remarks
1243
1233
  * World is in a survival mode, where players can take damage
1244
1234
  * and entities may not be peaceful. Survival mode is where the
@@ -3033,8 +3023,6 @@ export class BlockComponentOnPlaceEvent extends BlockEvent {
3033
3023
  }
3034
3024
 
3035
3025
  /**
3036
- * @deprecated This class is deprecated and will be removed in 2.0.0.
3037
- *
3038
3026
  * Contains information regarding a specific block being
3039
3027
  * destroyed.
3040
3028
  */
@@ -3042,8 +3030,6 @@ export class BlockComponentOnPlaceEvent extends BlockEvent {
3042
3030
  export class BlockComponentPlayerDestroyEvent extends BlockEvent {
3043
3031
  private constructor();
3044
3032
  /**
3045
- * @deprecated This property is deprecated and will be removed in 2.0.0.
3046
- *
3047
3033
  * @remarks
3048
3034
  * Returns permutation information about this block before it
3049
3035
  * was destroyed.
@@ -3051,8 +3037,6 @@ export class BlockComponentPlayerDestroyEvent extends BlockEvent {
3051
3037
  */
3052
3038
  readonly destroyedBlockPermutation: BlockPermutation;
3053
3039
  /**
3054
- * @deprecated This property is deprecated and will be removed in 2.0.0.
3055
- *
3056
3040
  * @remarks
3057
3041
  * The player that destroyed this block.
3058
3042
  *
@@ -5457,7 +5441,6 @@ export class Dimension {
5457
5441
  */
5458
5442
  getTopmostBlock(locationXZ: VectorXZ, minHeight?: number): Block | undefined;
5459
5443
  /**
5460
- * @rc
5461
5444
  * @remarks
5462
5445
  * Places the given feature into the dimension at the specified
5463
5446
  * location.
@@ -5488,7 +5471,6 @@ export class Dimension {
5488
5471
  */
5489
5472
  placeFeature(featureName: string, location: Vector3, shouldThrow?: boolean): boolean;
5490
5473
  /**
5491
- * @rc
5492
5474
  * @remarks
5493
5475
  * Places the given feature rule into the dimension at the
5494
5476
  * specified location.
@@ -12507,7 +12489,6 @@ export class Player extends Entity {
12507
12489
  */
12508
12490
  addLevels(amount: number): number;
12509
12491
  /**
12510
- * @rc
12511
12492
  * @remarks
12512
12493
  * For this player, removes all overrides of any Entity
12513
12494
  * Properties on the target Entity. This change is not applied
@@ -12626,7 +12607,6 @@ export class Player extends Entity {
12626
12607
  */
12627
12608
  queueMusic(trackId: string, musicOptions?: MusicOptions): void;
12628
12609
  /**
12629
- * @rc
12630
12610
  * @remarks
12631
12611
  * For this player, removes the override on an Entity Property.
12632
12612
  * This change is not applied until the next tick and will not
@@ -12756,7 +12736,6 @@ export class Player extends Entity {
12756
12736
  */
12757
12737
  setGameMode(gameMode?: GameMode): void;
12758
12738
  /**
12759
- * @rc
12760
12739
  * @remarks
12761
12740
  * For this player, overrides an Entity Property on the target
12762
12741
  * Entity to the provided value. This property must be client
@@ -15194,7 +15173,6 @@ export class StructureManager {
15194
15173
  options?: StructurePlaceOptions,
15195
15174
  ): void;
15196
15175
  /**
15197
- * @rc
15198
15176
  * @remarks
15199
15177
  * Places a partial jigsaw structure in the world. This is
15200
15178
  * useful for debugging connections between jigsaw blocks.
@@ -15238,7 +15216,6 @@ export class StructureManager {
15238
15216
  options?: JigsawPlaceOptions,
15239
15217
  ): BlockBoundingBox;
15240
15218
  /**
15241
- * @rc
15242
15219
  * @remarks
15243
15220
  * Places a jigsaw structure in the world.
15244
15221
  *
@@ -15949,7 +15926,6 @@ export class World {
15949
15926
  */
15950
15927
  getDefaultSpawnLocation(): Vector3;
15951
15928
  /**
15952
- * @rc
15953
15929
  * @remarks
15954
15930
  * Gets the difficulty from the world.
15955
15931
  *
@@ -16245,7 +16221,6 @@ export class World {
16245
16221
  */
16246
16222
  setDefaultSpawnLocation(spawnLocation: Vector3): void;
16247
16223
  /**
16248
- * @rc
16249
16224
  * @remarks
16250
16225
  * Sets the worlds difficulty.
16251
16226
  *
@@ -16965,7 +16940,6 @@ export class WorldInitializeBeforeEventSignal {
16965
16940
  }
16966
16941
 
16967
16942
  /**
16968
- * @rc
16969
16943
  * A BlockBoundingBox is an interface to an object which
16970
16944
  * represents an AABB aligned rectangle.
16971
16945
  * The BlockBoundingBox assumes that it was created in a valid
@@ -17025,8 +16999,6 @@ export interface BlockCustomComponent {
17025
16999
  */
17026
17000
  onPlace?: (arg0: BlockComponentOnPlaceEvent) => void;
17027
17001
  /**
17028
- * @deprecated This property is deprecated and will be removed in 2.0.0.
17029
- *
17030
17002
  * @remarks
17031
17003
  * This function will be called when a player destroys a
17032
17004
  * specific block.
@@ -18215,7 +18187,6 @@ export interface ItemCustomComponent {
18215
18187
  }
18216
18188
 
18217
18189
  /**
18218
- * @rc
18219
18190
  * Provides additional options for {@link
18220
18191
  * StructureManager.placeJigsaw}.
18221
18192
  */
@@ -18237,7 +18208,6 @@ export interface JigsawPlaceOptions {
18237
18208
  }
18238
18209
 
18239
18210
  /**
18240
- * @rc
18241
18211
  * Provides additional options for {@link
18242
18212
  * StructureManager.placeJigsawStructure}.
18243
18213
  */
@@ -19121,9 +19091,6 @@ export class NamespaceNameError extends Error {
19121
19091
  reason: NamespaceNameErrorReason;
19122
19092
  }
19123
19093
 
19124
- /**
19125
- * @rc
19126
- */
19127
19094
  // @ts-ignore Class inheritance allowed for native defined classes
19128
19095
  export class PlaceJigsawError extends Error {
19129
19096
  private constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.19.0-rc.1.21.90-preview.20",
3
+ "version": "1.19.0",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {