Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-178232

Some sounds of goats aren't controlled by the "Friendly Creatures" sound slider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.0.22 Preview, 1.21.0.21 Preview, 1.21.0.20 Preview, 1.20.80.24 Preview, 1.20.80.23 Preview, 1.20.70.24 Preview, 1.20.70.22 Preview, 1.20.60.26 Preview, 1.20.60.25 Preview, 1.20.60.24 Preview, 1.20.70.20 Preview, 1.20.70.21 Preview, 1.20.51 Hotfix, 1.20.61 Switch, 1.20.60, 1.20.62 Hotfix, 1.20.70.25 Preview, 1.20.80.20 Preview, 1.20.80.21 Preview, 1.20.70, 1.20.71 Hotfix, 1.20.80.22 Preview, 1.20.72 Hotfix, 1.20.73 Hotfix, 1.21.0.23 Preview, 1.20.80, 1.20.81 Hotfix
    • Confirmed
    • Multiple
    • 1168263

      Description:
      Relates to MC-244694.

      Some sounds of goats aren't controlled by the "Friendly Creatures" sound slider and are instead controlled by the "Hostile Creatures" sound slider. These are:

      • mob.goat.horn_break
      • mob.goat.prepare_ram
      • mob.goat.prepare_ram.screamer
      • mob.goat.ram_impact
      • mob.goat.ram_impact.screamer

      Steps to Reproduce:

      1. Navigate to the Settings > Audio page
      2. Turn the "Friendly Creatures" sound slider to "0%"
      3. Turn every other sound slider to "100%"
      4. Use the following commands:
        1. /playsound mob.goat.horn_break @a
        2. /playsound mob.goat.prepare_ram @a
        3. /playsound mob.goat.prepare_ram.screamer @a
        4. /playsound mob.goat.ram_impact @a
        5. /playsound mob.goat.ram_impact.screamer @a

      Observed Results:
      These sounds aren't able to be heard, which means that they aren't controlled by the "Friendly Creatures".

      Expected Results:
      These sounds should be able to be heard.

      Code analysis:
      The sound definition of mob.goat.horn_break from resource_packs/vanilla_1.19.0/sounds/sound_definitions.json:

          "mob.goat.horn_break": {
            "category": "hostile",
            "sounds": [
              "sounds/mob/goat/horn_break1",
              "sounds/mob/goat/horn_break2",
              "sounds/mob/goat/horn_break3",
              "sounds/mob/goat/horn_break4"
            ]
          }
      

      The sound definition of mob.goat.ram_impact from resource_packs/vanilla_1.17.20/sounds/sound_definitions.json:

          "mob.goat.ram_impact": {
            "category": "hostile",
            "sounds": [
              {
                "name": "sounds/mob/goat/impact1",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/impact2",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/impact3",
                "volume": 0.8
              }
            ]
          }
      

      The sound definitions of the other three sounds from resource_packs/vanilla_1.17.0/sounds/sound_definitions.json:

          "mob.goat.prepare_ram": {
            "category": "hostile",
            "sounds": [
              {
                "name": "sounds/mob/goat/pre_ram1",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/pre_ram2",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/pre_ram3",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/pre_ram4",
                "volume": 0.8
              }
            ]
          },
          "mob.goat.prepare_ram.screamer": {
            "category": "hostile",
            "sounds": [
              {
                "name": "sounds/mob/goat/screaming_pre_ram1",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/screaming_pre_ram2",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/screaming_pre_ram3",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/screaming_pre_ram4",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/screaming_pre_ram5",
                "volume": 0.8
              }
            ]
          },
          "mob.goat.ram_impact.screamer": {
            "category": "hostile",
            "sounds": [
              {
                "name": "sounds/mob/goat/impact1",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/impact2",
                "volume": 0.8
              },
              {
                "name": "sounds/mob/goat/impact2",
                "volume": 0.8
              }
            ]
          }
      

      Can see that category values of these sounds are hostile, which means these sounds are controlled by the "Hostile Creatures" sound slider.

      How to Fix
      Changing category values of these sounds from hostile to neutral will resolve this issue.

            agoodday233 agoodday233
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: