@minecraft/server 1.11.0-beta.1.20.80-preview.24 → 1.11.0-beta.1.20.80-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 +1 -48
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -15,15 +15,12 @@
15
15
  * ```json
16
16
  * {
17
17
  * "module_name": "@minecraft/server",
18
- * "version": "1.9.0"
18
+ * "version": "1.10.0"
19
19
  * }
20
20
  * ```
21
21
  *
22
22
  */
23
23
  import * as minecraftcommon from '@minecraft/common';
24
- /**
25
- * @beta
26
- */
27
24
  export enum BlockComponentTypes {
28
25
  Inventory = 'minecraft:inventory',
29
26
  LavaContainer = 'minecraft:lavaContainer',
@@ -411,9 +408,6 @@ export enum EnchantmentSlot {
411
408
  Sword = 'Sword',
412
409
  }
413
410
 
414
- /**
415
- * @beta
416
- */
417
411
  export enum EntityComponentTypes {
418
412
  AddRider = 'minecraft:addrider',
419
413
  Ageable = 'minecraft:ageable',
@@ -1190,34 +1184,29 @@ export enum HudVisibility {
1190
1184
  }
1191
1185
 
1192
1186
  /**
1193
- * @beta
1194
1187
  * The types of item components that are accessible via
1195
1188
  * function ItemStack.getComponent.
1196
1189
  */
1197
1190
  export enum ItemComponentTypes {
1198
1191
  /**
1199
- * @beta
1200
1192
  * @remarks
1201
1193
  * The minecraft:cooldown component.
1202
1194
  *
1203
1195
  */
1204
1196
  Cooldown = 'minecraft:cooldown',
1205
1197
  /**
1206
- * @beta
1207
1198
  * @remarks
1208
1199
  * The minecraft:durability component.
1209
1200
  *
1210
1201
  */
1211
1202
  Durability = 'minecraft:durability',
1212
1203
  /**
1213
- * @beta
1214
1204
  * @remarks
1215
1205
  * The minecraft:enchantable component.
1216
1206
  *
1217
1207
  */
1218
1208
  Enchantable = 'minecraft:enchantable',
1219
1209
  /**
1220
- * @beta
1221
1210
  * @remarks
1222
1211
  * The minecraft:food component.
1223
1212
  *
@@ -1433,18 +1422,12 @@ export enum SignSide {
1433
1422
  Front = 'Front',
1434
1423
  }
1435
1424
 
1436
- /**
1437
- * @beta
1438
- */
1439
1425
  export enum StructureAnimationMode {
1440
1426
  Blocks = 'Blocks',
1441
1427
  Layers = 'Layers',
1442
1428
  None = 'None',
1443
1429
  }
1444
1430
 
1445
- /**
1446
- * @beta
1447
- */
1448
1431
  export enum StructureMirrorAxis {
1449
1432
  None = 'None',
1450
1433
  X = 'X',
@@ -1452,9 +1435,6 @@ export enum StructureMirrorAxis {
1452
1435
  Z = 'Z',
1453
1436
  }
1454
1437
 
1455
- /**
1456
- * @beta
1457
- */
1458
1438
  export enum StructureRotation {
1459
1439
  None = 'None',
1460
1440
  Rotate180 = 'Rotate180',
@@ -1462,9 +1442,6 @@ export enum StructureRotation {
1462
1442
  Rotate90 = 'Rotate90',
1463
1443
  }
1464
1444
 
1465
- /**
1466
- * @beta
1467
- */
1468
1445
  export enum StructureSaveMode {
1469
1446
  Memory = 'Memory',
1470
1447
  World = 'World',
@@ -2011,7 +1988,6 @@ export class Block {
2011
1988
  */
2012
1989
  getComponent<T extends keyof BlockComponentTypeMap>(componentId: T): BlockComponentTypeMap[T] | undefined;
2013
1990
  /**
2014
- * @beta
2015
1991
  * @remarks
2016
1992
  * Creates a prototype item stack based on this block that can
2017
1993
  * be used with Container/ContainerSlot APIs.
@@ -2702,7 +2678,6 @@ export class BlockPermutation {
2702
2678
  */
2703
2679
  getAllStates(): Record<string, boolean | number | string>;
2704
2680
  /**
2705
- * @beta
2706
2681
  * @remarks
2707
2682
  * Retrieves a prototype item stack based on this block
2708
2683
  * permutation that can be used with item
@@ -8192,7 +8167,6 @@ export class EntityOnFireComponent extends EntityComponent {
8192
8167
  }
8193
8168
 
8194
8169
  /**
8195
- * @beta
8196
8170
  * The projectile component controls the properties of a
8197
8171
  * projectile entity and allows it to be shot in a given
8198
8172
  * direction.
@@ -8827,7 +8801,6 @@ export class EntityTameMountComponent extends EntityComponent {
8827
8801
  }
8828
8802
 
8829
8803
  /**
8830
- * @beta
8831
8804
  * Represents information about a type of entity.
8832
8805
  */
8833
8806
  export class EntityType {
@@ -8841,9 +8814,6 @@ export class EntityType {
8841
8814
  readonly id: string;
8842
8815
  }
8843
8816
 
8844
- /**
8845
- * @beta
8846
- */
8847
8817
  // @ts-ignore Class inheritance allowed for native defined classes
8848
8818
  export class EntityTypeFamilyComponent extends EntityComponent {
8849
8819
  private constructor();
@@ -8879,7 +8849,6 @@ export class EntityTypeIterator implements Iterable<EntityType> {
8879
8849
  }
8880
8850
 
8881
8851
  /**
8882
- * @beta
8883
8852
  * Used for accessing all entity types currently available for
8884
8853
  * use within the world.
8885
8854
  */
@@ -9627,7 +9596,6 @@ export class ItemComponentUseEvent {
9627
9596
  }
9628
9597
 
9629
9598
  /**
9630
- * @beta
9631
9599
  * When present on an item, this item has a cooldown effect
9632
9600
  * when used by entities.
9633
9601
  */
@@ -11375,7 +11343,6 @@ export class Player extends Entity {
11375
11343
  */
11376
11344
  isOp(): boolean;
11377
11345
  /**
11378
- * @beta
11379
11346
  * @remarks
11380
11347
  * Plays a music track that only this particular player can
11381
11348
  * hear.
@@ -11412,7 +11379,6 @@ export class Player extends Entity {
11412
11379
  */
11413
11380
  postClientMessage(id: string, value: string): void;
11414
11381
  /**
11415
- * @beta
11416
11382
  * @remarks
11417
11383
  * Queues an additional music track that only this particular
11418
11384
  * player can hear. If a track is not playing, a music track
@@ -11576,7 +11542,6 @@ export class Player extends Entity {
11576
11542
  */
11577
11543
  startItemCooldown(cooldownCategory: string, tickDuration: number): void;
11578
11544
  /**
11579
- * @beta
11580
11545
  * @remarks
11581
11546
  * Stops any music tracks from playing for this particular
11582
11547
  * player.
@@ -13195,7 +13160,6 @@ export class ServerMessageAfterEventSignal {
13195
13160
  }
13196
13161
 
13197
13162
  /**
13198
- * @beta
13199
13163
  * Represents a loaded structure template (.mcstructure file).
13200
13164
  * Structures can be placed in a world using the /structure
13201
13165
  * command or the {@link StructureManager} APIs.
@@ -13338,7 +13302,6 @@ export class Structure {
13338
13302
  }
13339
13303
 
13340
13304
  /**
13341
- * @beta
13342
13305
  * Manager for Structure related APIs. Includes APIs for
13343
13306
  * creating, getting, placing and deleting Structures.
13344
13307
  */
@@ -14072,7 +14035,6 @@ export class World {
14072
14035
  */
14073
14036
  readonly scoreboard: Scoreboard;
14074
14037
  /**
14075
- * @beta
14076
14038
  * @remarks
14077
14039
  * Returns the manager for {@link Structure} related APIs.
14078
14040
  *
@@ -14849,7 +14811,6 @@ export class WorldAfterEvents {
14849
14811
  */
14850
14812
  readonly weatherChange: WeatherChangeAfterEventSignal;
14851
14813
  /**
14852
- * @beta
14853
14814
  * @remarks
14854
14815
  * This event fires when the script environment is initialized
14855
14816
  * on a World.
@@ -14963,7 +14924,6 @@ export class WorldBeforeEvents {
14963
14924
  }
14964
14925
 
14965
14926
  /**
14966
- * @beta
14967
14927
  * Contains information and methods that can be used at the
14968
14928
  * initialization of the scripting environment for a World.
14969
14929
  */
@@ -14972,7 +14932,6 @@ export class WorldInitializeAfterEvent {
14972
14932
  }
14973
14933
 
14974
14934
  /**
14975
- * @beta
14976
14935
  * Manages callbacks that are run on the first tick of the
14977
14936
  * World. Do note that this event may run multiple times within
14978
14937
  * a session in the case that the /reload command is used.
@@ -16275,9 +16234,6 @@ export interface PlayerSoundOptions {
16275
16234
  volume?: number;
16276
16235
  }
16277
16236
 
16278
- /**
16279
- * @beta
16280
- */
16281
16237
  export interface ProjectileShootOptions {
16282
16238
  uncertainty?: number;
16283
16239
  }
@@ -16521,7 +16477,6 @@ export interface SpawnEntityOptions {
16521
16477
  }
16522
16478
 
16523
16479
  /**
16524
- * @beta
16525
16480
  * Provides additional options for {@link
16526
16481
  * StructureManager.createFromWorld}
16527
16482
  */
@@ -16550,7 +16505,6 @@ export interface StructureCreateOptions {
16550
16505
  }
16551
16506
 
16552
16507
  /**
16553
- * @beta
16554
16508
  * Provides additional options for {@link
16555
16509
  * StructureManager.place}
16556
16510
  */
@@ -16818,7 +16772,6 @@ export class InvalidContainerSlotError extends Error {
16818
16772
  }
16819
16773
 
16820
16774
  /**
16821
- * @beta
16822
16775
  * Thrown when a Structure is invalid. A structure becomes
16823
16776
  * invalid when it is deleted.
16824
16777
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.11.0-beta.1.20.80-preview.24",
3
+ "version": "1.11.0-beta.1.20.80-stable",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {