Playsound attached to entity
The idea is that sound should follow the entity to which the sound is attached.
As a friendly-way to use this feature, the "/playsound" command could maybe take an entity as an alternative to a position as an argument.
/playsound minecraft:music_disc.cat ambient @a @p 1 1
This example should play the Music disc "Cat" for everyone that is near the user "@p" at a volume of 1 and pitch at 1.
By attaching the sound to an entity, the sound should move where the entity moves, essentially following the entity. This means that the sound should fade in/out based on the distance to the entity.
Currently, in Java Edition; it is only possible to play a sound at a location of the entity. But if the entity moves, the sound still plays at that location where the entity's location was when the sound started. This is the case for all sounds when using "/playsound" command. Both mono & stereo sounds fall under this behavior, unfortunately.
The use cases of using this feature are incredible and can bring a lot of new possibilities regarding immersion and creativity. This feature has the potential to also inspire new ideas for map-makers and developers.
Please sign in to leave a comment.