@minecraft/server 1.5.0-rc.1.20.30-preview.25 → 1.5.0-rc.1.20.40-preview.20

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 +5 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -16,7 +16,7 @@
16
16
  * ```json
17
17
  * {
18
18
  * "module_name": "@minecraft/server",
19
- * "version": "1.6.0-internal.1.20.30-preview.25"
19
+ * "version": "1.6.0-internal.1.20.40-preview.20"
20
20
  * }
21
21
  * ```
22
22
  *
@@ -3902,8 +3902,6 @@ export class Player extends Entity {
3902
3902
  *
3903
3903
  * This function can't be called in read-only mode.
3904
3904
  *
3905
- * @param soundID
3906
- * Identifier of the sound to play.
3907
3905
  * @param soundOptions
3908
3906
  * Additional optional options for the sound.
3909
3907
  * @throws This function can throw errors.
@@ -3932,7 +3930,7 @@ export class Player extends Entity {
3932
3930
  * players[0].playSound("bucket.fill_water", playerSoundOptions);
3933
3931
  * ```
3934
3932
  */
3935
- playSound(soundID: string, soundOptions?: PlayerSoundOptions): void;
3933
+ playSound(soundId: string, soundOptions?: PlayerSoundOptions): void;
3936
3934
  /**
3937
3935
  * @beta
3938
3936
  * @remarks
@@ -5115,7 +5113,7 @@ export class World {
5115
5113
  * players[0].playSound("bucket.fill_water", playerSoundOptions);
5116
5114
  * ```
5117
5115
  */
5118
- playMusic(trackID: string, musicOptions?: MusicOptions): void;
5116
+ playMusic(trackId: string, musicOptions?: MusicOptions): void;
5119
5117
  /**
5120
5118
  * @beta
5121
5119
  * @remarks
@@ -5153,7 +5151,7 @@ export class World {
5153
5151
  * players[0].playSound("bucket.fill_water", playerSoundOptions);
5154
5152
  * ```
5155
5153
  */
5156
- playSound(soundID: string, location: Vector3, soundOptions?: WorldSoundOptions): void;
5154
+ playSound(soundId: string, location: Vector3, soundOptions?: WorldSoundOptions): void;
5157
5155
  /**
5158
5156
  * @beta
5159
5157
  * @remarks
@@ -5167,7 +5165,7 @@ export class World {
5167
5165
  * An error will be thrown if fade is less than 0.0.
5168
5166
  *
5169
5167
  */
5170
- queueMusic(trackID: string, musicOptions?: MusicOptions): void;
5168
+ queueMusic(trackId: string, musicOptions?: MusicOptions): void;
5171
5169
  /**
5172
5170
  * @beta
5173
5171
  * @remarks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.5.0-rc.1.20.30-preview.25",
3
+ "version": "1.5.0-rc.1.20.40-preview.20",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {