@minecraft/server 2.12.0-rc.1.26.70-preview.21 → 2.12.0-rc.1.26.70-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 +258 -48
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Type definitions for Minecraft Bedrock Edition script APIs
2
- // Project: https://docs.microsoft.com/minecraft/creator/
2
+ // Project: https://learn.microsoft.com/minecraft/creator/
3
3
  // Definitions by: Jake Shirley <https://github.com/JakeShirley>
4
- // Mike Ammerlaan <https://github.com/mammerla>
4
+ // Raphael Landaverde <https://github.com/rlandav>
5
5
 
6
6
  /* *****************************************************************************
7
7
  Copyright (c) Microsoft Corporation.
@@ -101,6 +101,10 @@ export enum BlockComponentTypes {
101
101
  *
102
102
  */
103
103
  Sign = 'minecraft:sign',
104
+ /**
105
+ * @rc
106
+ */
107
+ VibrationProperties = 'minecraft:vibration_properties',
104
108
  }
105
109
 
106
110
  /**
@@ -3123,12 +3127,14 @@ export type BlockComponentTypeMap = {
3123
3127
  'minecraft:record_player': BlockRecordPlayerComponent;
3124
3128
  'minecraft:redstone_producer': BlockRedstoneProducerComponent;
3125
3129
  'minecraft:sign': BlockSignComponent;
3130
+ 'minecraft:vibration_properties': BlockVibrationPropertiesComponent;
3126
3131
  movable: BlockMovableComponent;
3127
3132
  piston: BlockPistonComponent;
3128
3133
  precipitation_interactions: BlockPrecipitationInteractionsComponent;
3129
3134
  record_player: BlockRecordPlayerComponent;
3130
3135
  redstone_producer: BlockRedstoneProducerComponent;
3131
3136
  sign: BlockSignComponent;
3137
+ vibration_properties: BlockVibrationPropertiesComponent;
3132
3138
  };
3133
3139
 
3134
3140
  /**
@@ -4122,6 +4128,23 @@ export class Block {
4122
4128
  * {@link LocationOutOfWorldBoundariesError}
4123
4129
  */
4124
4130
  east(steps?: number): Block | undefined;
4131
+ /**
4132
+ * @rc
4133
+ * @remarks
4134
+ * Returns the named tick events scheduled at this block by the
4135
+ * calling script pack.
4136
+ *
4137
+ * @returns
4138
+ * The scheduled named tick events. Each event contains its
4139
+ * eventName and the number of ticks until it is raised as
4140
+ * tickDelay.
4141
+ * @throws This function can throw errors.
4142
+ *
4143
+ * {@link LocationInUnloadedChunkError}
4144
+ *
4145
+ * {@link LocationOutOfWorldBoundariesError}
4146
+ */
4147
+ getAllScheduledNamedTicks(): ScheduledNamedTick[];
4125
4148
  /**
4126
4149
  * @remarks
4127
4150
  * Gets a component (that represents additional capabilities)
@@ -4223,6 +4246,22 @@ export class Block {
4223
4246
  * {@link LocationOutOfWorldBoundariesError}
4224
4247
  */
4225
4248
  getRedstonePower(): number | undefined;
4249
+ /**
4250
+ * @rc
4251
+ * @remarks
4252
+ * Returns the number of named tick events scheduled at this
4253
+ * block, regardless of which script pack scheduled them.
4254
+ *
4255
+ * @returns
4256
+ * The number of named tick events currently scheduled at this
4257
+ * block.
4258
+ * @throws This function can throw errors.
4259
+ *
4260
+ * {@link LocationInUnloadedChunkError}
4261
+ *
4262
+ * {@link LocationOutOfWorldBoundariesError}
4263
+ */
4264
+ getScheduledNamedTickCount(): number;
4226
4265
  /**
4227
4266
  * @remarks
4228
4267
  * Returns the brightness level of light shining from the sky
@@ -4268,6 +4307,15 @@ export class Block {
4268
4307
  * {@link LocationOutOfWorldBoundariesError}
4269
4308
  */
4270
4309
  hasComponent(componentId: string): boolean;
