Ambience

Ambience (also called ambience sounds or ambient sounds) are sounds that can be heard in specific conditions. They were created by C418 and Samuel Åberg. Currently, there are 167 different ambience sounds.
Ambience is divided into groups of ambience sounds that play under same condition/s. Currently, there are "cave", "underwater" and "nether" ambiences.
The volume of ambient sounds can be changed individually through "Music & Sounds" in the Options menu by changing the "Ambient/Environment" bar. However, this also affects the sounds of firework rockets and such.
All ambience can be played using the command. All ambiences' code names start with ambient.<unique code name>.
Note that the player needs to put into the command more variables than just the name of the sounds. See playsound for more info.
== Cave ambience ==
Cave ambience (also known as cave sounds, or eerie noises according to the subtitles) are sounds that occasionally play when the player is underground or in a dark area, based on the mood algorithm.
Cave ambience sounds can play in all biomes except the Nether biomes, as long as there is a cave or a dark enough area present.
The code name for cave ambience is . There are 19 different cave ambience sounds in total.
List
Name 	Sound	Description 	Volume	Pitch
Cave 1 	 	A whistling sound with reverb. 	1.0 	1.0
Cave 2 	 	A dissonant high-pitched hum. 	1.0 	1.0
Cave 3 	 	A low hum. 	1.0 	1.0
Cave 4 	 	Resembles wind or venting gas from far away with reverb. 	1.0 	1.0
Cave 5 	 	Changing dissonant notes. 	1.0 	1.0
Cave 6 	 	A low airy hum. 	1.0 	1.0
Cave 7 	 	A low hum with slight 	1.0 	1.0
Cave 8 	 	Resembles low eerie wind with reverb. 	1.0 	1.0
Cave 9 	 	A low hum with a 	1.0 	1.0
Cave 10	 	Resembles a screeching violin with soft, low-pitched whooshes in the background.	1.0 	1.0
Cave 11	 	Resembles whooshing wind. 	1.0 	1.0
Cave 12	 	A quick low whooshing sound. 	1.0 	1.0
Cave 13	 	Resembles wind or breath. 	1.0 	1.0
Cave 14	 	Resembles low glitching wind.
This audio file resembles the shape of a creeper face if put into a spectrogram.	1.0 	1.0
Cave 15	 	Resembles wind with a hum. 	1.0 	1.0
Cave 16	 	Resembles a metallic object tumbling nearby 	1.0 	1.0
Cave 17	 	Eerie tones with a sudden crescendo and some metallic sounds. 	1.0 	1.0
Cave 18	 	Resembles low creaking and something metallic. 	1.0 	1.0
Cave 19	 	A dissonant chord with reverb layered with a clicking noise. 	1.0 	1.0
== Underwater ambience ==
Underwater ambience plays while the player's head is underwater. There are 22 different underwater ambience sounds in total.
They can be heard within a body of water of any size and in any dimension.
Underwater ambience is divided into two groups: "Loop" and "Loop Additions". Both of these play independently of each other while player is underwater. Additionally, "Loop Additions" are divided into 3 more groups. 
Its code name is ambient.underwater.<group code name>
Group 	Info 	Code Name
Loop 	Plays in never-ending loop for as long as player is underwater	ambient.underwater.loop
Loop Additions 	Plays commonly while player is underwater 	ambient.underwater.loop.additions
Rare Loop Additions 	Plays uncommonly while player is underwater 	ambient.underwater.loop.additions.rare
Ultra Rare Loop Additions	Plays rarely while player is underwater 	ambient.underwater.loop.additions.ultra_rare
List
Name 	Sound	Group
Underwater Ambience	 	Loop
Bubbles 1 	 	Loop Additions
Bubbles 2 	 	Loop Additions
Bubbles 3 	 	Loop Additions
Bubbles 4 	 	Loop Additions
Bubbles 5 	 	Loop Additions
Bubbles 6 	 	Loop Additions
Water 1 	 	Loop Additions
Water 2 	 	Loop Additions
Animal 1 	 	Rare Loop Additions
Bass Whale 1 	 	Rare Loop Additions
Bass Whale 2 	 	Rare Loop Additions
Crackles 1 	 	Rare Loop Additions
Crackles 2 	 	Rare Loop Additions
Driplets 1 	 	Rare Loop Additions
Driplets 2 	 	Rare Loop Additions
Earth Crack 	 	Rare Loop Additions
Animal 2 	 	Ultra Rare Loop Additions
Dark 1 	 	Ultra Rare Loop Additions
Dark 2 	 	Ultra Rare Loop Additions
Dark 3 	 	Ultra Rare Loop Additions
Dark 4 	 	Ultra Rare Loop Additions
== Nether ambience ==
Nether ambience plays while the player is in the Nether. Each biome has its own unique ambience. There are 126 different nether ambience sounds in total.
Nether ambience is divided into three groups: "Loop", "Loop Additions", and "Mood", all of which play independently of each other while the player is in the Nether.
Its code name is ambient.<biome>.<group code name>
Group 	Info 	Code Name
Loop 	Plays in never-ending loop for as long as player is in the biome 	ambient.<biome>.loop
Loop Additions	Plays commonly while the player is in the biome 	ambient.<biome>.additions
Mood 	Plays once at least every 6000 ticks while the player is in the biome, based on the mood algorithm	ambient.<biome>.mood
=== Basalt Deltas ambience ===
List
Name 	Sound	Group
Basalt Deltas Ambience 	 	Loop
Basalt deltas active 1 	 	Loop Additions
Basalt deltas active 2 	 	Loop Additions
Basalt deltas active 3 	 	Loop Additions
Basalt deltas active 4 	 	Loop Additions
Basalt Deltas Basalt Ground 1	 	Loop Additions
Basalt Deltas Basalt Ground 2	 	Loop Additions
Basalt Deltas Basalt Ground 3	 	Loop Additions
Basalt Deltas Basalt Ground 4	 	Loop Additions
Basalt Deltas Click 1 	 	Loop Additions
Basalt Deltas Click 2 	 	Loop Additions
Basalt Deltas Click 3 	 	Loop Additions
Basalt Deltas Click 4 	 	Loop Additions
Basalt Deltas Click 5 	 	Loop Additions
Basalt Deltas Click 6 	 	Loop Additions
Basalt Deltas Click 7 	 	Loop Additions
Basalt Deltas Click 8 	 	Loop Additions
Basalt Deltas Debris 1 	 	Loop Additions
Basalt Deltas Debris 2 	 	Loop Additions
Basalt Deltas Debris 3 	 	Loop Additions
Basalt Deltas Heavy Click 1 	 	Loop Additions
Basalt Deltas Heavy Click 2 	 	Loop Additions
Basalt Deltas Long Debris 1 	 	Loop Additions
Basalt Deltas Long Debris 2 	 	Loop Additions
Basalt Deltas Plode 1 	 	Loop Additions
Basalt Deltas Plode 2 	 	Loop Additions
Basalt Deltas Plode 3 	 	Loop Additions
Basalt Deltas Twist 1 	 	Loop Additions
Basalt Deltas Twist 2 	 	Loop Additions
Basalt Deltas Twist 3 	 	Loop Additions
Basalt Deltas Twist 4 	 	Loop Additions
 	 	Loop Additions
 	 	Loop Additions
 	 	Loop Additions
 	 	Loop Additions
