This is really confusing to me,i'm trying to make a new music disc but i just don't understand what goes where and what does what.Can anyone explain a bit clear or heck any video tutorials on this,because i'm just mindblown.
Thank you for putting in the time to make a tutorial.
Followed everything you posted, and all my oggies play when i need them too.
My only concern is when they DO play, it makes this "echo" effect.
Like for example, when i spawn my custom mob via right-clicking an item, it plays a custom sound. However, the custom ogg that plays is almost... duplicated? Almost as if two of them are playing instead of 1.
How do you make background music? Do you have to do more than register it and put it in the right place? I'm also unclear on how to make records, it works but won't play sounds.
How would I go about adding a looping "ambient" sound that only plays while a condition is true, and has no clicks or other audio artifacts from bad timing?
More directly, I have a TileEntity which I want to make a constant hum when in operation (while a variable is true). I want the ability to start the play when the variable becomes true, and stop it when it becomes false, or when the game is paused/exited/etc. I have tried making a sound of known length (eg 4s) then running it every certain number of ticks to attempt to "force stitch" them, but it does not work; slight timing irregularities are VERY audible.
Rollback Post to RevisionRollBack
I am the developer of many mods, most famously RotaryCraft and ChromatiCraft.