[Feature Request] add more custom options to sound mapping file
Problem Description
currently the mapping file's sounds section looks like this:
{
"sounds": {
"music.overworld.deep_dark": "music.end"
}
}
it only allows us using vanilla sound names, and it doesn't support inputting volume, pitch and sound category name. but in fact in vanilla /playsound command, it supports all of them. (https://minecraft.fandom.com/wiki/Commands/playsound#Arguments)
if you could add these functions, resource pack makers could easily make it possible to play higher version sounds to old clients. here is my advice for the new sound mapping file format:
{
"sounds": {
"ORIGINAL_SOUND_NAME_HERE": "(custom:)NEW_SOUND_NAME_HERE(,VOLUME,PITCH,SOUND_CATEGORY)"
}
}
and here is an example:
{
"sounds": {
"music.overworld.deep_dark": "custom:custom.music.end"
}
}
which means, it will play the custom sound named custom.deep.dark in default sound category with volume 1 and pitch 1 to player.
Solution Description
adding more custom options to sound mapping file
Alternatives
No response
Additional Info
this issue is inspired by another feature request post (https://github.com/ViaVersion/ViaBackwards/issues/525) because i think a server resource pack will be an important thing to ViaVersion and ViaBackwards, so let us create things more freely! thank you for your amazing work.