1. Wiki
  2. /Blocks
  3. /minecraft:sound

minecraft:sound

Don't want to write this by hand? GodCraft sets minecraft:sound for you with a switch.Get GodCraft

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

FieldTypeDefaultDescription
soundstring""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": ""
  }
}

Blocks: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more