4310
+ /**
4311
+ * @rc
4312
+ * @throws This function can throw errors.
4313
+ *
4314
+ * {@link LocationInUnloadedChunkError}
4315
+ *
4316
+ * {@link LocationOutOfWorldBoundariesError}
4317
+ */
4318
+ hasScheduledNamedTick(eventName: string): boolean;
4271
4319
  /**
4272
4320
  * @remarks
4273
4321
  * Checks to see if the permutation of this block has a
@@ -4408,6 +4456,47 @@ export class Block {
4408
4456
  * {@link LocationOutOfWorldBoundariesError}
4409
4457
  */
4410
4458
  offset(offset: Vector3): Block | undefined;
4459
+ /**
4460
+ * @rc
4461
+ * @remarks
4462
+ * Removes all scheduled named tick events from this block with
4463
+ * the specified event name.
4464
+ *
4465
+ * @privilege no-restricted-execution - This function can't be called in restricted-execution mode.
4466
+ *
4467
+ * @param eventName
4468
+ * Name of the scheduled event to remove.
4469
+ * @throws This function can throw errors.
4470
+ *
4471
+ * {@link LocationInUnloadedChunkError}
4472
+ *
4473
+ * {@link LocationOutOfWorldBoundariesError}
4474
+ */
4475
+ removeScheduledNamedTicks(eventName: string): void;
4476
+ /**
4477
+ * @rc
4478
+ * @remarks
4479
+ * Schedules a named tick event for this block. The event will
4480
+ * be delivered to block custom components registered with the
4481
+ * `onNamedTick` callback after the specified delay.
4482
+ *
4483
+ * @privilege no-restricted-execution - This function can't be called in restricted-execution mode.
4484
+ *
4485
+ * @param eventName
4486
+ * Name of the event to schedule. Up to 31 characters.
4487
+ * @param tickDelay
4488
+ * Number of ticks to wait before the event is raised. Must be
4489
+ * at least 1.
4490
+ * Minimum value: 1
4491
+ * @throws This function can throw errors.
4492
+ *
4493
+ * {@link Error}
4494
+ *
4495
+ * {@link LocationInUnloadedChunkError}
4496
+ *
4497
+ * {@link LocationOutOfWorldBoundariesError}
4498
+ */
4499
+ scheduleNamedTick(eventName: string, tickDelay: number): void;
4411
4500
  /**
4412
4501
  * @remarks
4413
4502
  * Sets the block in the dimension to the state of the
@@ -4599,6 +4688,54 @@ export class BlockComponentEntityFallOnEvent extends BlockEvent {
4599
4688
  readonly fallDistance: number;
4600
4689
  }
4601
4690
 
4691
+ /**
4692
+ * @rc
4693
+ * Contains information regarding a named tick event for a
4694
+ * specific block.
4695
+ */
4696
+ // @ts-ignore Class inheritance allowed for native defined classes
4697
+ export class BlockComponentNamedTickEvent extends BlockEvent {
4698
+ private constructor();
4699
+ /**
4700
+ * @remarks
4701
+ * Name of the named tick event.
4702
+ *
4703
+ */
4704
+ readonly name: string;
4705
+ /**
4706
+ * @remarks
4707
+ * Checks whether this named tick event was scheduled by this
4708
+ * pack.
4709
+ *
4710
+ * @returns
4711
+ * True if this named tick event was scheduled by this pack;
4712
+ * otherwise, false.
4713
+ */
4714
+ isMine(): boolean;
4715
+ }
4716
+
4717
+ /**
4718
+ * @rc
4719
+ * Contains information regarding neighboring block changes for
4720
+ * a specific block.
4721
+ */
4722
+ // @ts-ignore Class inheritance allowed for native defined classes
4723
+ export class BlockComponentNeighborChangedAfterEvent extends BlockEvent {
4724
+ private constructor();
4725
+ /**
4726
+ * @remarks
4727
+ * Returns the neighboring block changes for this event.
4728
+ *
4729
+ * @returns
4730
+ * One entry for each neighboring direction that changed,
4731
+ * ordered by when each direction first changed. If a direction
4732
+ * changed multiple times during the tick, the entry contains
4733
+ * the permutation before the first change and after the last
4734
+ * change. Intermediate permutations are not included.
4735
+ */
4736
+ getChanges(): NeighborChange[];
4737
+ }
4738
+
4602
4739
  /**
4603
4740
  * Contains information regarding a specific block that was
4604
4741
  * placed.
@@ -6089,6 +6226,49 @@ export class BlockTypes {
6089
6226
  static getAll(): BlockType[];
6090
6227
  }
6091
6228
 
6229
+ /**
6230
+ * @rc
6231
+ * Represents the vibration properties of a block with a
6232
+ * 'minecraft:vibration_properties' component.
6233
+ */
6234
+ // @ts-ignore Class inheritance allowed for native defined classes
6235
+ export class BlockVibrationPropertiesComponent extends BlockComponent {
6236
+ private constructor();
6237
+ static readonly componentId = 'minecraft:vibration_properties';
6238
+ /**
6239
+ * @remarks
6240
+ * Gets whether this block can dampen vibrations. Vibrations
6241
+ * that occur on this block will be discarded by this block if
6242
+ * it can dampen vibrations. Returns false when the block does
6243
+ * not define a 'minecraft:vibration_properties' component.
6244
+ *
6245
+ * @returns
6246
+ * Whether this block can dampen vibrations.
6247
+ * @throws This function can throw errors.
6248
+ *
6249
+ * {@link LocationInUnloadedChunkError}
6250
+ *
6251
+ * {@link LocationOutOfWorldBoundariesError}
6252
+ */
6253
+ getCanDampenVibrations(): boolean;
6254
+ /**
6255
+ * @remarks
6256
+ * Gets whether this block can occlude vibrations. Vibrations
6257
+ * that pass through this block will be discarded if this block
6258
+ * can occlude vibrations. Returns false when the block does
6259
+ * not define a 'minecraft:vibration_properties' component.
6260
+ *
6261
+ * @returns
6262
+ * Whether this block can occlude vibrations.
6263
+ * @throws This function can throw errors.
6264
+ *
6265
+ * {@link LocationInUnloadedChunkError}
6266
+ *
6267
+ * {@link LocationOutOfWorldBoundariesError}
6268
+ */
6269
+ getCanOccludeVibrations(): boolean;
6270
+ }
6271
+
6092
6272
  /**
6093
6273
  * A BlockVolume is a simple interface to an object which
6094
6274
  * represents a 3D rectangle of a given size (in blocks) at a
@@ -8430,7 +8610,6 @@ export class Dimension {
8430
8610
  */
8431
8611
  spawnParticle(effectName: string, location: Vector3, molangVariables?: MolangVariableMap): void;
8432
8612
  /**
8433
- * @rc
8434
8613
  * @remarks
8435
8614
  * Spawns an experience orb at a specified location in the
8436
8615
  * dimension.
@@ -11517,7 +11696,6 @@ export class EntityIsStunnedComponent extends EntityComponent {
11517
11696
  export class EntityIsTamedComponent extends EntityComponent {
11518
11697
  private constructor();
11519
11698
  /**
11520
- * @rc
11521
11699
  * @remarks
11522
11700
  * Returns the player that has tamed the entity, or 'undefined'
11523
11701
  * if the entity has no player owner.
@@ -11528,7 +11706,6 @@ export class EntityIsTamedComponent extends EntityComponent {
11528
11706
  */
11529
11707
  readonly tamedToPlayer?: Player;
11530
11708
  /**
11531
- * @rc
11532
11709
  * @remarks
11533
11710
  * Returns the id of the player that has tamed the entity, or
11534
11711
  * 'undefined' if the entity has no player owner.
@@ -21421,7 +21598,6 @@ export class SoundInstance {
21421
21598
  */
21422
21599
  readonly soundEventId: string;
21423
21600
  /**
21424
- * @rc
21425
21601
  * @remarks
21426
21602
  * Fades this sound instance from its current volume multiplier
21427
21603
  * to the target multiplier over the specified duration. Volume
@@ -21441,7 +21617,6 @@ export class SoundInstance {
21441
21617
  */
21442
21618
  fade(duration: number, targetVolume: number): void;
21443
21619
  /**
21444
- * @rc
21445
21620
  * @remarks
21446
21621
  * Pauses this sound.
21447
21622
  *
@@ -21450,7 +21625,6 @@ export class SoundInstance {
21450
21625
  */
21451
21626
  pause(): void;
21452
21627
  /**
21453
- * @rc
21454
21628
  * @remarks
21455
21629
  * Resumes this sound after a pause.
21456
21630
  *
@@ -21459,7 +21633,6 @@ export class SoundInstance {
21459
21633
  */
21460
21634
  resume(): void;
21461
21635
  /**
21462
- * @rc
21463
21636
  * @remarks
21464
21637
  * Sets the playback position of this sound instance.
21465
21638
  *
@@ -21476,7 +21649,6 @@ export class SoundInstance {
21476
21649
  */
