[EntitySource] issue with VolumeCategory
system32developer opened this issue ยท 2 comments
Confirmation
- I have read the wiki
Bug description
Why can't I assign a volume category to an entitysource? [https://modrepo.de/minecraft/voicechat/api/examples]
I want to play music on players, but I want the function to reduce the volume, using a custom category, not reduce the player volume. All works, I already have the whole system but that does not work, I did not find any javadoc or documentation that says it does not work with a createEntityAudioChannel() does not work, it is more with the example of the documentation above if they use a category.
Minecraft version
1.21.1
Mod/Plugin version
voicechat-fabric-1.21.1-2.5.27 / voicechat-bukkit-2.5.26
Mod/Plugin loader and version
fabric 1.21.1 / 0.4.42 loader
Steps to reproduce
Im using this code: https://pastes.dev/b8vK7vmlTk
Expected behavior
When a player reduces the volume of the category, the volume of the music should be reduced.
Log files
There are no logs
Screenshots
No response
You need to register the category first.
If you need help with the API, please visit the discord.
