TurnBasedMinecraftMod/tbmm-docs/docs/client_config.md

46 lines
1.6 KiB
Markdown
Raw Normal View History

2024-10-29 08:37:35 +00:00
# Client-side Config
The client config can be opened in two ways.
One way is via the mod-list (only works in NeoForge, not Forge).
![Mod list config button](tbm-client-edit-modlist.jpg)
The other way is via the `/tbm-client-edit` command.
![tbm-client-edit command](tbm-client-edit-cmd.png)
Currently, the client config allows for configuration for client-side music
playback.
![client config](tbm-client-edit-config.jpg)
The "categories" settings are comma-separated words that define what "category"
triggers the "battle" music or the "silly" music.
"Silly Music Threshold" determines the percentage of silly-category-mobs in
battle required to play silly music. This means if the setting is 49%, and there
2024-10-29 09:48:49 +00:00
is one player, one zombie, and two sheep in battle, then the game will play
2024-10-29 08:37:35 +00:00
silly music (since 50% of the combatants are sheep and is greater than 49%).
2024-10-29 10:14:33 +00:00
## Battle/Silly Music
!!! note
The TurnBasedMinecraftMod (TBMM) configuration folders need to be
generated. Run the mod once to generate them, then close Minecraft.
There are two folders in the `.minecraft/config/TurnBasedMinecraft/Music/`
directory: `battle` and `silly`.
Place your music files in those folders, and the appropriate music will play
depending on if the battle is with `silly` mobs or not.
!!! note
A random song will be picked in the `battle` folder on `battle` music, and
in the `silly` music folder on `silly` music.
!!! warning
It is recommended to use .ogg Vorbis files for music. There is support for
.mp3 files, but currently .ogg Vorbis files are more stable in this mod.
Note that .ogg Opus files are NOT supported, but .ogg Vorbis files are.