← Назад к ресурсам

Biome Music

This lib allows you to add biome based music using resource packs

Modrinth library

Описание

![Mod Title](https://cdn.modrinth.com/data/cached_images/236b3a14e6ef4b60c06e7838a8f45b7ed889f13e.png) --- ## **INFO** **Biome Music Is a lib that allows anyone to make a resource pack, for biome based music.** The lib supports custom biomes, not only that but has two modes random biome music and instant biome music. --- ### **USAGE** **1.** Create or edit your ```pack.mcmeta``` to set up your resource pack. **2.** Inside ```assets\bmusic```, create a file called ```soundconfig.json```. (If the folders don’t exist, simply create them.) **3.** Define your biome music with the following format: ``` { "biomeMusic": { ":": { "sound": "", "": true/false, "": "" }, }, "randomMusic": { ":": { "sound": "", "": true/false, "": "" } } } ``` Or in older versions (past 1.2) ``` { "biomeMusic": { ":": "" }, "randomMusic": { ":": "" } } ``` **4.** List of valid conditions: - day (boolean) — e.g. true (if its day) - night (boolean) — e.g. true (if its night) - rain (boolean) — e.g. true (if its raining) - thunder (boolean) — e.g. true (if its thundering) - dimension (string) — e.g. "minecraft:overworld" (if you are in a specific dimension) - underwater (boolean) — e.g. true (if you are underwater) - underground (boolean) — e.g. true (if you are underground) - deepUnderground (boolean) — e.g. true (if you are deep underground) - highUp (boolean) — e.g. true (if you are high up) - village (boolean) — e.g. true (if villagers er nearby) - nearbyMobs (list) — e.g. ["minecraft:zombie"] (if the mob is nearby) - boss (list) — e.g. ["minecraft:wither"] (if the boss is present) - riding (boolean/string) — e.g. true or "minecraft:horse" (if you are riding anything) - fishing (boolean) — e.g. true (if you are fishing) - dying (boolean) — e.g. true (2 hearts or under) ### Can I include it in my modpack? **Absolutely!** You’re free to include this mod in any personal or public modpack, and you may even distribute the modpack.