mojira.dev

Kamil Bandurka

Assigned

No issues.

Reported

No issues.

Comments

So Mojang won't allow mapmakers to add they custom sound? Strange.
This make people to use way around, mess up with original files. As far as I know, Mojang is against this, but they force us to do this that way...

Anyway, thanks for your respond 🙂

SoundManager use %appdata%\.minecraft\assets\sound as source of file list. Adding new folders and files there, and you can use them in game. I test it and it's work.
After adding them to assets, you can change them in resource and game will use custome file from resource, but they still need to be in assets.
I don't know why you need secondary list of sounds in the SoundPool, game only need to update existing one. Best, to keep it clean, clear old list and make new one, first using chosen resource pack and then take rests from assets (where default file are stored).

So for now, if someone need add completely new sound file, just add them to assets folder.

ps
Also, I think that Mojang should separate textures and sound resources. Right now, if you download some changed sounds, you need to put them in every resource pack that you use.
I think about option to use separate sound resource pack. That only reload sound file, so it don't need separate code for this, just invoke reload SoundManager.
But it's just an idea 😉

Minecraft 1.6.1 and 1.6.2 still get same issue. Sound keep playing when player pause game or even go to main menu by saving world.