OneMoreAudioController
作者:rebot | 分类:模组
Minecraft 版本: 1.20.1
平台: forge
标签: utility
Adds independent audio sliders to the vanilla Options → Music & Sounds screen, next to the vanilla ones (Master, Music, Jukebox/Noteblocks, Weather, Blocks, Hostile Creatures, Friendly Creatures, Players, Ambient/Environment, Voice/Speech). Each extra slider controls only the sounds assigned to it, without touching Master, Players, or any other vanilla category.
Two separate concerns, two separate mechanisms:
Which controllers exist, and in what order - this is configuration: controllers.json and orders.json, editable by anyone (a modpack, a resource pack, an end user), no code needed.
Which sounds a controller actually affects - this is a code concern, owned by whichever mod's sounds they are. It's set exclusively through the OneMoreAudioControllerApi Java API, never through JSON: only the mod that ships a sound really knows which controller it belongs under.
Everything applies without restarting the game: both JSON files are reloaded every time you open the Music & Sounds screen (including when opened from the Mods menu "Config" button or from mods like Catalogue).
How to use and API information on GitHub
请登录后举报
暂无评论,抢个沙发吧~