=== Crimson Forest ambience ===
List
Name 	Sound	Group
Crimson Forest Ambience 	 	Loop
Crimson Forest Addition 1 	 	Loop Additions
Crimson Forest Addition 2 	 	Loop Additions
Crimson Forest Addition 3 	 	Loop Additions
Crimson Forest Particles 1	 	Loop Additions
Crimson Forest Particles 2	 	Loop Additions
Crimson Forest Particles 3	 	Loop Additions
Crimson Forest Shine 1 	 	Loop Additions
Crimson Forest Shine 2 	 	Loop Additions
Crimson Forest Shine 3 	 	Loop Additions
Crimson Forest Shroom 1 	 	Loop Additions
Crimson Forest Shroom 2 	 	Loop Additions
Crimson Forest Shroom 3 	 	Loop Additions
Crimson Forest Twang 1 	 	Loop Additions
Crimson Forest Voom 1 	 	Loop Additions
Crimson Forest Voom 2 	 	Loop Additions
Crimson Forest Mood 1 	 	Mood
Crimson Forest Mood 2 	 	Mood
Crimson Forest Mood 3 	 	Mood
Crimson Forest Mood 4 	 	Mood
=== Nether Wastes ambience ===
List
Name 	Sound	Group
Nether Wastes Ambience 	 	Loop
Nether Wastes Addition 1	 	Loop Additions
Nether Wastes Addition 2	 	Loop Additions
Nether Wastes Addition 3	 	Loop Additions
Nether Wastes Addition 4	 	Loop Additions
Nether Wastes Addition 5	 	Loop Additions
Nether Wastes Addition 6	 	Loop Additions
Nether Wastes Addition 7	 	Loop Additions
Nether Wastes Addition 8	 	Loop Additions
Nether Wastes Dark 1 	 	Loop Additions
Nether Wastes Dark 2 	 	Loop Additions
Nether Wastes Ground 1 	 	Loop Additions
Nether Wastes Ground 2 	 	Loop Additions
Nether Wastes Ground 3 	 	Loop Additions
Nether Wastes Ground 4 	 	Loop Additions
Nether Wastes Mood 1 	 	Mood
Nether Wastes Mood 2 	 	Mood
Nether Wastes Mood 3 	 	Mood
Nether Wastes Mood 4 	 	Mood
Nether Wastes Mood 5 	 	Mood
=== Soul Sand Valley ambience ===
List
Name 	Sound	Group
Soulsand Valley Ambience 	 	Loop
Soulsand Valley Sand 1 	 	Loop Additions
Soulsand Valley Sand 2 	 	Loop Additions
Soulsand Valley Sand 3 	 	Loop Additions
Soulsand Valley Voices 1 	 	Loop Additions
Soulsand Valley Voices 2 	 	Loop Additions
Soulsand Valley Voices 3 	 	Loop Additions
Soulsand Valley Voices 4 	 	Loop Additions
Soulsand Valley Voices 5 	 	Loop Additions
Soulsand Valley Whisper 1	 	Loop Additions
Soulsand Valley Whisper 2	 	Loop Additions
Soulsand Valley Whisper 3	 	Loop Additions
Soulsand Valley Whisper 4	 	Loop Additions
Soulsand Valley Whisper 5	 	Loop Additions
Soulsand Valley Whisper 6	 	Loop Additions
Soulsand Valley Whisper 7	 	Loop Additions
Soulsand Valley Whisper 8	 	Loop Additions
Soulsand Valley Wind 1 	 	Loop Additions
Soulsand Valley Wind 2 	 	Loop Additions
Soulsand Valley Wind 3 	 	Loop Additions
Soulsand Valley Wind 4 	 	Loop Additions
Soulsand Valley With 1 	 	Loop Additions
Soulsand Valley Mood 1 	 	Mood
Soulsand Valley Mood 2 	 	Mood
Soulsand Valley Mood 3 	 	Mood
Soulsand Valley Mood 4 	 	Mood
=== Warped Forest ambience ===
List
Name 	Sound	Group
Warped Forest Ambience 	 	Loop
Warped Forest Addition 1	 	Loop Additions
Warped Forest Addition 2	 	Loop Additions
Warped Forest Addition 3	 	Loop Additions
Warped Forest Addition 4	 	Loop Additions
Warped Forest Addition 5	 	Loop Additions
Warped Forest Addition 6	 	Loop Additions
Warped Forest Enish 1 	 	Loop Additions
Warped Forest Enish 2 	 	Loop Additions
Warped Forest Enish 3 	 	Loop Additions
Warped Forest Help 1 	 	Loop Additions
Warped Forest Help 2 	 	Loop Additions
Warped Forest Here 1 	 	Loop Additions
Warped Forest Here 2 	 	Loop Additions
Warped Forest Here 3 	 	Loop Additions
Warped Forest Mood 1 	 	Mood
Warped Forest Mood 2 	 	Mood
Warped Forest Mood 3 	 	Mood
Warped Forest Mood 4 	 	Mood
Warped Forest Mood 5 	 	Mood
Warped Forest Mood 6 	 	Mood
Warped Forest Mood 7 	 	Mood
Warped Forest Mood 8 	 	Mood
Warped Forest Mood 9 	 	Mood
Warped Forest Creak 1 	 	Mood
Warped Forest Creak 2 	 	Mood
Warped Forest Creak 3 	 	Mood
Warped Forest Creak 4 	 	Mood
Warped Forest Creak 5 	 	Mood
== Mood algorithm ==
Mood ambience sounds occur based on a "mood" percent value between 0–100. The mood increases when the player is in a cave or in a dark place, and decreases otherwise. When the mood reaches 100%, one of the sounds plays randomly, resetting the mood to 0% and thus restarting the cycle. The darker it is, and the more non-transparent blocks there are, the quicker the mood increases. , the current mood value appears on the debug screen.
This is the simplified algorithm for computing this value in pseudocode:
updateMood(mood):
 tickDelay = 6000
 maxLightLevel = 15
 block = select a random block in a 17×17×17 block cube centered around the player
 skyLight = block.getSkyLightLevel()
 if (skyLight > 0):
 mood = mood - (skyLight / maxLightLevel) * 0.015
 else:
 blockLight = block.getBlockLightLevel()
 mood = mood - (blockLight - 1) / tickDelay
 
 if (mood ≥ 1.0):
 player.playSpookySound()
 mood = 0.0
 else if (mood < 0):
 mood = 0.0
