mojira.dev
MC-258911

Custom sounds from resource pack don't work in custom biome

Hello everyone, there is an issue – when i try to add ambbient sound from resource pack in my custom biome like that: 

    "ambient_sound": "minecraft:custom_sounds.ambient.cave.rumble_deep_loop_minus6db",
    "mood_sound":

{       "sound": "minecraft:custom_sounds.ambient.cave.shorts_deep_mood",       "tick_delay": 530,       "block_search_extent": 8,       "offset": 2     }

,
    "additions_sound":

{       "sound": "minecraft:custom_sounds.ambient.cave.shorts_deep",       "tick_chance": 0.0014     }

It doesn't see this sounds. So even game says that there is no sounds in game F3 debugging text. Even mood doesn't change.

Sound is added in resourcepack like this

        "custom_sounds.ambient.cave.rumble_deep_loop_minus6db":

{         "sounds": [             "custom_sounds/ambient/cave/rumble_deep_minus6db"                ]         }

I have checked that in vanilla 1.19.2 this works. In 1.19.3 custom sounds only work if i try to play them using playsound. That means that sounds are added correctly.

Also if i try to use standard minecraft sounds in "ambient_sound" field – this sound plays well.

What's wrong? I Need to add sounds with special predicate?

here is resourcepack https://www.dropbox.com/s/cptakecee9bqqbz/resourcepack1.zip?dl=0

RESOURCEPACK DEFINATELY WORKS BECAUSE I SEE MY TEXTURE OF PICKAXE and angmar sword and all my sounds are played through playsound correctly:

[media]

 

 

Linked issues

Attachments

Comments 14

Check the game output log for errors.

I have attached last logs. What  is wrong there with my resourcepack?
It can partly work?

in 1.19.2 this resourcepack + datapack completely works

After testing now, I copied over the crimson forest file to a custom biome, and I couldn't hear the ambient loop either, so it seems those fields just don't work anymore for custom biomes.
Can confirm. EDIT: I'll try again later just to be absolutely sure.

So, Mr. Dhramios, that's really a bug and it should work? 
That's just funny because only a few weeks ago I have figured out hot to make custom biomes with custom sounds, and this method became completely useless 🙂

This bug should be fixed? Or there will be another way to make custom sounds in custom biome?

4 more comments

I Hove this issue is not like those you saying, and will be solved in reasonable limits 🙂
When custom sounds don't work in custom biomes it ruins up custom world concept, because sounds = atmosphere... 

If Torch will not shine, i think it will be fixed something like "next-day" ?)

The time the bug get fixed is depend on people in Mojang Studios, some bug don't fix for 10 years, just like MC-4.

I Know ))) But that mistake isn't so critical, mabye

Thanks for the bug. We've made an undocumented change to this format in 1.19.3-pre3 and decided not to add it to the changelog as this is an experimental format. Unfortunately, your data is wrong. Here is an example of a correct format: https://gist.github.com/boq/08ec7cd9691967d907286b5aa5d6c230

Please note this feature will be in flux as it is an experimental feature.

If I understand that correctly, the format here is correctly defined (referencing sound event, not sound). I also compared it to the vanilla crimson forest biome file, and all that's different is the sound event IDs.

If the format has to be different to list a sound event, how come crimson forest works?

Serafim

(Unassigned)

Community Consensus

Custom Worlds, Resource Packs

1.19.3

Retrieved