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.26.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zombie",
"is_summonable": true,
"is_spawnable": true,
"properties": {
// vanilla properties...
},
"spawn_category": "monster"
},
"components": {
"minecraft:sound_volume": { "value": 0.0 } // <----------
// vanilla components...
},
"component_groups": {
// vanilla component groups...
},
"events": {
// vanilla events...
}
}
}manifest.json
{
"format_version": 2,
"header": {
"name": "[MCPE-226588] Zombie silencer (v2)",
"description": "",
"uuid": "94185fc4-c70c-4e08-b0e4-21972a666d9f",
"version": [2, 0, 0],
"min_engine_version": [1, 26, 40]
},
"modules": [
{
"type": "data",
"uuid": "c8b3502e-bdfa-4ab9-b198-7feb647d8309",
"version": [1, 0, 0]
}
],
"dependencies": []
}Related docs for reference: https://learn.microsoft.com/en-us/minecraft/creator/reference/content/entityreference/examples/entitycomponents/minecraftcomponent_sound_volume?view=minecraft-bedrock-stable
Attachments
Comments 4
Updated pack’s entities/zombie.json to align with v1.26.40.5 bedrock-samples version (plus the minecraft:sound_volume component of course).
UPDATE: Still an issue in 26.0.