This method is called once every tick. It selects a random block in a 17×17×17 area centered around the player's eye position, and alters the mood value accordingly:
* If the selected block has sky light, it decreases the mood by per sky light level.
* If it has a block light level above 1, it decreases the mood value by .
* If the block light level is 0, it increases the mood value by .
This means that if you are in complete darkness and there are no lit blocks around you, an ambient noise will play every 6000 ticks (5 minutes).
Since non-transparent blocks are considered to have a sky and block light level of 0, the mood value increases especially fast if you're in a cave.
== Videos ==
=== YouTube ===
== History ==
== Issues ==
== Trivia ==
* When "Cave 14" is viewed in a spectrogram, it appears to show the face of a creeper.
* Cave ambience is the only ambience that has subtitles.
* "Warped Forest Additions 1-5" are a mix of vanilla Enderman sounds and those of the Enderman from Minecraft Dungeons.
* "Warped Forest Addition 6" is actually the sound of an enderman screaming, slowed down, and in reverse.
* "Warped Forest Mood 9" is actually a slowed-down and reverberated idle sound of the witch.
* Since the End doesn't have its own set of ambient noises yet, it borrows the mood-based cave noises from the Overworld.
*"Dark 4" is a slowed and pitched down scream of a Ghast.
== See also ==
* Music
* Sounds.json
== References ==
Category:Soundtrack
de:Ambiente
es:Ambiente
fr:Ambiance
hu:Környezeti hangok
ja:環境音
ko:분위기음
nl:Sfeer
pl:Odgłosy jaskiń
pt:Ambiente
ru:Фоновые звуки
th:แอมเบียนต์
uk:Фонова музика
zh:环境音效
Category:Pages needing sounds