Steps to reproduce the issue:
Create a behavior pack for a zombie that includes the entity component
"minecraft:sound_volume": { "value": 0.0 }
(or use the attached pack that does that)Create a world
Creative mode
Enable cheats
Add behavior pack
/time set midnight(so zombie won’t burn)/summon zombieWait for the zombie to growl by itself or punch it
Expected result: Zombie does not produce any audible sounds (growling, hit sounds).
Actual result: Zombie still makes audible sounds.
I also noticed that the scripting API does not support the minecraft:sound_volume entity component (see: https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/entitycomponenttypes?view=minecraft-bedrock-stable), which might be related to this bug. However, this bug report focuses solely on the entity JSON behavior.
Pack contents:
entities/zombie.json (vanilla behavior omitted for brevity)
{
"format_version": "1.21.90",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zombie",
"spawn_category": "monster",
"is_spawnable": true,
"is_summonable": true
},
"component_groups": {
// vanilla component groups...
},
"events": {
// vanilla events...
},
"components": {
"minecraft:sound_volume": { "value": 0.0 }, // <----------
// vanilla components...
}
}
}manifest.json
{
"format_version": 2,
"header": {
"name": "silencer",
"description": "",
"uuid": "e06ab48c-4bcb-40b7-be45-0f97a4394086",
"version": [1, 0, 0],
"min_engine_version": [1, 21, 100]
},
"modules": [
{
"type": "data",
"uuid": "da85e38b-216d-4056-a964-fee8d87222a8",
"version": [1, 0, 0]
}
],
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "2.1.0"
}
]
}Related docs for reference: https://learn.microsoft.com/en-us/minecraft/creator/reference/content/entityreference/examples/entitycomponents/minecraftcomponent_sound_volume?view=minecraft-bedrock-stable
UPDATE: Still an issue in 26.0.