作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: fabric
标签: library

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.
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": {
"<example modid>:<insert biome>": {
"sound": "<insert sound>",
"<Insert condition>": true/false,
"<Insert condition>": "<Insert String>"
},
},
"randomMusic": {
"<example modid>:<insert biome>": {
"sound": "<insert sound>",
"<Insert condition>": true/false,
"<Insert condition>": "<Insert String>"
}
}
}
Or in older versions (past 1.2)
{
"biomeMusic": {
"<example modid>:<insert biome>": "<insert sound>"
},
"randomMusic": {
"<example modid>:<insert biome>": "<insert sound>"
}
}
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)
Absolutely! You’re free to include this mod in any personal or public modpack, and you may even distribute the modpack.
请登录后举报
暂无评论,抢个沙发吧~