Overview
minecraft:sound is a block component: it goes in the components object of a custom block. Picks the set of sounds the block makes when it is placed, broken and walked on.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
sound | string | "" | The sound set name, for example "stone", "wood", "grass" or "glass". |
Example
Inside the components object of BP/blocks/<name>.json (values are the defaults or placeholders):
BP/blocks/<name>.json
{
"minecraft:sound": {
"sound": ""
}
}