I've started using custom bossbars on my server. Made with plain vanilla ServerBossBar class:
ServerBossBar bar = new ServerBossBar(
Text.empty(),
BossBar.Color.BLUE,
BossBar.Style.PROGRESS
);
But some players are reporting that now they get a raid-style bossbar because they have illagers in their chunk. Here's what they currently see: https://media.discordapp.net/attachments/1396578464450084926/1396578855434584214/2025-07-20_12.43.02.png?ex=687f41aa&is=687df02a&hm=825c5ba3d0d453280f7ae09c57b9e73ac9d99def85244ee0a7273244d0588788&=&format=webp&quality=lossless&width=2394&height=1268
I checked the raids.dat file, and I can confirm there were no raids in their chunks.
So is there some kind code somewhere that does a check like "if bossbar and illagers are present than it's probably for a raid"?