@minecraft/server 1.4.0-rc.1.20.30-preview.25 → 1.4.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.
- package/index.d.ts +5 -7
- 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.
|
|
19
|
+
* "version": "1.6.0-internal.1.20.40-preview.20"
|
|
20
20
|
* }
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
@@ -3693,8 +3693,6 @@ export class Player extends Entity {
|
|
|
3693
3693
|
*
|
|
3694
3694
|
* This function can't be called in read-only mode.
|
|
3695
3695
|
*
|
|
3696
|
-
* @param soundID
|
|
3697
|
-
* Identifier of the sound to play.
|
|
3698
3696
|
* @param soundOptions
|
|
3699
3697
|
* Additional optional options for the sound.
|
|
3700
3698
|
* @throws This function can throw errors.
|
|
@@ -3723,7 +3721,7 @@ export class Player extends Entity {
|
|
|
3723
3721
|
* players[0].playSound("bucket.fill_water", playerSoundOptions);
|
|
3724
3722
|
* ```
|
|
3725
3723
|
*/
|
|
3726
|
-
playSound(
|
|
3724
|
+
playSound(soundId: string, soundOptions?: PlayerSoundOptions): void;
|
|
3727
3725
|
/**
|
|
3728
3726
|
* @beta
|
|
3729
3727
|
* @remarks
|
|
@@ -4754,7 +4752,7 @@ export class World {
|
|
|
4754
4752
|
* players[0].playSound("bucket.fill_water", playerSoundOptions);
|
|
4755
4753
|
* ```
|
|
4756
4754
|
*/
|
|
4757
|
-
playMusic(
|
|
4755
|
+
playMusic(trackId: string, musicOptions?: MusicOptions): void;
|
|
4758
4756
|
/**
|
|
4759
4757
|
* @beta
|
|
4760
4758
|
* @remarks
|
|
@@ -4792,7 +4790,7 @@ export class World {
|
|
|
4792
4790
|
* players[0].playSound("bucket.fill_water", playerSoundOptions);
|
|
4793
4791
|
* ```
|
|
4794
4792
|
*/
|
|
4795
|
-
playSound(
|
|
4793
|
+
playSound(soundId: string, location: Vector3, soundOptions?: WorldSoundOptions): void;
|
|
4796
4794
|
/**
|
|
4797
4795
|
* @beta
|
|
4798
4796
|
* @remarks
|
|
@@ -4806,7 +4804,7 @@ export class World {
|
|
|
4806
4804
|
* An error will be thrown if fade is less than 0.0.
|
|
4807
4805
|
*
|
|
4808
4806
|
*/
|
|
4809
|
-
queueMusic(
|
|
4807
|
+
queueMusic(trackId: string, musicOptions?: MusicOptions): void;
|
|
4810
4808
|
/**
|
|
4811
4809
|
* @beta
|
|
4812
4810
|
* @remarks
|