@minecraft/server 2.11.0-rc.1.26.70-preview.20 → 2.11.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 -51
  3. package/package.json +2 -2
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.
@@ -7399,8 +7398,6 @@ export class CustomCommandRegistry {
7399
7398
  * {@link minecraftcommon.EngineError}
7400
7399
  *
7401
7400
  * {@link NamespaceNameError}
7402
- *
7403
- * {@link RawMessageError}
7404
7401
  */
7405
7402
  registerCommand(
7406
7403
  customCommand: CustomCommand,
@@ -7421,8 +7418,6 @@ export class CustomCommandRegistry {
7421
7418
  * {@link minecraftcommon.EngineError}
7422
7419
  *
7423
7420
  * {@link NamespaceNameError}
7424
- *
7425
- * {@link RawMessageError}
7426
7421
  */
7427
7422
  registerEnum(name: string, values: string[]): void;
7428
7423
  }
@@ -8386,7 +8381,6 @@ export class Dimension {
8386
8381
  */
8387
8382
  spawnParticle(effectName: string, location: Vector3, molangVariables?: MolangVariableMap): void;
8388
8383
  /**
8389
- * @rc
8390
8384
  * @remarks
8391
8385
  * Spawns an experience orb at a specified location in the
8392
8386
  * dimension.
@@ -11473,7 +11467,6 @@ export class EntityIsStunnedComponent extends EntityComponent {
11473
11467
  export class EntityIsTamedComponent extends EntityComponent {
11474
11468
  private constructor();
11475
11469
  /**
11476
- * @rc
11477
11470
  * @remarks
11478
11471
  * Returns the player that has tamed the entity, or 'undefined'
11479
11472
  * if the entity has no player owner.
@@ -11484,7 +11477,6 @@ export class EntityIsTamedComponent extends EntityComponent {
11484
11477
  */
11485
11478
  readonly tamedToPlayer?: Player;
11486
11479
  /**
11487
- * @rc
11488
11480
  * @remarks
11489
11481
  * Returns the id of the player that has tamed the entity, or
11490
11482
  * 'undefined' if the entity has no player owner.
@@ -21065,7 +21057,6 @@ export class SoundInstance {
21065
21057
  */
21066
21058
  readonly soundEventId: string;
21067
21059
  /**
21068
- * @rc
21069
21060
  * @remarks
21070
21061
  * Fades this sound instance from its current volume multiplier
21071
21062
  * to the target multiplier over the specified duration. Volume
@@ -21085,7 +21076,6 @@ export class SoundInstance {
21085
21076
  */
21086
21077
  fade(duration: number, targetVolume: number): void;
21087
21078
  /**
21088
- * @rc
21089
21079
  * @remarks
21090
21080
  * Pauses this sound.
21091
21081
  *
@@ -21094,7 +21084,6 @@ export class SoundInstance {
21094
21084
  */
21095
21085
  pause(): void;
21096
21086
  /**
21097
- * @rc
21098
21087
  * @remarks
21099
21088
  * Resumes this sound after a pause.
21100
21089
  *
@@ -21103,7 +21092,6 @@ export class SoundInstance {
21103
21092
  */
21104
21093
  resume(): void;
21105
21094
  /**
21106
- * @rc
21107
21095
  * @remarks
21108
21096
  * Sets the playback position of this sound instance.
21109
21097
  *
@@ -21120,7 +21108,6 @@ export class SoundInstance {
21120
21108
  */
21121
21109
  seekTo(seconds: number): void;
21122
21110
  /**
21123
- * @rc
21124
21111
  * @remarks
21125
21112
  * Sets the pitch of this sound instance.
21126
21113
  *
@@ -21133,7 +21120,6 @@ export class SoundInstance {
21133
21120
  */
21134
21121
  setPitch(pitch: number): void;
21135
21122
  /**
21136
- * @rc
21137
21123
  * @remarks
21138
21124
  * Sets the volume multiplier of this sound instance relative
21139
21125
  * to the volume of the selected sound variant.
@@ -21219,7 +21205,6 @@ export class StartupEvent {
21219
21205
  */
21220
21206
  readonly itemComponentRegistry: ItemComponentRegistry;
21221
21207
  /**
21222
- * @rc
21223
21208
  * @remarks
21224
21209
  * @privilege early-execution-readable - This property can be read in early-execution mode.
21225
21210
  *
@@ -21985,7 +21970,6 @@ export class TextPrimitive extends PrimitiveShape {
21985
21970
  */
21986
21971
  depthTest: boolean;
21987
21972
  /**
21988
- * @rc
21989
21973
  * @remarks
21990
21974
  * This value determines the gap between lines for the
21991
21975
  * TextPrimitive. By default the line gap height is 0.
@@ -22133,7 +22117,6 @@ export class TickingAreaManager {
22133
22117
  }
22134
22118
 
22135
22119
  /**
22136
- * @rc
22137
22120
  * A named point in time on a world clock that can occur once
22138
22121
  * or periodically.
22139
22122
  */
@@ -22640,7 +22623,6 @@ export class World {
22640
22623
  */
22641
22624
  getAllPlayers(): Player[];
22642
22625
  /**
22643
- * @rc
22644
22626
  * @remarks
22645
22627
  * Retrieves a world clock by its name.
22646
22628
  *
@@ -23576,7 +23558,6 @@ export class WorldAfterEvents {
23576
23558
  */
23577
23559
  readonly weatherChange: WeatherChangeAfterEventSignal;
23578
23560
  /**
23579
- * @rc
23580
23561
  * @remarks
23581
23562
  * This event fires when a {@link WorldClock} is paused.
23582
23563
  *
@@ -23585,7 +23566,6 @@ export class WorldAfterEvents {
23585
23566
  */
23586
23567
  readonly worldClockOnPaused: WorldClockOnPausedAfterEventSignal;
23587
23568
  /**
23588
- * @rc
23589
23569
  * @remarks
23590
23570
  * This event fires when a {@link WorldClock} is resumed.
23591
23571
  *
@@ -23594,7 +23574,6 @@ export class WorldAfterEvents {
23594
23574
  */
23595
23575
  readonly worldClockOnResumed: WorldClockOnResumedAfterEventSignal;
23596
23576
  /**
23597
- * @rc
23598
23577
  * @remarks
23599
23578
  * This event fires when the time of a {@link WorldClock} hits
23600
23579
  * a {@link TimeMarker} on the clock. This can happen during a
@@ -23605,7 +23584,6 @@ export class WorldAfterEvents {
23605
23584
  */
23606
23585
  readonly worldClockOnTimeMarker: WorldClockOnTimeMarkerAfterEventSignal;
23607
23586
  /**
23608
- * @rc
23609
23587
  * @remarks
23610
23588
  * This event fires when a {@link WorldClock} time is changed.
23611
23589
  * This can happen when the time is directly set through
@@ -23741,7 +23719,6 @@ export class WorldBeforeEvents {
23741
23719
  */
23742
23720
  readonly weatherChange: WeatherChangeBeforeEventSignal;
23743
23721
  /**
23744
- * @rc
23745
23722
  * @remarks
23746
23723
  * This event fires when a {@link WorldClock} reaches its
23747
23724
  * maximum time and is about to restart.
@@ -23753,7 +23730,6 @@ export class WorldBeforeEvents {
23753
23730
  }
23754
23731
 
23755
23732
  /**
23756
- * @rc
23757
23733
  * A class that represents a particular clock within a world.
23758
23734
  */
23759
23735
  export class WorldClock {
@@ -23880,7 +23856,6 @@ export class WorldClock {
23880
23856
  }
23881
23857
 
23882
23858
  /**
23883
- * @rc
23884
23859
  * Contains information related to a {@link WorldClock} being
23885
23860
  * paused.
23886
23861
  */
@@ -23895,7 +23870,6 @@ export class WorldClockOnPausedAfterEvent {
23895
23870
  }
23896
23871
 
23897
23872
  /**
23898
- * @rc
23899
23873
  * Manages callbacks that are connected to a {@link WorldClock}
23900
23874
  * being paused.
23901
23875
  */
@@ -23929,7 +23903,6 @@ export class WorldClockOnPausedAfterEventSignal {
23929
23903
  }
23930
23904
 
23931
23905
  /**
23932
- * @rc
23933
23906
  * Contains information related to a {@link WorldClock}
23934
23907
  * restarting.
23935
23908
  */
@@ -23960,7 +23933,6 @@ export class WorldClockOnRestartBeforeEvent {
23960
23933
  }
23961
23934
 
23962
23935
  /**
23963
- * @rc
23964
23936
  * Manages callbacks that are connected to a {@link WorldClock}
23965
23937
  * restarting.
23966
23938
  */
@@ -24000,7 +23972,6 @@ export class WorldClockOnRestartBeforeEventSignal {
24000
23972
  }
24001
23973
 
24002
23974
  /**
24003
- * @rc
24004
23975
  * Contains information related to a {@link WorldClock} being
24005
23976
  * resumed.
24006
23977
  */
@@ -24015,7 +23986,6 @@ export class WorldClockOnResumedAfterEvent {
24015
23986
  }
24016
23987
 
24017
23988
  /**
24018
- * @rc
24019
23989
  * Manages callbacks that are connected to a {@link WorldClock}
24020
23990
  * being resumed.
24021
23991
  */
@@ -24049,7 +24019,6 @@ export class WorldClockOnResumedAfterEventSignal {
24049
24019
  }
24050
24020
 
24051
24021
  /**
24052
- * @rc
24053
24022
  * Contains information related to when the time of a
24054
24023
  * {@link WorldClock} hits a {@link TimeMarker}.
24055
24024
  */
@@ -24070,7 +24039,6 @@ export class WorldClockOnTimeMarkerAfterEvent {
24070
24039
  }
24071
24040
 
24072
24041
  /**
24073
- * @rc
24074
24042
  * Manages callbacks that are connected to when the time of a
24075
24043
  * {@link WorldClock} hits a {@link TimeMarker}.
24076
24044
  */
@@ -24104,7 +24072,6 @@ export class WorldClockOnTimeMarkerAfterEventSignal {
24104
24072
  }
24105
24073
 
24106
24074
  /**
24107
- * @rc
24108
24075
  * Contains information related to changes to the time of a
24109
24076
  * {@link WorldClock}.
24110
24077
  */
@@ -24119,7 +24086,6 @@ export class WorldClockOnTimeModifiedAfterEvent {
24119
24086
  }
24120
24087
 
24121
24088
  /**
24122
- * @rc
24123
24089
  * Manages callbacks that are connected to changes to the time
24124
24090
  * of a {@link WorldClock}.
24125
24091
  */
@@ -24153,7 +24119,6 @@ export class WorldClockOnTimeModifiedAfterEventSignal {
24153
24119
  }
24154
24120
 
24155
24121
  /**
24156
- * @rc
24157
24122
  * Provides the functionality for registering custom world
24158
24123
  * clocks. World clocks can only be registered during the
24159
24124
  * system startup event.
@@ -26340,7 +26305,6 @@ export interface PlayerSoundOptions {
26340
26305
  */
26341
26306
  location?: Vector3;
26342
26307
  /**
26343
- * @rc
26344
26308
  * @remarks
26345
26309
  * Number of additional times to repeat the sound after the
26346
26310
  * initial play. `0` (the default) plays the sound once, `-1`
@@ -27199,7 +27163,6 @@ export interface TickingAreaOptions {
27199
27163
  }
27200
27164
 
27201
27165
  /**
27202
- * @rc
27203
27166
  * Options for creating time markers for world clocks.
27204
27167
  */
27205
27168
  export interface TimeMarkerOptions {
@@ -27367,7 +27330,6 @@ export interface WaypointTextureSelector {
27367
27330
  }
27368
27331
 
27369
27332
  /**
27370
- * @rc
27371
27333
  * Contains parameters for world clock events that filters out
27372
27334
  * which events are passed to the provided callback.
27373
27335
  */
@@ -27381,7 +27343,6 @@ export interface WorldClockEventOptions {
27381
27343
  }
27382
27344
 
27383
27345
  /**
27384
- * @rc
27385
27346
  * Contains additional options for registering world clocks.
27386
27347
  */
27387
27348
  export interface WorldClockRegistrationOptions {
@@ -27395,7 +27356,6 @@ export interface WorldClockRegistrationOptions {
27395
27356
  }
27396
27357
 
27397
27358
  /**
27398
- * @rc
27399
27359
  * Contains parameters for world clock time marker events that
27400
27360
  * filters out which events are passed to the provided
27401
27361
  * callback.
@@ -27423,7 +27383,6 @@ export interface WorldClockTimeMarkerEventOptions {
27423
27383
  export interface WorldSoundOptions {
27424
27384
  isBroadcast?: boolean;
27425
27385
  /**
27426
- * @rc
27427
27386
  * @remarks
27428
27387
  * Number of additional times to repeat the sound after the
27429
27388
  * initial play. `0` (the default) plays the sound once, `-1`
@@ -27883,7 +27842,6 @@ export class UnloadedChunksError extends Error {
27883
27842
  }
27884
27843
 
27885
27844
  /**
27886
- * @rc
27887
27845
  * Error thrown by {@link WorldClock.addTimeMarker} when
27888
27846
  * failing to add a time marker to a world clock.
27889
27847
  */
@@ -27893,7 +27851,6 @@ export class WorldClockAddTimeMarkerError extends Error {
27893
27851
  }
27894
27852
 
27895
27853
  /**
27896
- * @rc
27897
27854
  * Thrown when trying to register a world clock outside of the
27898
27855
  * system startup event.
27899
27856
  */
@@ -27903,7 +27860,6 @@ export class WorldClockInvalidRegistryError extends Error {
27903
27860
  }
27904
27861
 
27905
27862
  /**
27906
- * @rc
27907
27863
  * Error thrown when a time marker is invalid. This can occur
27908
27864
  * when trying to access data on a time marker that has been
27909
27865
  * removed.
@@ -27914,7 +27870,6 @@ export class WorldClockInvalidTimeMarkerError extends Error {
27914
27870
  }
27915
27871
 
27916
27872
  /**
27917
- * @rc
27918
27873
  * Error thrown when a world clock is not found in the world
27919
27874
  * clock registry.
27920
27875
  */
@@ -27924,7 +27879,6 @@ export class WorldClockNotFoundError extends Error {
27924
27879
  }
27925
27880
 
27926
27881
  /**
27927
- * @rc
27928
27882
  * Error thrown by {@link WorldClockRegistry.registerClock}
27929
27883
  * when failing to register a world clock.
27930
27884
  */
@@ -27934,7 +27888,6 @@ export class WorldClockRegistrationError extends Error {
27934
27888
  }
27935
27889
 
27936
27890
  /**
27937
- * @rc
27938
27891
  * Thrown after using the /reload command when trying to
27939
27892
  * register a world clock that was not previously registered.
27940
27893
  * New world clocks cannot be added during a reload.
@@ -27945,7 +27898,6 @@ export class WorldClockReloadNewWorldClockError extends Error {
27945
27898
  }
27946
27899
 
27947
27900
  /**
27948
- * @rc
27949
27901
  * Error thrown after using the /reload command when trying to
27950
27902
  * re-register an existing world clock with an invalid time
27951
27903
  * marker.
@@ -27956,7 +27908,6 @@ export class WorldClockReloadTimeMarkerError extends Error {
27956
27908
  }
27957
27909
 
27958
27910
  /**
27959
- * @rc
27960
27911
  * Error thrown by {@link WorldClock.removeTimeMarker} when
27961
27912
  * trying to remove a time marker with the 'minecraft'
27962
27913
  * namespace from a world clock.
@@ -27967,7 +27918,6 @@ export class WorldClockRemoveMinecraftTimeMarkerError extends Error {
27967
27918
  }
27968
27919
 
27969
27920
  /**
27970
- * @rc
27971
27921
  * Error thrown by {@link WorldClock.rewindTo} when the world
27972
27922
  * clock's time is already before the time marker's first
27973
27923
  * occurrence.
@@ -27978,7 +27928,6 @@ export class WorldClockRewindError extends Error {
27978
27928
  }
27979
27929
 
27980
27930
  /**
27981
- * @rc
27982
27931
  * Error thrown when performing actions on a world clock with a
27983
27932
  * time marker that does not exist.
27984
27933
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.11.0-rc.1.26.70-preview.20",
3
+ "version": "2.11.0",
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.20"
17
+ "@minecraft/vanilla-data": ">=1.20.70"
18
18
  },
19
19
  "license": "MIT"
20
20
  }