1. Wiki
  2. /World Generation
  3. /minecraft:ambient_sounds

minecraft:ambient_sounds

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

Overview

minecraft:ambient_sounds is a client biome component: it goes in the components object of a client biome file. Sets the background sounds players hear in the biome. The sound names must be listed under individual_named_sounds in sounds.json.

Fields

FieldTypeDefaultDescription
additionSound Addition{"asset":"","chance":1}A sound that plays every so often around the player, with a chance per tick.
loopSound Reference""A sound that keeps looping while the player is in the biome.
moodSound Reference""A spooky sound that plays now and then in dark places. Without it, the normal cave sound is used.
underwater_additionSound Addition{"asset":"","chance":1}A sound that plays every so often while the player is underwater.
underwater_loopSound Reference""A sound that keeps looping while the player is underwater in the biome.
underwater_moodSound Reference""A rare sound for dark water. Without it, the normal underwater loop is used.

Example

Inside the components object of RP/biomes/<name>.client_biome.json (values are the defaults or placeholders):

RP/biomes/<name>.client_biome.json
{
  "minecraft:ambient_sounds": {
    "addition": {
      "asset": "",
      "chance": 1
    },
    "loop": "",
    "mood": "",
    "underwater_addition": {
      "asset": "",
      "chance": 1
    },
    "underwater_loop": "",
    "underwater_mood": ""
  }
}

World Generation: Client biome components (RP)

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