Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-258911

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.19.3
    • None
    • Community Consensus
    • Custom Worlds, Resource Packs

      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:

       

       

        1. datapack.rar
          4 kB
          Serafim Pilipchuk
        2. image-2023-01-02-17-21-23-067.png
          4 kB
          Serafim Pilipchuk
        3. latest.log
          7 kB
          Serafim Pilipchuk

            Unassigned Unassigned
            Serafim Serafim Pilipchuk
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: