minecraft:sound_volume for you with a switch.Get GodCraftOverview
minecraft:sound_volume is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Sets how loud the entity's sounds are by default.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
value | Decimal | "1.0" | Volume level for the entity's sounds; lower is quieter. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:sound_volume": {
"value": "1.0"
}
}