21477
21650
  seekTo(seconds: number): void;
21478
21651
  /**
21479
- * @rc
21480
21652
  * @remarks
21481
21653
  * Sets the pitch of this sound instance.
21482
21654
  *
@@ -21489,7 +21661,6 @@ export class SoundInstance {
21489
21661
  */
21490
21662
  setPitch(pitch: number): void;
21491
21663
  /**
21492
- * @rc
21493
21664
  * @remarks
21494
21665
  * Sets the volume multiplier of this sound instance relative
21495
21666
  * to the volume of the selected sound variant.
@@ -21575,7 +21746,6 @@ export class StartupEvent {
21575
21746
  */
21576
21747
  readonly itemComponentRegistry: ItemComponentRegistry;
21577
21748
  /**
21578
- * @rc
21579
21749
  * @remarks
21580
21750
  * @privilege early-execution-readable - This property can be read in early-execution mode.
21581
21751
  *
@@ -22341,7 +22511,6 @@ export class TextPrimitive extends PrimitiveShape {
22341
22511
  */
22342
22512
  depthTest: boolean;
22343
22513
  /**
22344
- * @rc
22345
22514
  * @remarks
22346
22515
  * This value determines the gap between lines for the
22347
22516
  * TextPrimitive. By default the line gap height is 0.
@@ -22489,7 +22658,6 @@ export class TickingAreaManager {
22489
22658
  }
22490
22659
 
22491
22660
  /**
22492
- * @rc
22493
22661
  * A named point in time on a world clock that can occur once
22494
22662
  * or periodically.
22495
22663
  */
