hqspeaker-neoforge-1.21.1-1.0.7.jar
Curse Maven Snippet
What's new
Added 8 audio channels per speaker so you can play music + sfx at the same time. Channel 1 = normal speaker.
speaker.speakerPlayChannel(channel, audio, volume, loop)
speaker.speakerChannel(channel, action, volume) > "stop" "pause" "resume" "volume", channel 0 = all
speaker.speakerChannelStatus(channel) > { playing, paused, looping }
speaker.speakerPlayChannel(2, bytes, 1.0, true) > loops music on ch 2
speaker.speakerPlayChannel(3, sfx) > sfx on top
speaker.speakerChannel(0, "pause") > pauses all
new event: hqspeaker_channel_empty
new config: maxChannels (default 8, max 32) in hqspeaker-server.toml under [limits]
This mod has no additional files

