Check out https://github.com/TartaricAcid/BakaDanmaku which is actively maintained and has a nicer API than mine.
3TUSK/BiliLiveMonitor
Yes it is a Minecraft Mod that auto retrieves danmaku from streamer's room on bilibili and pop up as chat message in Minecraft.
JavaMIT