@@ -22996,7 +23164,6 @@ export class World {
22996
23164
  */
22997
23165
  getAllPlayers(): Player[];
22998
23166
  /**
22999
- * @rc
23000
23167
  * @remarks
23001
23168
  * Retrieves a world clock by its name.
23002
23169
  *
@@ -23932,7 +24099,6 @@ export class WorldAfterEvents {
23932
24099
  */
23933
24100
  readonly weatherChange: WeatherChangeAfterEventSignal;
23934
24101
  /**
23935
- * @rc
23936
24102
  * @remarks
23937
24103
  * This event fires when a {@link WorldClock} is paused.
23938
24104
  *
@@ -23941,7 +24107,6 @@ export class WorldAfterEvents {
23941
24107
  */
23942
24108
  readonly worldClockOnPaused: WorldClockOnPausedAfterEventSignal;
23943
24109
  /**
23944
- * @rc
23945
24110
  * @remarks
23946
24111
  * This event fires when a {@link WorldClock} is resumed.
23947
24112
  *
@@ -23950,7 +24115,6 @@ export class WorldAfterEvents {
23950
24115
  */
23951
24116
  readonly worldClockOnResumed: WorldClockOnResumedAfterEventSignal;
23952
24117
  /**
23953
- * @rc
23954
24118
  * @remarks
23955
24119
  * This event fires when the time of a {@link WorldClock} hits
23956
24120
  * a {@link TimeMarker} on the clock. This can happen during a
@@ -23961,7 +24125,6 @@ export class WorldAfterEvents {
23961
24125
  */
23962
24126
  readonly worldClockOnTimeMarker: WorldClockOnTimeMarkerAfterEventSignal;
23963
24127
  /**
23964
- * @rc
23965
24128
  * @remarks
23966
24129
  * This event fires when a {@link WorldClock} time is changed.
23967
24130
  * This can happen when the time is directly set through
@@ -24097,7 +24260,6 @@ export class WorldBeforeEvents {
24097
24260
  */
24098
24261
  readonly weatherChange: WeatherChangeBeforeEventSignal;
24099
24262
  /**
24100
- * @rc
24101
24263
  * @remarks
24102
24264
  * This event fires when a {@link WorldClock} reaches its
24103
24265
  * maximum time and is about to restart.
@@ -24109,7 +24271,6 @@ export class WorldBeforeEvents {
24109
24271
  }
24110
24272
 
24111
24273
  /**
24112
- * @rc
24113
24274
  * A class that represents a particular clock within a world.
24114
24275
  */
24115
24276
  export class WorldClock {
@@ -24236,7 +24397,6 @@ export class WorldClock {
24236
24397
  }
24237
24398
 
24238
24399
  /**
24239
- * @rc
24240
24400
  * Contains information related to a {@link WorldClock} being
24241
24401
  * paused.
24242
24402
  */
@@ -24251,7 +24411,6 @@ export class WorldClockOnPausedAfterEvent {
24251
24411
  }
24252
24412
 
24253
24413
  /**
24254
- * @rc
24255
24414
  * Manages callbacks that are connected to a {@link WorldClock}
24256
24415
  * being paused.
24257
24416
  */
@@ -24285,7 +24444,6 @@ export class WorldClockOnPausedAfterEventSignal {
24285
24444
  }
24286
24445
 
24287
24446
  /**
24288
- * @rc
24289
24447
  * Contains information related to a {@link WorldClock}
24290
24448
  * restarting.
24291
24449
  */
@@ -24316,7 +24474,6 @@ export class WorldClockOnRestartBeforeEvent {
24316
24474
  }
24317
24475
 
24318
24476
  /**
24319
- * @rc
24320
24477
  * Manages callbacks that are connected to a {@link WorldClock}
24321
24478
  * restarting.
24322
24479
  */
@@ -24356,7 +24513,6 @@ export class WorldClockOnRestartBeforeEventSignal {
24356
24513
  }
24357
24514
 
24358
24515
  /**
24359
- * @rc
24360
24516
  * Contains information related to a {@link WorldClock} being
24361
24517
  * resumed.
24362
24518
  */
@@ -24371,7 +24527,6 @@ export class WorldClockOnResumedAfterEvent {
24371
24527
  }
24372
24528
 
24373
24529
  /**
24374
- * @rc
24375
24530
  * Manages callbacks that are connected to a {@link WorldClock}
24376
24531
  * being resumed.
24377
24532
  */
@@ -24405,7 +24560,6 @@ export class WorldClockOnResumedAfterEventSignal {
24405
24560
  }
24406
24561
 
24407
24562
  /**
24408
- * @rc
24409
24563
  * Contains information related to when the time of a
24410
24564
  * {@link WorldClock} hits a {@link TimeMarker}.
24411
24565
  */
@@ -24426,7 +24580,6 @@ export class WorldClockOnTimeMarkerAfterEvent {
24426
24580
  }
24427
24581
 
24428
24582
  /**
24429
- * @rc
24430
24583
  * Manages callbacks that are connected to when the time of a
24431
24584
  * {@link WorldClock} hits a {@link TimeMarker}.
24432
24585
  */
@@ -24460,7 +24613,6 @@ export class WorldClockOnTimeMarkerAfterEventSignal {
24460
24613
  }
24461
24614
 
24462
24615
  /**
24463
- * @rc
24464
24616
  * Contains information related to changes to the time of a
24465
24617
  * {@link WorldClock}.
24466
24618
  */
@@ -24475,7 +24627,6 @@ export class WorldClockOnTimeModifiedAfterEvent {
24475
24627
  }
24476
24628
 
24477
24629
  /**
24478
- * @rc
24479
24630
  * Manages callbacks that are connected to changes to the time
24480
24631
  * of a {@link WorldClock}.
24481
24632
  */
@@ -24509,7 +24660,6 @@ export class WorldClockOnTimeModifiedAfterEventSignal {
24509
24660
  }
24510
24661
 
24511
24662
  /**
24512
- * @rc
24513
24663
  * Provides the functionality for registering custom world
24514
24664
  * clocks. World clocks can only be registered during the
24515
24665
  * system startup event.
@@ -24605,10 +24755,41 @@ export interface AnimationOptions {
24605
24755
  totalTimeSeconds: number;
24606
24756
  }
24607
24757
 
24758
+ /**
24759
+ * Options to include or exclude biomes based on biome names,
24760
+ * tags, or namespaces. If no include options are added it will
24761
+ * select all biomes that are not rejected by the exclude
24762
+ * options. If at least one include option is added the biome
24763
+ * must match one of the include options to not be rejected.
24764
+ */
24608
24765
  export interface BiomeFilter {
24766
+ /**
24767
+ * @remarks
24768
+ * Array of biome names that the filter should reject if any
24769
+ * matches.
24770
+ *
24771
+ */
24609
24772
  excludeBiomes?: string[];
24773
+ /**
24774
+ * @remarks
24775
+ * Array of biome tags that the filter should reject if any
24776
+ * matches.
24777
+ *
24778
+ */
24610
24779
  excludeTags?: string[];
24780
+ /**
24781
+ * @remarks
24782
+ * Array of biome names that the filter should select if at
24783
+ * least one matches.
24784
+ *
24785
+ */
24611
24786
  includeBiomes?: string[];
24787
+ /**
24788
+ * @remarks
24789
+ * Array of biome tags that the filter should select if at
24790
+ * least one matches.
24791
+ *
24792
+ */
24612
24793
  includeTags?: string[];
24613
24794
  }
24614
24795
 
@@ -24716,6 +24897,14 @@ export interface BlockCustomComponent {
24716
24897
  *
24717
24898
  */
24718
24899
  onEntityFallOn?: (arg0: BlockComponentEntityFallOnEvent, arg1: CustomComponentParameters) => void;
24900
+ /**
24901
+ * @rc
24902
+ */
24903
+ onNamedTick?: (arg0: BlockComponentNamedTickEvent, arg1: CustomComponentParameters) => void;
24904
+ /**
24905
+ * @rc
24906
+ */
24907
+ onNeighborChanged?: (arg0: BlockComponentNeighborChangedAfterEvent, arg1: CustomComponentParameters) => void;
24719
24908
  /**
24720
24909
  * @remarks
24721
24910
  * This function will be called when the block that this custom
@@ -26605,6 +26794,35 @@ export interface MusicOptions {
26605
26794
  volume?: number;
26606
26795
  }
26607
26796
 
26797
+ /**
26798
+ * @rc
26799
+ * Contains information regarding a block change in one
26800
+ * neighboring direction.
26801
+ */
26802
+ export interface NeighborChange {
26803
+ /**
26804
+ * @remarks
26805
+ * The permutation of the neighboring block after its last
26806
+ * change during the tick.
26807
+ *
26808
+ */
26809
+ blockPermutation: BlockPermutation;
26810
+ /**
26811
+ * @remarks
26812
+ * Direction from the block receiving the event to the
26813
+ * neighboring block that changed.
26814
+ *
26815
+ */
26816
+ direction: Direction;
26817
+ /**
26818
+ * @remarks
26819
+ * The permutation of the neighboring block before its first
26820
+ * change during the tick.
26821
+ *
26822
+ */
26823
+ previousPermutation: BlockPermutation;
26824
+ }
26825
+
26608
26826
  /**
26609
26827
  * Not equal to operator.
26610
26828
  */
@@ -26725,7 +26943,6 @@ export interface PlayerSoundOptions {
26725
26943
  */
26726
26944
  location?: Vector3;
26727
26945
  /**
26728
- * @rc
26729
26946
  * @remarks
26730
26947
  * Number of additional times to repeat the sound after the
26731
26948
  * initial play. `0` (the default) plays the sound once, `-1`
@@ -27182,6 +27399,14 @@ export interface RotationKeyFrame {
27182
27399
  timeSeconds: number;
27183
27400
  }
27184
27401
 
27402
+ /**
27403
+ * @rc
27404
+ */
27405
+ export interface ScheduledNamedTick {
27406
+ eventName: string;
27407
+ tickDelay: number;
27408
+ }
27409
+
27185
27410
  /**
27186
27411
  * Contains additional options for how a scoreboard should be
27187
27412
  * displayed within its display slot.
@@ -27634,7 +27859,6 @@ export interface TickingAreaOptions {
27634
27859
  }
27635
27860
 
27636
27861
  /**
27637
- * @rc
27638
27862
  * Options for creating time markers for world clocks.
27639
27863
  */
27640
27864
  export interface TimeMarkerOptions {
@@ -27802,7 +28026,6 @@ export interface WaypointTextureSelector {
27802
28026
  }
27803
28027
 
27804
28028
  /**
27805
- * @rc
27806
28029
  * Contains parameters for world clock events that filters out
27807
28030
  * which events are passed to the provided callback.
27808
28031
  */
@@ -27816,7 +28039,6 @@ export interface WorldClockEventOptions {
27816
28039
  }
27817
28040
 
27818
28041
  /**
27819
- * @rc
27820
28042
  * Contains additional options for registering world clocks.
27821
28043
  */
27822
28044
  export interface WorldClockRegistrationOptions {
@@ -27830,7 +28052,6 @@ export interface WorldClockRegistrationOptions {
27830
28052
  }
27831
28053
 
27832
28054
  /**
27833
- * @rc
27834
28055
  * Contains parameters for world clock time marker events that
27835
28056
  * filters out which events are passed to the provided
27836
28057
  * callback.
@@ -27858,7 +28079,6 @@ export interface WorldClockTimeMarkerEventOptions {
27858
28079
  export interface WorldSoundOptions {
27859
28080
  isBroadcast?: boolean;
27860
28081
  /**
27861
- * @rc
27862
28082
  * @remarks
27863
28083
  * Number of additional times to repeat the sound after the
27864
28084
  * initial play. `0` (the default) plays the sound once, `-1`
@@ -28318,7 +28538,6 @@ export class UnloadedChunksError extends Error {
28318
28538
  }
28319
28539
 
28320
28540
  /**
28321
- * @rc
28322
28541
  * Error thrown by {@link WorldClock.addTimeMarker} when
28323
28542
  * failing to add a time marker to a world clock.
28324
28543
  */
@@ -28328,7 +28547,6 @@ export class WorldClockAddTimeMarkerError extends Error {
28328
28547
  }
28329
28548
 
28330
28549
  /**
28331
- * @rc
28332
28550
  * Thrown when trying to register a world clock outside of the
28333
28551
  * system startup event.
28334
28552
  */
@@ -28338,7 +28556,6 @@ export class WorldClockInvalidRegistryError extends Error {
28338
28556
  }
28339
28557
 
28340
28558
  /**
28341
- * @rc
28342
28559
  * Error thrown when a time marker is invalid. This can occur
28343
28560
  * when trying to access data on a time marker that has been
28344
28561
  * removed.
@@ -28349,7 +28566,6 @@ export class WorldClockInvalidTimeMarkerError extends Error {
28349
28566
  }
28350
28567
 
28351
28568
  /**
28352
- * @rc
28353
28569
  * Error thrown when a world clock is not found in the world
28354
28570
  * clock registry.
28355
28571
  */
@@ -28359,7 +28575,6 @@ export class WorldClockNotFoundError extends Error {
28359
28575
  }
28360
28576
 
28361
28577
  /**
28362
- * @rc
28363
28578
  * Error thrown by {@link WorldClockRegistry.registerClock}
28364
28579
  * when failing to register a world clock.
28365
28580
  */
@@ -28369,7 +28584,6 @@ export class WorldClockRegistrationError extends Error {
28369
28584
  }
28370
28585
 
28371
28586
  /**
28372
- * @rc
28373
28587
  * Thrown after using the /reload command when trying to
28374
28588
  * register a world clock that was not previously registered.
28375
28589
  * New world clocks cannot be added during a reload.
@@ -28380,7 +28594,6 @@ export class WorldClockReloadNewWorldClockError extends Error {
28380
28594
  }
28381
28595
 
28382
28596
  /**
28383
- * @rc
28384
28597
  * Error thrown after using the /reload command when trying to
28385
28598
  * re-register an existing world clock with an invalid time
28386
28599
  * marker.
@@ -28391,7 +28604,6 @@ export class WorldClockReloadTimeMarkerError extends Error {
28391
28604
  }
28392
28605
 
28393
28606
  /**
28394
- * @rc
28395
28607
  * Error thrown by {@link WorldClock.removeTimeMarker} when
28396
28608
  * trying to remove a time marker with the 'minecraft'
28397
28609
  * namespace from a world clock.
@@ -28402,7 +28614,6 @@ export class WorldClockRemoveMinecraftTimeMarkerError extends Error {
28402
28614
  }
28403
28615
 
28404
28616
  /**
28405
- * @rc
28406
28617
  * Error thrown by {@link WorldClock.rewindTo} when the world
28407
28618
  * clock's time is already before the time marker's first
28408
28619
  * occurrence.
@@ -28413,7 +28624,6 @@ export class WorldClockRewindError extends Error {
28413
28624
  }
28414
28625
 
28415
28626
  /**
28416
- * @rc
28417
28627
  * Error thrown when performing actions on a world clock with a
28418
28628
  * time marker that does not exist.
28419
28629
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.12.0-rc.1.26.70-preview.21",
3
+ "version": "2.12.0-rc.1.26.70-preview.23",
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.26.70-preview.21"
17
+ "@minecraft/vanilla-data": ">=1.20.70 || 1.26.70-preview.23"
18
18
  },
19
19
  "license": "MIT"
20
20
  }