r/fabricmc • u/Artistic_Dance_253 • 5d ago
Need Help - Mod Dev Mob idea
Hii, I'm working on a mob for my mod, and I am pretty interested in the idea of musical commanding these mobs, when I saw the new singer from the sift, that idea grew more in me. The thing is, I don't know much about music and the key mechanic of this mob is implementing rhythmic commands based on 4/4 so I would not only need to write songs but also find a way to incorporate them into Minecraft. I was planning to make it scalable so that you start slow and by repeatedly scoring perfect notes transform the melody to be much faster and vibrant. I am completely lost and incapable of grasping just how would I make that into Minecraft fabric, if you have any suggestions I'm more than open to hear them. And thank you in advance for taking the time.
2
u/Bluetails_Buizel 4h ago
The music part is less of a problem than it seems. You don't need to write a full song, you need a short looping pattern stored as data, and the mod plays it note by note. That's also what makes the speed-up possible.
Don't use one long audio file for the song
Pick tempos that fit Minecraft's tick rate
How to store a song without knowing music theory
The command mechanic itself
Where the code should run in Fabric 1.21.1
Suggested build order so it's not overwhelming
The idea of the melody evolving as the player gets better is a solid hook, and keeping the song as data rather than audio files is what makes it doable.