@minecraft/server 1.15.0-beta.1.21.30-preview.21 → 1.15.0-beta.1.21.30-preview.23

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 +28 -107
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -193,9 +193,6 @@ export enum CompoundBlockVolumePositionRelativity {
193
193
  Absolute = 1,
194
194
  }
195
195
 
196
- /**
197
- * @rc
198
- */
199
196
  export enum CustomComponentNameErrorReason {
200
197
  NoNamespace = 1,
201
198
  DisallowedNamespace = 2,
@@ -471,7 +468,6 @@ export enum EntityComponentTypes {
471
468
  */
472
469
  AddRider = 'minecraft:addrider',
473
470
  /**
474
- * @rc
475
471
  * @remarks
476
472
  * Adds a timer for the entity to grow up. It can be
477
473
  * accelerated by giving the entity the items it likes as
@@ -526,7 +522,7 @@ export enum EntityComponentTypes {
526
522
  */
527
523
  Color2 = 'minecraft:color2',
528
524
  /**
529
- * @beta
525
+ * @rc
530
526
  */
531
527
  CursorInventory = 'minecraft:cursor_inventory',
532
528
  /**
@@ -688,14 +684,12 @@ export enum EntityComponentTypes {
688
684
  */
689
685
  Item = 'minecraft:item',
690
686
  /**
691
- * @rc
692
687
  * @remarks
693
688
  * Defines the base movement speed in lava of this entity.
694
689
  *
695
690
  */
696
691
  LavaMovement = 'minecraft:lava_movement',
697
692
  /**
698
- * @rc
699
693
  * @remarks
700
694
  * Allows this entity to be leashed and defines the conditions
701
695
  * and events for this entity when is leashed.
@@ -711,7 +705,6 @@ export enum EntityComponentTypes {
711
705
  */
712
706
  MarkVariant = 'minecraft:mark_variant',
713
707
  /**
714
- * @rc
715
708
  * @remarks
716
709
  * Defines the general movement speed of this entity.
717
710
  *
@@ -744,7 +737,6 @@ export enum EntityComponentTypes {
744
737
  */
745
738
  MovementGeneric = 'minecraft:movement.generic',
746
739
  /**
747
- * @rc
748
740
  * @remarks
749
741
  * When added, this movement control allows the mob to glide.
750
742
  *
@@ -771,7 +763,6 @@ export enum EntityComponentTypes {
771
763
  */
772
764
  MovementSkip = 'minecraft:movement.skip',
773
765
  /**
774
- * @rc
775
766
  * @remarks
776
767
  * When added, this move control causes the mob to sway side to
777
768
  * side giving the impression it is swimming.
@@ -879,14 +870,12 @@ export enum EntityComponentTypes {
879
870
  */
880
871
  SkinId = 'minecraft:skin_id',
881
872
  /**
882
- * @rc
883
873
  * @remarks
884
874
  * Defines the entity's strength to carry items.
885
875
  *
886
876
  */
887
877
  Strength = 'minecraft:strength',
888
878
  /**
889
- * @rc
890
879
  * @remarks
891
880
  * Defines the rules for an entity to be tamed by the player.
892
881
  *
@@ -906,7 +895,6 @@ export enum EntityComponentTypes {
906
895
  */
907
896
  TypeFamily = 'minecraft:type_family',
908
897
  /**
909
- * @rc
910
898
  * @remarks
911
899
  * Defines the general movement speed underwater of this
912
900
  * entity.
@@ -1041,6 +1029,7 @@ export enum EntityDamageCause {
1041
1029
  *
1042
1030
  */
1043
1031
  lightning = 'lightning',
1032
+ maceSmash = 'maceSmash',
1044
1033
  /**
1045
1034
  * @remarks
1046
1035
  * Damage caused by magical attacks. For example, Evoker Fang
@@ -1547,7 +1536,6 @@ export enum GameRule {
1547
1536
  */
1548
1537
  ShowCoordinates = 'showCoordinates',
1549
1538
  /**
1550
- * @rc
1551
1539
  * @remarks
1552
1540
  * Controls whether the days a player has played is displayed.
1553
1541
  *
@@ -1635,7 +1623,6 @@ export enum HudVisibility {
1635
1623
  }
1636
1624
 
1637
1625
  /**
1638
- * @rc
1639
1626
  * Input permission categories. Used by
1640
1627
  * @minecraft/server.PlayerInputPermissionCategoryChangeAfterEvent
1641
1628
  * to specify which category was changed.
@@ -2897,7 +2884,6 @@ export class BlockComponent extends Component {
2897
2884
  }
2898
2885
 
2899
2886
  /**
2900
- * @rc
2901
2887
  * Contains information regarding an entity falling onto a
2902
2888
  * specific block.
2903
2889
  */
@@ -2919,7 +2905,6 @@ export class BlockComponentEntityFallOnEvent extends BlockEvent {
2919
2905
  }
2920
2906
 
2921
2907
  /**
2922
- * @rc
2923
2908
  * Contains information regarding a specific block that was
2924
2909
  * placed.
2925
2910
  */
@@ -2935,7 +2920,6 @@ export class BlockComponentOnPlaceEvent extends BlockEvent {
2935
2920
  }
2936
2921
 
2937
2922
  /**
2938
- * @rc
2939
2923
  * Contains information regarding a specific block being
2940
2924
  * destroyed.
2941
2925
  */
@@ -2958,7 +2942,6 @@ export class BlockComponentPlayerDestroyEvent extends BlockEvent {
2958
2942
  }
2959
2943
 
2960
2944
  /**
2961
- * @rc
2962
2945
  * Contains information regarding a specific block being
2963
2946
  * interacted with.
2964
2947
  */
@@ -2987,7 +2970,6 @@ export class BlockComponentPlayerInteractEvent extends BlockEvent {
2987
2970
  }
2988
2971
 
2989
2972
  /**
2990
- * @rc
2991
2973
  * Contains information regarding an event before a player
2992
2974
  * places a block.
2993
2975
  */
@@ -3023,7 +3005,6 @@ export class BlockComponentPlayerPlaceBeforeEvent extends BlockEvent {
3023
3005
  }
3024
3006
 
3025
3007
  /**
3026
- * @rc
3027
3008
  * Contains information regarding a specific block randomly
3028
3009
  * ticking.
3029
3010
  */
@@ -3032,9 +3013,6 @@ export class BlockComponentRandomTickEvent extends BlockEvent {
3032
3013
  private constructor();
3033
3014
  }
3034
3015
 
3035
- /**
3036
- * @rc
3037
- */
3038
3016
  export class BlockComponentRegistry {
3039
3017
  private constructor();
3040
3018
  /**
@@ -3058,7 +3036,6 @@ export class BlockComponentRegistry {
3058
3036
  }
3059
3037
 
3060
3038
  /**
3061
- * @rc
3062
3039
  * Contains information regarding an entity stepping off a
3063
3040
  * specific block.
3064
3041
  */
@@ -3074,7 +3051,6 @@ export class BlockComponentStepOffEvent extends BlockEvent {
3074
3051
  }
3075
3052
 
3076
3053
  /**
3077
- * @rc
3078
3054
  * Contains information regarding an entity stepping onto a
3079
3055
  * specific block.
3080
3056
  */
@@ -3090,7 +3066,6 @@ export class BlockComponentStepOnEvent extends BlockEvent {
3090
3066
  }
3091
3067
 
3092
3068
  /**
3093
- * @rc
3094
3069
  * Contains information regarding a specific block ticking.
3095
3070
  */
3096
3071
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -3120,7 +3095,6 @@ export class BlockEvent {
3120
3095
  }
3121
3096
 
3122
3097
  /**
3123
- * @rc
3124
3098
  * Contains information regarding an explosion that has
3125
3099
  * occurred for a specific block.
3126
3100
  */
@@ -3142,7 +3116,6 @@ export class BlockExplodeAfterEvent extends BlockEvent {
3142
3116
  }
3143
3117
 
3144
3118
  /**
3145
- * @rc
3146
3119
  * Manages callbacks that are connected to when an explosion
3147
3120
  * occurs, as it impacts individual blocks.
3148
3121
  */
@@ -3351,14 +3324,12 @@ export class BlockPermutation {
3351
3324
  */
3352
3325
  getState(stateName: string): boolean | number | string | undefined;
3353
3326
  /**
3354
- * @rc
3355
3327
  * @remarks
3356
3328
  * Creates a copy of the permutation.
3357
3329
  *
3358
3330
  */
3359
3331
  getTags(): string[];
3360
3332
  /**
3361
- * @rc
3362
3333
  * @remarks
3363
3334
  * Checks to see if the permutation has a specific tag.
3364
3335
  *
@@ -5761,7 +5732,6 @@ export class Dimension {
5761
5732
  */
5762
5733
  getPlayers(options?: EntityQueryOptions): Player[];
5763
5734
  /**
5764
- * @rc
5765
5735
  * @remarks
5766
5736
  * Returns the highest block at the given XZ location.
5767
5737
  *
@@ -5885,7 +5855,6 @@ export class Dimension {
5885
5855
  */
5886
5856
  runCommandAsync(commandString: string): Promise<CommandResult>;
5887
5857
  /**
5888
- * @rc
5889
5858
  * @remarks
5890
5859
  * Sets a block in the world using a BlockPermutation.
5891
5860
  * BlockPermutations are blocks with a particular state.
@@ -5906,7 +5875,6 @@ export class Dimension {
5906
5875
  */
5907
5876
  setBlockPermutation(location: Vector3, permutation: BlockPermutation): void;
5908
5877
  /**
5909
- * @rc
5910
5878
  * @remarks
5911
5879
  * Sets a block at a given location within the dimension.
5912
5880
  *
@@ -6352,7 +6320,6 @@ export class EnchantmentTypes {
6352
6320
  */
6353
6321
  static get(enchantmentId: string): EnchantmentType | undefined;
6354
6322
  /**
6355
- * @rc
6356
6323
  * @remarks
6357
6324
  * Returns a collection of all available enchantment types.
6358
6325
  *
@@ -7329,7 +7296,6 @@ export class EntityAddRiderComponent extends EntityComponent {
7329
7296
  }
7330
7297
 
7331
7298
  /**
7332
- * @rc
7333
7299
  * Adds a timer for the entity to grow up. It can be
7334
7300
  * accelerated by giving the entity the items it likes as
7335
7301
  * defined by feedItems.
@@ -7659,7 +7625,6 @@ export class EntityComponent extends Component {
7659
7625
  }
7660
7626
 
7661
7627
  /**
7662
- * @rc
7663
7628
  * As part of the Ageable component, represents a set of items
7664
7629
  * that can be fed to an entity and the rate at which that
7665
7630
  * causes them to grow.
@@ -8032,7 +7997,6 @@ export class EntityHitBlockAfterEvent {
8032
7997
  */
8033
7998
  readonly hitBlock: Block;
8034
7999
  /**
8035
- * @rc
8036
8000
  * @remarks
8037
8001
  * Block permutation that was hit by the attack.
8038
8002
  *
@@ -8433,7 +8397,6 @@ export class EntityIterator implements Iterable<Entity> {
8433
8397
  }
8434
8398
 
8435
8399
  /**
8436
- * @rc
8437
8400
  * Defines the base movement speed in lava of this entity.
8438
8401
  */
8439
8402
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -8443,7 +8406,6 @@ export class EntityLavaMovementComponent extends EntityAttributeComponent {
8443
8406
  }
8444
8407
 
8445
8408
  /**
8446
- * @rc
8447
8409
  * Allows the entity to be leashed. Defines the conditions and
8448
8410
  * events for when an entity is leashed.
8449
8411
  */
@@ -8614,7 +8576,6 @@ export class EntityMovementBasicComponent extends EntityBaseMovementComponent {
8614
8576
  }
8615
8577
 
8616
8578
  /**
8617
- * @rc
8618
8579
  * Defines the general movement speed of this entity.
8619
8580
  */
8620
8581
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -8643,7 +8604,6 @@ export class EntityMovementGenericComponent extends EntityBaseMovementComponent
8643
8604
  }
8644
8605
 
8645
8606
  /**
8646
- * @rc
8647
8607
  * When added, this movement control allows the mob to glide.
8648
8608
  */
8649
8609
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -8696,7 +8656,6 @@ export class EntityMovementSkipComponent extends EntityBaseMovementComponent {
8696
8656
  }
8697
8657
 
8698
8658
  /**
8699
- * @rc
8700
8659
  * When added, this move control causes the mob to sway side to
8701
8660
  * side giving the impression it is swimming.
8702
8661
  */
@@ -9554,7 +9513,6 @@ export class EntitySpawnAfterEventSignal {
9554
9513
  }
9555
9514
 
9556
9515
  /**
9557
- * @rc
9558
9516
  * Defines the entity's ability to carry items. An entity with
9559
9517
  * a higher strength would have higher potential carry capacity
9560
9518
  * and more item slots.
@@ -9582,7 +9540,6 @@ export class EntityStrengthComponent extends EntityComponent {
9582
9540
  }
9583
9541
 
9584
9542
  /**
9585
- * @rc
9586
9543
  * Defines the rules for an entity to be tamed by the player.
9587
9544
  */
9588
9545
  // @ts-ignore Class inheritance allowed for native defined classes
@@ -9650,7 +9607,6 @@ export class EntityTameableComponent extends EntityComponent {
9650
9607
  export class EntityTameMountComponent extends EntityComponent {
9651
9608
  private constructor();
9652
9609
  /**
9653
- * @rc
9654
9610
  * @remarks
9655
9611
  * Returns true if the entity is tamed.
9656
9612
  *
@@ -9658,7 +9614,6 @@ export class EntityTameMountComponent extends EntityComponent {
9658
9614
  */
9659
9615
  readonly isTamed: boolean;
9660
9616
  /**
9661
- * @rc
9662
9617
  * @remarks
9663
9618
  * Returns true if the entity is tamed by a player.
9664
9619
  *
@@ -9666,7 +9621,6 @@ export class EntityTameMountComponent extends EntityComponent {
9666
9621
  */
9667
9622
  readonly isTamedToPlayer: boolean;
9668
9623
  /**
9669
- * @rc
9670
9624
  * @remarks
9671
9625
  * Returns the player that has tamed the entity, or 'undefined'
9672
9626
  * if entity is not tamed by a player.
@@ -9675,7 +9629,6 @@ export class EntityTameMountComponent extends EntityComponent {
9675
9629
  */
9676
9630
  readonly tamedToPlayer?: Player;
9677
9631
  /**
9678
- * @rc
9679
9632
  * @remarks
9680
9633
  * Returns the id of player that has tamed the entity, or
9681
9634
  * 'undefined' if entity is not tamed.
@@ -9696,7 +9649,6 @@ export class EntityTameMountComponent extends EntityComponent {
9696
9649
  */
9697
9650
  tame(showParticles: boolean): void;
9698
9651
  /**
9699
- * @rc
9700
9652
  * @remarks
9701
9653
  * Sets this rideable entity as tamed by the given player.
9702
9654
  *
@@ -9782,7 +9734,6 @@ export class EntityTypes {
9782
9734
  }
9783
9735
 
9784
9736
  /**
9785
- * @rc
9786
9737
  * Defines the general movement speed underwater of this
9787
9738
  * entity.
9788
9739
  */
@@ -10254,7 +10205,6 @@ export class GameRules {
10254
10205
  */
10255
10206
  showCoordinates: boolean;
10256
10207
  /**
10257
- * @rc
10258
10208
  * @remarks
10259
10209
  * This property can't be edited in read-only mode.
10260
10210
  *
@@ -10472,7 +10422,6 @@ export class ItemCompleteUseAfterEventSignal {
10472
10422
  }
10473
10423
 
10474
10424
  /**
10475
- * @rc
10476
10425
  * Contains information related to a chargeable item completing
10477
10426
  * being charged.
10478
10427
  */
@@ -10501,7 +10450,6 @@ export class ItemComponent extends Component {
10501
10450
  }
10502
10451
 
10503
10452
  /**
10504
- * @rc
10505
10453
  * Contains information regarding an item before it is damaged
10506
10454
  * from hitting an entity.
10507
10455
  */
@@ -10535,7 +10483,6 @@ export class ItemComponentBeforeDurabilityDamageEvent {
10535
10483
  }
10536
10484
 
10537
10485
  /**
10538
- * @rc
10539
10486
  * Contains information related to a chargeable item completing
10540
10487
  * being charged via a component.
10541
10488
  */
@@ -10545,7 +10492,6 @@ export class ItemComponentCompleteUseEvent extends ItemCompleteUseEvent {
10545
10492
  }
10546
10493
 
10547
10494
  /**
10548
- * @rc
10549
10495
  * Contains information related to a food item being consumed.
10550
10496
  */
10551
10497
  export class ItemComponentConsumeEvent {
@@ -10565,7 +10511,6 @@ export class ItemComponentConsumeEvent {
10565
10511
  }
10566
10512
 
10567
10513
  /**
10568
- * @rc
10569
10514
  * Contains information regarding when an item is used to hit
10570
10515
  * an entity.
10571
10516
  */
@@ -10598,7 +10543,6 @@ export class ItemComponentHitEntityEvent {
10598
10543
  }
10599
10544
 
10600
10545
  /**
10601
- * @rc
10602
10546
  * Contains information regarding the mining of a block using
10603
10547
  * an item.
10604
10548
  */
@@ -10631,7 +10575,6 @@ export class ItemComponentMineBlockEvent {
10631
10575
  }
10632
10576
 
10633
10577
  /**
10634
- * @rc
10635
10578
  * Provides the functionality for registering custom components
10636
10579
  * for items.
10637
10580
  */
@@ -10670,7 +10613,6 @@ export class ItemComponentRegistry {
10670
10613
  }
10671
10614
 
10672
10615
  /**
10673
- * @rc
10674
10616
  * Contains information regarding the use of an item.
10675
10617
  */
10676
10618
  export class ItemComponentUseEvent {
@@ -10690,7 +10632,6 @@ export class ItemComponentUseEvent {
10690
10632
  }
10691
10633
 
10692
10634
  /**
10693
- * @rc
10694
10635
  * Contains information regarding the use of an item on a block
10695
10636
  * via a component.
10696
10637
  */
@@ -11834,7 +11775,6 @@ export class ItemType {
11834
11775
  }
11835
11776
 
11836
11777
  /**
11837
- * @rc
11838
11778
  * Returns the set of item types registered within Minecraft.
11839
11779
  */
11840
11780
  export class ItemTypes {
@@ -11961,6 +11901,15 @@ export class ItemUseOnAfterEvent {
11961
11901
  *
11962
11902
  */
11963
11903
  readonly faceLocation: Vector3;
11904
+ /**
11905
+ * @beta
11906
+ * @remarks
11907
+ * This value will be true if the event was triggered on
11908
+ * players initial interaction button press and false on events
11909
+ * triggered from holding the interaction button.
11910
+ *
11911
+ */
11912
+ readonly isFirstEvent: boolean;
11964
11913
  /**
11965
11914
  * @remarks
11966
11915
  * The impacted item stack that is being used on a block.
@@ -12043,7 +11992,6 @@ export class ItemUseOnBeforeEventSignal {
12043
11992
  }
12044
11993
 
12045
11994
  /**
12046
- * @rc
12047
11995
  * Contains information regarding the use of an item on a
12048
11996
  * block.
12049
11997
  */
@@ -12378,7 +12326,6 @@ export class Player extends Entity {
12378
12326
  */
12379
12327
  readonly camera: Camera;
12380
12328
  /**
12381
- * @rc
12382
12329
  * @remarks
12383
12330
  * Input permissions of the player.
12384
12331
  *
@@ -12877,18 +12824,26 @@ export class PlayerBreakBlockBeforeEventSignal {
12877
12824
  }
12878
12825
 
12879
12826
  /**
12880
- * @beta
12827
+ * @rc
12828
+ * Represents the players cursor inventory. Used when moving
12829
+ * items between between containers in the inventory UI. Not
12830
+ * used with touch controls.
12881
12831
  */
12882
12832
  // @ts-ignore Class inheritance allowed for native defined classes
12883
12833
  export class PlayerCursorInventoryComponent extends EntityComponent {
12884
12834
  private constructor();
12885
12835
  /**
12836
+ * @remarks
12837
+ * The ItemStack currently in the players cursor inventory.
12838
+ *
12886
12839
  * @throws This property can throw when used.
12887
12840
  */
12888
12841
  readonly item?: ItemStack;
12889
12842
  static readonly componentId = 'minecraft:cursor_inventory';
12890
12843
  /**
12891
12844
  * @remarks
12845
+ * Clears the players cursor inventory.
12846
+ *
12892
12847
  * This function can't be called in read-only mode.
12893
12848
  *
12894
12849
  * @throws This function can throw errors.
@@ -13100,7 +13055,6 @@ export class PlayerGameModeChangeBeforeEventSignal {
13100
13055
  }
13101
13056
 
13102
13057
  /**
13103
- * @rc
13104
13058
  * Contains information regarding an event after a players
13105
13059
  * input permissions change.
13106
13060
  */
@@ -13127,7 +13081,6 @@ export class PlayerInputPermissionCategoryChangeAfterEvent {
13127
13081
  }
13128
13082
 
13129
13083
  /**
13130
- * @rc
13131
13084
  * Manages callbacks that are connected to after a players
13132
13085
  * input permissions change.
13133
13086
  */
@@ -13156,7 +13109,6 @@ export class PlayerInputPermissionCategoryChangeAfterEventSignal {
13156
13109
  }
13157
13110
 
13158
13111
  /**
13159
- * @rc
13160
13112
  * Contains properties for enabling/disabling player input
13161
13113
  * permissions.
13162
13114
  */
@@ -14929,7 +14881,6 @@ export class System {
14929
14881
  */
14930
14882
  readonly currentTick: number;
14931
14883
  /**
14932
- * @rc
14933
14884
  * @remarks
14934
14885
  * Cancels the execution of a job queued via {@link
14935
14886
  * System.runJob}.
@@ -15007,7 +14958,6 @@ export class System {
15007
14958
  */
15008
14959
  runInterval(callback: () => void, tickInterval?: number): number;
15009
14960
  /**
15010
- * @rc
15011
14961
  * @remarks
15012
14962
  * Queues a generator to run until completion. The generator
15013
14963
  * will be given a time slice each tick, and will be run until
@@ -15065,7 +15015,6 @@ export class System {
15065
15015
  */
15066
15016
  runTimeout(callback: () => void, tickDelay?: number): number;
15067
15017
  /**
15068
- * @rc
15069
15018
  * @throws This function can throw errors.
15070
15019
  *
15071
15020
  * {@link minecraftcommon.EngineError}
@@ -15171,7 +15120,6 @@ export class TargetBlockHitAfterEventSignal {
15171
15120
  }
15172
15121
 
15173
15122
  /**
15174
- * @rc
15175
15123
  * Represents a trigger for firing an event.
15176
15124
  */
15177
15125
  export class Trigger {
@@ -15996,7 +15944,6 @@ export class World {
15996
15944
  export class WorldAfterEvents {
15997
15945
  private constructor();
15998
15946
  /**
15999
- * @rc
16000
15947
  * @remarks
16001
15948
  * This event fires for each BlockLocation destroyed by an
16002
15949
  * explosion. It is fired after the blocks have already been
@@ -16192,7 +16139,6 @@ export class WorldAfterEvents {
16192
16139
  readonly playerEmote: PlayerEmoteAfterEventSignal;
16193
16140
  readonly playerGameModeChange: PlayerGameModeChangeAfterEventSignal;
16194
16141
  /**
16195
- * @rc
16196
16142
  * @remarks
16197
16143
  * This event fires when a players input permissions change.
16198
16144
  *
@@ -16381,7 +16327,6 @@ export class WorldBeforeEvents {
16381
16327
  readonly playerPlaceBlock: PlayerPlaceBlockBeforeEventSignal;
16382
16328
  readonly weatherChange: WeatherChangeBeforeEventSignal;
16383
16329
  /**
16384
- * @rc
16385
16330
  * @remarks
16386
16331
  * This event fires immediately when the script environment is
16387
16332
  * initialized on a World. Not all script functionality may be
@@ -16428,7 +16373,6 @@ export class WorldInitializeAfterEventSignal {
16428
16373
  }
16429
16374
 
16430
16375
  /**
16431
- * @rc
16432
16376
  * Contains information and methods that can be used at the
16433
16377
  * initialization of the scripting environment for a World.
16434
16378
  * Also, use the supplied blockRegistry object to register
@@ -16448,7 +16392,6 @@ export class WorldInitializeBeforeEvent {
16448
16392
  }
16449
16393
 
16450
16394
  /**
16451
- * @rc
16452
16395
  * Manages callbacks that are run at the initialization of the
16453
16396
  * scripting environment for a World. Do note that this event
16454
16397
  * may run multiple times within a session in the case that the
@@ -16491,7 +16434,6 @@ export interface BiomeSearchOptions {
16491
16434
  }
16492
16435
 
16493
16436
  /**
16494
- * @rc
16495
16437
  * Contains a set of events that will be raised for a block.
16496
16438
  * This object must be bound using the BlockRegistry.
16497
16439
  */
@@ -17527,7 +17469,6 @@ export interface EntityRaycastHit {
17527
17469
  // @ts-ignore Class inheritance allowed for native defined classes
17528
17470
  export interface EntityRaycastOptions extends EntityFilter {
17529
17471
  /**
17530
- * @rc
17531
17472
  * @remarks
17532
17473
  * If true, blocks will not be considered as blocks that 'stop'
17533
17474
  * the raycast.
@@ -17535,7 +17476,6 @@ export interface EntityRaycastOptions extends EntityFilter {
17535
17476
  */
17536
17477
  ignoreBlockCollision?: boolean;
17537
17478
  /**
17538
- * @rc
17539
17479
  * @remarks
17540
17480
  * If true, liquid blocks will be considered as blocks that
17541
17481
  * 'stop' the raycast.
@@ -17543,7 +17483,6 @@ export interface EntityRaycastOptions extends EntityFilter {
17543
17483
  */
17544
17484
  includeLiquidBlocks?: boolean;
17545
17485
  /**
17546
- * @rc
17547
17486
  * @remarks
17548
17487
  * If true, passable blocks like vines and flowers will be
17549
17488
  * considered as blocks that 'stop' the raycast.
@@ -17647,7 +17586,6 @@ export interface GreaterThanOrEqualsComparison {
17647
17586
  }
17648
17587
 
17649
17588
  /**
17650
- * @rc
17651
17589
  * Contains a set of events that will be raised for an item.
17652
17590
  * This object must be bound using the ItemComponentRegistry.
17653
17591
  */
@@ -18354,9 +18292,6 @@ export interface Vector3 {
18354
18292
  z: number;
18355
18293
  }
18356
18294
 
18357
- /**
18358
- * @rc
18359
- */
18360
18295
  export interface VectorXZ {
18361
18296
  x: number;
18362
18297
  z: number;
@@ -18380,33 +18315,21 @@ export interface WorldSoundOptions {
18380
18315
  volume?: number;
18381
18316
  }
18382
18317
 
18383
- /**
18384
- * @rc
18385
- */
18386
18318
  // @ts-ignore Class inheritance allowed for native defined classes
18387
18319
  export class BlockCustomComponentAlreadyRegisteredError extends Error {
18388
18320
  private constructor();
18389
18321
  }
18390
18322
 
18391
- /**
18392
- * @rc
18393
- */
18394
18323
  // @ts-ignore Class inheritance allowed for native defined classes
18395
18324
  export class BlockCustomComponentReloadNewComponentError extends Error {
18396
18325
  private constructor();
18397
18326
  }
18398
18327
 
18399
- /**
18400
- * @rc
18401
- */
18402
18328
  // @ts-ignore Class inheritance allowed for native defined classes
18403
18329
  export class BlockCustomComponentReloadNewEventError extends Error {
18404
18330
  private constructor();
18405
18331
  }
18406
18332
 
18407
- /**
18408
- * @rc
18409
- */
18410
18333
  // @ts-ignore Class inheritance allowed for native defined classes
18411
18334
  export class BlockCustomComponentReloadVersionError extends Error {
18412
18335
  private constructor();
@@ -18417,17 +18340,11 @@ export class CommandError extends Error {
18417
18340
  private constructor();
18418
18341
  }
18419
18342
 
18420
- /**
18421
- * @rc
18422
- */
18423
18343
  // @ts-ignore Class inheritance allowed for native defined classes
18424
18344
  export class CustomComponentInvalidRegistryError extends Error {
18425
18345
  private constructor();
18426
18346
  }
18427
18347
 
18428
- /**
18429
- * @rc
18430
- */
18431
18348
  // @ts-ignore Class inheritance allowed for native defined classes
18432
18349
  export class CustomComponentNameError extends Error {
18433
18350
  private constructor();
@@ -18458,6 +18375,14 @@ export class InvalidContainerSlotError extends Error {
18458
18375
  private constructor();
18459
18376
  }
18460
18377
 
18378
+ /**
18379
+ * @beta
18380
+ */
18381
+ // @ts-ignore Class inheritance allowed for native defined classes
18382
+ export class InvalidIteratorError extends Error {
18383
+ private constructor();
18384
+ }
18385
+
18461
18386
  /**
18462
18387
  * Thrown when a Structure is invalid. A structure becomes
18463
18388
  * invalid when it is deleted.
@@ -18468,7 +18393,6 @@ export class InvalidStructureError extends Error {
18468
18393
  }
18469
18394
 
18470
18395
  /**
18471
- * @rc
18472
18396
  * Thrown when trying to register an item custom component with
18473
18397
  * a name that has already been registered.
18474
18398
  */
@@ -18478,7 +18402,6 @@ export class ItemCustomComponentAlreadyRegisteredError extends Error {
18478
18402
  }
18479
18403
 
18480
18404
  /**
18481
- * @rc
18482
18405
  * Thrown after using the /reload command when trying to
18483
18406
  * register a previously unregistered item custom component.
18484
18407
  */
@@ -18488,7 +18411,6 @@ export class ItemCustomComponentReloadNewComponentError extends Error {
18488
18411
  }
18489
18412
 
18490
18413
  /**
18491
- * @rc
18492
18414
  * Thrown after using the /reload command when trying to
18493
18415
  * register a previously registered item custom component that
18494
18416
  * handles a new event.
@@ -18499,7 +18421,6 @@ export class ItemCustomComponentReloadNewEventError extends Error {
18499
18421
  }
18500
18422
 
18501
18423
  /**
18502
- * @rc
18503
18424
  * Thrown after using the /reload command when trying to
18504
18425
  * register a previously registered item custom component with
18505
18426
  * a newer API version.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.15.0-beta.1.21.30-preview.21",
3
+ "version": "1.15.0-beta.1.21.30-preview.23",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {