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.60.21 Preview, 1.21.50.30 Preview, 1.21.50.26 Preview, 1.21.50.25 Preview, 1.21.50.24 Preview, 1.21.50.22 Preview, 1.21.50.20 Preview, 1.21.40.25 Preview, 1.21.40.22 Preview, 1.21.40.21 Preview, 1.21.40.20 Preview, 1.21.20.24 Preview, 1.21.20.23 Preview, 1.21.20.22 Preview, 1.21.20.21 Preview, 1.21.10.21 Preview, 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.21.0.25 Preview, 1.21.0.24 Preview, 1.21.10.20 Preview, 1.21.0.26 Preview, 1.20.81 Hotfix, 1.21.10.24 Preview, 1.21.10.23 Preview, 1.21.0, 1.21.1 Hotfix, 1.21.30.22 Preview, 1.21.30.21 Preview, 1.21.3 Hotfix (PS4), 1.21.2 Hotfix, 1.21.20, 1.21.30.23 Preview, 1.21.21 Hotfix, 1.21.30.25 Preview, 1.21.22 Hotfix, 1.21.23 Hotfix, 1.21.30, 1.21.40.23 Preview, 1.21.31 Hotfix, 1.21.40, 1.21.41 Hotfix, 1.21.43 Hotfix, 1.21.50.28 Preview, 1.21.50.29 Preview, 1.21.44 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:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: