Music Frequency Controller
A simple Minecraft mod for the Fabric platform that allows you to adjust the playback frequency of background music in the game. You can change the intervals between musical compositions from standard values to almost continuous playback through a convenient visual interface.
🎵 Main Features
- Music Frequency Adjustment: Configure playback multiplier from 0.1x (standard frequency) to 10.0x (almost continuous playback)
- Settings Persistence: All changes are automatically saved and work after game restart
- Convenient Control: Intuitive interface with sliders and settings directly in the game
- Minimal Requirements: Only requires Fabric API to work
- Flexible Configuration: Ability to change frequency, adjustment step, and enable/disable various functions
🎮 Using the Mod
Simple Controls
- Press M key → Opens settings screen
- Move frequency slider → Changes music frequency from 0.1x to 10.0x
- Click Done → Settings are automatically saved
Frequency Setup Recommendations
- 0.1x: Standard intervals (music plays rarely)
- 1.0x: Default normal frequency
- 3.0x: Music plays 3 times more often
- 5.0x: Very frequent playback
- 10.0x: Almost continuous musical accompaniment
⚙️ Settings
In-Game Parameters
- Music Frequency Slider: Visual control from 0.1x to 10.0x
- Adjustment Step: Precision of value changes
- Key Bindings: Enable/disable M key
- Messages: Display current frequency notifications on screen
- Debug Mode: Enable detailed logging
Configuration File
Settings are saved to the file .minecraft/config/music-frequency-controller.json:
{
"musicFrequencyMultiplier": 3.0,
"frequencyStep": 0.1,
"enableKeyBindings": true,
"showFrequencyMessages": true,
"debugMode": false,
"openConfigKey": 77
}
📦 Installation
-
Install Required Components:
- Fabric Loader (version 0.15.0 or newer)
- Fabric API
- Java 21 or newer
-
Install the Mod:
- Download the mod file in jar format
- Place it in the
.minecraft/modsfolder - Launch Minecraft with Fabric profile
🔗 Compatibility
- Minecraft: 1.21.4 (other versions will be added later)
- Mod Loader: Fabric
- Java: 21 or newer
- Dependencies: Only Fabric API
🔧 Technical Features
Uses Mixin technology to modify the MusicTracker class for controlling music playback timing.
📄 License
MIT License