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

minecraft:biome_music

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

Overview

minecraft:biome_music is a client biome component: it goes in the components object of a client biome file. Changes the music that plays while the player is in this biome.

Fields

FieldTypeDefaultDescription
volume_multipliernumbernoneMusic volume in the biome, from 0 (silent) to 1 (full). It fades in smoothly.
music_definitionMusic ReferencenoneWhich music to play. Leave it out to use the dimension's music, or set it to an empty string for no music.
underwater_musicbooleanfalseWhen true, special music plays while the player is underwater.

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:biome_music": {
    "volume_multiplier": 1,
    "music_definition": {},
    "underwater_music": false
  }
}

World Generation: Client biome components (RP)

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