@minecraft/server 1.12.0-rc.1.21.30-preview.22 → 1.12.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 +6 -107
  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/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.
@@ -79,9 +78,6 @@ export enum BlockPistonState {
79
78
  Retracting = 'Retracting',
80
79
  }
81
80
 
82
- /**
83
- * @rc
84
- */
85
81
  export enum CustomComponentNameErrorReason {
86
82
  NoNamespace = 1,
87
83
  DisallowedNamespace = 2,
@@ -325,7 +321,6 @@ export enum EntityComponentTypes {
325
321
  */
326
322
  AddRider = 'minecraft:addrider',
327
323
  /**
328
- * @rc
329
324
  * @remarks
330
325
  * Adds a timer for the entity to grow up. It can be
331
326
  * accelerated by giving the entity the items it likes as
@@ -530,7 +525,6 @@ export enum EntityComponentTypes {
530
525
  */
531
526
  Item = 'minecraft:item',
532
527
  /**
533
- * @rc
534
528
  * @remarks
535
529
  * Defines the base movement speed in lava of this entity.
536
530
  *
@@ -545,7 +539,6 @@ export enum EntityComponentTypes {
545
539
  */
546
540
  MarkVariant = 'minecraft:mark_variant',
547
541
  /**
548
- * @rc
549
542
  * @remarks
550
543
  * Defines the general movement speed of this entity.
551
544
  *
@@ -578,7 +571,6 @@ export enum EntityComponentTypes {
578
571
  */
579
572
  MovementGeneric = 'minecraft:movement.generic',
580
573
  /**
581
- * @rc
582
574
  * @remarks
583
575
  * When added, this movement control allows the mob to glide.
584
576
  *
@@ -605,7 +597,6 @@ export enum EntityComponentTypes {
605
597
  */
606
598
  MovementSkip = 'minecraft:movement.skip',
607
599
  /**
608
- * @rc
609
600
  * @remarks
610
601
  * When added, this move control causes the mob to sway side to
611
602
  * side giving the impression it is swimming.
@@ -705,7 +696,6 @@ export enum EntityComponentTypes {
705
696
  */
706
697
  SkinId = 'minecraft:skin_id',
707
698
  /**
708
- * @rc
709
699
  * @remarks
710
700
  * Defines the rules for an entity to be tamed by the player.
711
701
  *
@@ -725,7 +715,6 @@ export enum EntityComponentTypes {
725
715
  */
726
716
  TypeFamily = 'minecraft:type_family',
727
717
  /**
728
- * @rc
729
718
  * @remarks
730
719
  * Defines the general movement speed underwater of this
731
720
  * entity.
@@ -860,7 +849,6 @@ export enum EntityDamageCause {
860
849
  *
861
850
  */
862
851
  lightning = 'lightning',
863
- maceSmash = 'maceSmash',
864
852
  /**
865
853
  * @remarks
866
854
  * Damage caused by magical attacks. For example, Evoker Fang
@@ -1359,7 +1347,6 @@ export enum GameRule {
1359
1347
  */
1360
1348
  ShowCoordinates = 'showCoordinates',
1361
1349
  /**
1362
- * @rc
1363
1350
  * @remarks
1364
1351
  * Controls whether the days a player has played is displayed.
1365
1352
  *
@@ -1447,7 +1434,6 @@ export enum HudVisibility {
1447
1434
  }
1448
1435
 
1449
1436
  /**
1450
- * @rc
1451
1437
  * Input permission categories. Used by
1452
1438
  * @minecraft/server.PlayerInputPermissionCategoryChangeAfterEvent
1453
1439
  * to specify which category was changed.
@@ -2351,7 +2337,6 @@ export class BlockComponent extends Component {
2351
2337
  }
2352
2338
 
2353
2339
  /**
2354
- * @rc
2355
2340
  * Contains information regarding an entity falling onto a
2356
2341
  * specific block.
2357
2342
  */
@@ -2373,7 +2358,6 @@ export class BlockComponentEntityFallOnEvent extends BlockEvent {
2373
2358
  }
2374
2359
 
2375
2360
  /**
2376
- * @rc
2377
2361
  * Contains information regarding a specific block that was
2378
2362
  * placed.
2379
2363
  */
@@ -2389,7 +2373,6 @@ export class BlockComponentOnPlaceEvent extends BlockEvent {
2389
2373
  }
2390
2374
 
2391
2375
  /**
2392
- * @rc
2393
2376
  * Contains information regarding a specific block being
2394
2377
  * destroyed.
2395
2378
  */
@@ -2412,7 +2395,6 @@ export class BlockComponentPlayerDestroyEvent extends BlockEvent {
2412
2395
  }
2413
2396
 
2414
2397
  /**
2415
- * @rc
2416
2398
  * Contains information regarding a specific block being
2417
2399
  * interacted with.
2418
2400
  */
@@ -2441,7 +2423,6 @@ export class BlockComponentPlayerInteractEvent extends BlockEvent {
2441
2423
  }
2442
2424
 
2443
2425
  /**
2444
- * @rc
2445
2426
  * Contains information regarding an event before a player
2446
2427
  * places a block.
2447
2428
  */
@@ -2477,7 +2458,6 @@ export class BlockComponentPlayerPlaceBeforeEvent extends BlockEvent {
2477
2458
  }
2478
2459
 
2479
2460
  /**
2480
- * @rc
2481
2461
  * Contains information regarding a specific block randomly
2482
2462
  * ticking.
2483
2463
  */
@@ -2486,9 +2466,6 @@ export class BlockComponentRandomTickEvent extends BlockEvent {
2486
2466
  private constructor();
2487
2467
  }
2488
2468
 
2489
- /**
2490
- * @rc
2491
- */
2492
2469
  export class BlockComponentRegistry {
2493
2470
  private constructor();
2494
2471
  /**
@@ -2512,7 +2489,6 @@ export class BlockComponentRegistry {
2512
2489
  }
2513
2490
 
2514
2491
  /**
2515
- * @rc
2516
2492
  * Contains information regarding an entity stepping off a
2517
2493
  * specific block.
2518
2494
  */
@@ -2528,7 +2504,6 @@ export class BlockComponentStepOffEvent extends BlockEvent {
2528
2504
  }
2529
2505
 
2530
2506
  /**
2531
- * @rc
2532
2507
  * Contains information regarding an entity stepping onto a
2533
2508
  * specific block.
2534
2509
  */
@@ -2544,7 +2519,6 @@ export class BlockComponentStepOnEvent extends BlockEvent {
2544
2519
  }
2545
2520
 
2546
2521
  /**
2547
- * @rc
2548
2522
  * Contains information regarding a specific block ticking.
2549
2523
  */
2550
2524
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -2574,7 +2548,6 @@ export class BlockEvent {
2574
2548
  }
2575
2549
 
2576
2550
  /**
2577
- * @rc
2578
2551
  * Contains information regarding an explosion that has
2579
2552
  * occurred for a specific block.
2580
2553
  */
@@ -2596,7 +2569,6 @@ export class BlockExplodeAfterEvent extends BlockEvent {
2596
2569
  }
2597
2570
 
2598
2571
  /**
2599
- * @rc
2600
2572
  * Manages callbacks that are connected to when an explosion
2601
2573
  * occurs, as it impacts individual blocks.
2602
2574
  */
@@ -2729,14 +2701,12 @@ export class BlockPermutation {
2729
2701
  */
2730
2702
  getState(stateName: string): boolean | number | string | undefined;
2731
2703
  /**
2732
- * @rc
2733
2704
  * @remarks
2734
2705
  * Creates a copy of the permutation.
2735
2706
  *
2736
2707
  */
2737
2708
  getTags(): string[];
2738
2709
  /**
2739
- * @rc
2740
2710
  * @remarks
2741
2711
  * Checks to see if the permutation has a specific tag.
2742
2712
  *
@@ -4353,7 +4323,6 @@ export class Dimension {
4353
4323
  */
4354
4324
  runCommandAsync(commandString: string): Promise<CommandResult>;
4355
4325
  /**
4356
- * @rc
4357
4326
  * @remarks
4358
4327
  * Sets a block in the world using a BlockPermutation.
4359
4328
  * BlockPermutations are blocks with a particular state.
@@ -4374,7 +4343,6 @@ export class Dimension {
4374
4343
  */
4375
4344
  setBlockPermutation(location: Vector3, permutation: BlockPermutation): void;
4376
4345
  /**
4377
- * @rc
4378
4346
  * @remarks
4379
4347
  * Sets a block at a given location within the dimension.
4380
4348
  *
@@ -4760,8 +4728,6 @@ export class EffectTypes {
4760
4728
  *
4761
4729
  * This function can't be called in read-only mode.
4762
4730
  *
4763
- * @param identifier
4764
- * The identifier for the effect.
4765
4731
  * @returns
4766
4732
  * Effect type for the given identifier or undefined if the
4767
4733
  * effect does not exist.
@@ -4820,7 +4786,6 @@ export class EnchantmentTypes {
4820
4786
  */
4821
4787
  static get(enchantmentId: string): EnchantmentType | undefined;
4822
4788
  /**
4823
- * @rc
4824
4789
  * @remarks
4825
4790
  * Returns a collection of all available enchantment types.
4826
4791
  *
@@ -5787,7 +5752,6 @@ export class EntityAddRiderComponent extends EntityComponent {
5787
5752
  }
5788
5753
 
5789
5754
  /**
5790
- * @rc
5791
5755
  * Adds a timer for the entity to grow up. It can be
5792
5756
  * accelerated by giving the entity the items it likes as
5793
5757
  * defined by feedItems.
@@ -6016,7 +5980,6 @@ export class EntityComponent extends Component {
6016
5980
  }
6017
5981
 
6018
5982
  /**
6019
- * @rc
6020
5983
  * As part of the Ageable component, represents a set of items
6021
5984
  * that can be fed to an entity and the rate at which that
6022
5985
  * causes them to grow.
@@ -6389,7 +6352,6 @@ export class EntityHitBlockAfterEvent {
6389
6352
  */
6390
6353
  readonly hitBlock: Block;
6391
6354
  /**
6392
- * @rc
6393
6355
  * @remarks
6394
6356
  * Block permutation that was hit by the attack.
6395
6357
  *
@@ -6764,7 +6726,6 @@ export class EntityItemComponent extends EntityComponent {
6764
6726
  }
6765
6727
 
6766
6728
  /**
6767
- * @rc
6768
6729
  * Defines the base movement speed in lava of this entity.
6769
6730
  */
6770
6731
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -6859,7 +6820,6 @@ export class EntityMovementBasicComponent extends EntityBaseMovementComponent {
6859
6820
  }
6860
6821
 
6861
6822
  /**
6862
- * @rc
6863
6823
  * Defines the general movement speed of this entity.
6864
6824
  */
6865
6825
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -6888,7 +6848,6 @@ export class EntityMovementGenericComponent extends EntityBaseMovementComponent
6888
6848
  }
6889
6849
 
6890
6850
  /**
6891
- * @rc
6892
6851
  * When added, this movement control allows the mob to glide.
6893
6852
  */
6894
6853
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -6941,7 +6900,6 @@ export class EntityMovementSkipComponent extends EntityBaseMovementComponent {
6941
6900
  }
6942
6901
 
6943
6902
  /**
6944
- * @rc
6945
6903
  * When added, this move control causes the mob to sway side to
6946
6904
  * side giving the impression it is swimming.
6947
6905
  */
@@ -7763,7 +7721,6 @@ export class EntitySpawnAfterEventSignal {
7763
7721
  }
7764
7722
 
7765
7723
  /**
7766
- * @rc
7767
7724
  * Defines the rules for an entity to be tamed by the player.
7768
7725
  */
7769
7726
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -7831,7 +7788,6 @@ export class EntityTameableComponent extends EntityComponent {
7831
7788
  export class EntityTameMountComponent extends EntityComponent {
7832
7789
  private constructor();
7833
7790
  /**
7834
- * @rc
7835
7791
  * @remarks
7836
7792
  * Returns true if the entity is tamed.
7837
7793
  *
@@ -7839,7 +7795,6 @@ export class EntityTameMountComponent extends EntityComponent {
7839
7795
  */
7840
7796
  readonly isTamed: boolean;
7841
7797
  /**
7842
- * @rc
7843
7798
  * @remarks
7844
7799
  * Returns true if the entity is tamed by a player.
7845
7800
  *
@@ -7847,7 +7802,6 @@ export class EntityTameMountComponent extends EntityComponent {
7847
7802
  */
7848
7803
  readonly isTamedToPlayer: boolean;
7849
7804
  /**
7850
- * @rc
7851
7805
  * @remarks
7852
7806
  * Returns the player that has tamed the entity, or 'undefined'
7853
7807
  * if entity is not tamed by a player.
@@ -7856,7 +7810,6 @@ export class EntityTameMountComponent extends EntityComponent {
7856
7810
  */
7857
7811
  readonly tamedToPlayer?: Player;
7858
7812
  /**
7859
- * @rc
7860
7813
  * @remarks
7861
7814
  * Returns the id of player that has tamed the entity, or
7862
7815
  * 'undefined' if entity is not tamed.
@@ -7877,7 +7830,6 @@ export class EntityTameMountComponent extends EntityComponent {
7877
7830
  */
7878
7831
  tame(showParticles: boolean): void;
7879
7832
  /**
7880
- * @rc
7881
7833
  * @remarks
7882
7834
  * Sets this rideable entity as tamed by the given player.
7883
7835
  *
@@ -7943,7 +7895,6 @@ export class EntityTypes {
7943
7895
  }
7944
7896
 
7945
7897
  /**
7946
- * @rc
7947
7898
  * Defines the general movement speed underwater of this
7948
7899
  * entity.
7949
7900
  */
@@ -8385,7 +8336,6 @@ export class GameRules {
8385
8336
  */
8386
8337
  showCoordinates: boolean;
8387
8338
  /**
8388
- * @rc
8389
8339
  * @remarks
8390
8340
  * This property can't be edited in read-only mode.
8391
8341
  *
@@ -8603,7 +8553,6 @@ export class ItemCompleteUseAfterEventSignal {
8603
8553
  }
8604
8554
 
8605
8555
  /**
8606
- * @rc
8607
8556
  * Contains information related to a chargeable item completing
8608
8557
  * being charged.
8609
8558
  */
@@ -8632,7 +8581,6 @@ export class ItemComponent extends Component {
8632
8581
  }
8633
8582
 
8634
8583
  /**
8635
- * @rc
8636
8584
  * Contains information regarding an item before it is damaged
8637
8585
  * from hitting an entity.
8638
8586
  */
@@ -8666,7 +8614,6 @@ export class ItemComponentBeforeDurabilityDamageEvent {
8666
8614
  }
8667
8615
 
8668
8616
  /**
8669
- * @rc
8670
8617
  * Contains information related to a chargeable item completing
8671
8618
  * being charged via a component.
8672
8619
  */
@@ -8676,7 +8623,6 @@ export class ItemComponentCompleteUseEvent extends ItemCompleteUseEvent {
8676
8623
  }
8677
8624
 
8678
8625
  /**
8679
- * @rc
8680
8626
  * Contains information related to a food item being consumed.
8681
8627
  */
8682
8628
  export class ItemComponentConsumeEvent {
@@ -8696,7 +8642,6 @@ export class ItemComponentConsumeEvent {
8696
8642
  }
8697
8643
 
8698
8644
  /**
8699
- * @rc
8700
8645
  * Contains information regarding when an item is used to hit
8701
8646
  * an entity.
8702
8647
  */
@@ -8729,7 +8674,6 @@ export class ItemComponentHitEntityEvent {
8729
8674
  }
8730
8675
 
8731
8676
  /**
8732
- * @rc
8733
8677
  * Contains information regarding the mining of a block using
8734
8678
  * an item.
8735
8679
  */
@@ -8762,7 +8706,6 @@ export class ItemComponentMineBlockEvent {
8762
8706
  }
8763
8707
 
8764
8708
  /**
8765
- * @rc
8766
8709
  * Provides the functionality for registering custom components
8767
8710
  * for items.
8768
8711
  */
@@ -8801,7 +8744,6 @@ export class ItemComponentRegistry {
8801
8744
  }
8802
8745
 
8803
8746
  /**
8804
- * @rc
8805
8747
  * Contains information regarding the use of an item.
8806
8748
  */
8807
8749
  export class ItemComponentUseEvent {
@@ -8821,7 +8763,6 @@ export class ItemComponentUseEvent {
8821
8763
  }
8822
8764
 
8823
8765
  /**
8824
- * @rc
8825
8766
  * Contains information regarding the use of an item on a block
8826
8767
  * via a component.
8827
8768
  */
@@ -9924,7 +9865,6 @@ export class ItemType {
9924
9865
  }
9925
9866
 
9926
9867
  /**
9927
- * @rc
9928
9868
  * Returns the set of item types registered within Minecraft.
9929
9869
  */
9930
9870
  export class ItemTypes {
@@ -10133,7 +10073,6 @@ export class ItemUseOnBeforeEventSignal {
10133
10073
  }
10134
10074
 
10135
10075
  /**
10136
- * @rc
10137
10076
  * Contains information regarding the use of an item on a
10138
10077
  * block.
10139
10078
  */
@@ -10441,7 +10380,6 @@ export class Player extends Entity {
10441
10380
  */
10442
10381
  readonly camera: Camera;
10443
10382
  /**
10444
- * @rc
10445
10383
  * @remarks
10446
10384
  * Input permissions of the player.
10447
10385
  *
@@ -11023,7 +10961,6 @@ export class PlayerGameModeChangeBeforeEventSignal {
11023
10961
  }
11024
10962
 
11025
10963
  /**
11026
- * @rc
11027
10964
  * Contains information regarding an event after a players
11028
10965
  * input permissions change.
11029
10966
  */
@@ -11050,7 +10987,6 @@ export class PlayerInputPermissionCategoryChangeAfterEvent {
11050
10987
  }
11051
10988
 
11052
10989
  /**
11053
- * @rc
11054
10990
  * Manages callbacks that are connected to after a players
11055
10991
  * input permissions change.
11056
10992
  */
@@ -11079,7 +11015,6 @@ export class PlayerInputPermissionCategoryChangeAfterEventSignal {
11079
11015
  }
11080
11016
 
11081
11017
  /**
11082
- * @rc
11083
11018
  * Contains properties for enabling/disabling player input
11084
11019
  * permissions.
11085
11020
  */
@@ -11103,7 +11038,7 @@ export class PlayerInputPermissions {
11103
11038
 
11104
11039
  /**
11105
11040
  * Contains information regarding an event after a player
11106
- * successfully interacts with a block.
11041
+ * interacts with a block.
11107
11042
  */
11108
11043
  export class PlayerInteractWithBlockAfterEvent {
11109
11044
  private constructor();
@@ -11128,8 +11063,8 @@ export class PlayerInteractWithBlockAfterEvent {
11128
11063
  readonly faceLocation: Vector3;
11129
11064
  /**
11130
11065
  * @remarks
11131
- * The ItemStack after the interaction succeeded, or undefined
11132
- * if hand is empty.
11066
+ * The item stack that is being used in the interaction, or
11067
+ * undefined if empty hand.
11133
11068
  *
11134
11069
  */
11135
11070
  readonly itemStack?: ItemStack;
@@ -11245,14 +11180,14 @@ export class PlayerInteractWithBlockBeforeEventSignal {
11245
11180
 
11246
11181
  /**
11247
11182
  * Contains information regarding an event after a player
11248
- * successfully interacts with an entity.
11183
+ * interacts with an entity.
11249
11184
  */
11250
11185
  export class PlayerInteractWithEntityAfterEvent {
11251
11186
  private constructor();
11252
11187
  /**
11253
11188
  * @remarks
11254
- * The ItemStack after the interaction succeeded, or undefined
11255
- * if hand is empty.
11189
+ * The item stack that is being used in the interaction, or
11190
+ * undefined if empty hand.
11256
11191
  *
11257
11192
  */
11258
11193
  readonly itemStack?: ItemStack;
@@ -12616,7 +12551,6 @@ export class System {
12616
12551
  */
12617
12552
  readonly currentTick: number;
12618
12553
  /**
12619
- * @rc
12620
12554
  * @remarks
12621
12555
  * Cancels the execution of a job queued via {@link
12622
12556
  * System.runJob}.
@@ -12694,7 +12628,6 @@ export class System {
12694
12628
  */
12695
12629
  runInterval(callback: () => void, tickInterval?: number): number;
12696
12630
  /**
12697
- * @rc
12698
12631
  * @remarks
12699
12632
  * Queues a generator to run until completion. The generator
12700
12633
  * will be given a time slice each tick, and will be run until
@@ -12752,7 +12685,6 @@ export class System {
12752
12685
  */
12753
12686
  runTimeout(callback: () => void, tickDelay?: number): number;
12754
12687
  /**
12755
- * @rc
12756
12688
  * @throws This function can throw errors.
12757
12689
  *
12758
12690
  * {@link minecraftcommon.EngineError}
@@ -12836,7 +12768,6 @@ export class TargetBlockHitAfterEventSignal {
12836
12768
  }
12837
12769
 
12838
12770
  /**
12839
- * @rc
12840
12771
  * Represents a trigger for firing an event.
12841
12772
  */
12842
12773
  export class Trigger {
@@ -13588,7 +13519,6 @@ export class World {
13588
13519
  export class WorldAfterEvents {
13589
13520
  private constructor();
13590
13521
  /**
13591
- * @rc
13592
13522
  * @remarks
13593
13523
  * This event fires for each BlockLocation destroyed by an
13594
13524
  * explosion. It is fired after the blocks have already been
@@ -13764,7 +13694,6 @@ export class WorldAfterEvents {
13764
13694
  readonly playerDimensionChange: PlayerDimensionChangeAfterEventSignal;
13765
13695
  readonly playerGameModeChange: PlayerGameModeChangeAfterEventSignal;
13766
13696
  /**
13767
- * @rc
13768
13697
  * @remarks
13769
13698
  * This event fires when a players input permissions change.
13770
13699
  *
@@ -13910,7 +13839,6 @@ export class WorldBeforeEvents {
13910
13839
  readonly playerLeave: PlayerLeaveBeforeEventSignal;
13911
13840
  readonly weatherChange: WeatherChangeBeforeEventSignal;
13912
13841
  /**
13913
- * @rc
13914
13842
  * @remarks
13915
13843
  * This event fires immediately when the script environment is
13916
13844
  * initialized on a World. Not all script functionality may be
@@ -13957,7 +13885,6 @@ export class WorldInitializeAfterEventSignal {
13957
13885
  }
13958
13886
 
13959
13887
  /**
13960
- * @rc
13961
13888
  * Contains information and methods that can be used at the
13962
13889
  * initialization of the scripting environment for a World.
13963
13890
  * Also, use the supplied blockRegistry object to register
@@ -13977,7 +13904,6 @@ export class WorldInitializeBeforeEvent {
13977
13904
  }
13978
13905
 
13979
13906
  /**
13980
- * @rc
13981
13907
  * Manages callbacks that are run at the initialization of the
13982
13908
  * scripting environment for a World. Do note that this event
13983
13909
  * may run multiple times within a session in the case that the
@@ -14006,7 +13932,6 @@ export class WorldInitializeBeforeEventSignal {
14006
13932
  }
14007
13933
 
14008
13934
  /**
14009
- * @rc
14010
13935
  * Contains a set of events that will be raised for a block.
14011
13936
  * This object must be bound using the BlockRegistry.
14012
13937
  */
@@ -14928,7 +14853,6 @@ export interface EntityRaycastHit {
14928
14853
  // @ts-ignore Class inheritance allowed for native defined classes
14929
14854
  export interface EntityRaycastOptions extends EntityFilter {
14930
14855
  /**
14931
- * @rc
14932
14856
  * @remarks
14933
14857
  * If true, blocks will not be considered as blocks that 'stop'
14934
14858
  * the raycast.
@@ -14936,7 +14860,6 @@ export interface EntityRaycastOptions extends EntityFilter {
14936
14860
  */
14937
14861
  ignoreBlockCollision?: boolean;
14938
14862
  /**
14939
- * @rc
14940
14863
  * @remarks
14941
14864
  * If true, liquid blocks will be considered as blocks that
14942
14865
  * 'stop' the raycast.
@@ -14944,7 +14867,6 @@ export interface EntityRaycastOptions extends EntityFilter {
14944
14867
  */
14945
14868
  includeLiquidBlocks?: boolean;
14946
14869
  /**
14947
- * @rc
14948
14870
  * @remarks
14949
14871
  * If true, passable blocks like vines and flowers will be
14950
14872
  * considered as blocks that 'stop' the raycast.
@@ -15009,7 +14931,6 @@ export interface ExplosionOptions {
15009
14931
  }
15010
14932
 
15011
14933
  /**
15012
- * @rc
15013
14934
  * Contains a set of events that will be raised for an item.
15014
14935
  * This object must be bound using the ItemComponentRegistry.
15015
14936
  */
@@ -15639,33 +15560,21 @@ export interface WorldSoundOptions {
15639
15560
  volume?: number;
15640
15561
  }
15641
15562
 
15642
- /**
15643
- * @rc
15644
- */
15645
15563
  // @ts-ignore Class inheritance allowed for native defined classes
15646
15564
  export class BlockCustomComponentAlreadyRegisteredError extends Error {
15647
15565
  private constructor();
15648
15566
  }
15649
15567
 
15650
- /**
15651
- * @rc
15652
- */
15653
15568
  // @ts-ignore Class inheritance allowed for native defined classes
15654
15569
  export class BlockCustomComponentReloadNewComponentError extends Error {
15655
15570
  private constructor();
15656
15571
  }
15657
15572
 
15658
- /**
15659
- * @rc
15660
- */
15661
15573
  // @ts-ignore Class inheritance allowed for native defined classes
15662
15574
  export class BlockCustomComponentReloadNewEventError extends Error {
15663
15575
  private constructor();
15664
15576
  }
15665
15577
 
15666
- /**
15667
- * @rc
15668
- */
15669
15578
  // @ts-ignore Class inheritance allowed for native defined classes
15670
15579
  export class BlockCustomComponentReloadVersionError extends Error {
15671
15580
  private constructor();
@@ -15676,17 +15585,11 @@ export class CommandError extends Error {
15676
15585
  private constructor();
15677
15586
  }
15678
15587
 
15679
- /**
15680
- * @rc
15681
- */
15682
15588
  // @ts-ignore Class inheritance allowed for native defined classes
15683
15589
  export class CustomComponentInvalidRegistryError extends Error {
15684
15590
  private constructor();
15685
15591
  }
15686
15592
 
15687
- /**
15688
- * @rc
15689
- */
15690
15593
  // @ts-ignore Class inheritance allowed for native defined classes
15691
15594
  export class CustomComponentNameError extends Error {
15692
15595
  private constructor();
@@ -15727,7 +15630,6 @@ export class InvalidStructureError extends Error {
15727
15630
  }
15728
15631
 
15729
15632
  /**
15730
- * @rc
15731
15633
  * Thrown when trying to register an item custom component with
15732
15634
  * a name that has already been registered.
15733
15635
  */
@@ -15737,7 +15639,6 @@ export class ItemCustomComponentAlreadyRegisteredError extends Error {
15737
15639
  }
15738
15640
 
15739
15641
  /**
15740
- * @rc
15741
15642
  * Thrown after using the /reload command when trying to
15742
15643
  * register a previously unregistered item custom component.
15743
15644
  */
@@ -15747,7 +15648,6 @@ export class ItemCustomComponentReloadNewComponentError extends Error {
15747
15648
  }
15748
15649
 
15749
15650
  /**
15750
- * @rc
15751
15651
  * Thrown after using the /reload command when trying to
15752
15652
  * register a previously registered item custom component that
15753
15653
  * handles a new event.
@@ -15758,7 +15658,6 @@ export class ItemCustomComponentReloadNewEventError extends Error {
15758
15658
  }
15759
15659
 
15760
15660
  /**
15761
- * @rc
15762
15661
  * Thrown after using the /reload command when trying to
15763
15662
  * register a previously registered item custom component with
15764
15663
  * a newer API version.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.12.0-rc.1.21.30-preview.22",
3
+ "version": "1.12.0",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {