Topic category: Help with Minecraft modding (Java Edition)
So, I'm the creator of Art5019's Injustice, a superhero mod, which obviously deals with damages types and resistances all the time, just take the Symbiotes for example, which are weak to sound type damages (Sonic Booms, Explosions and a custom Sonic damage that I made), but whenever I try to detect the damage type on the Before Entity Is Hurt global trigger... it just doesn't work, and it's been like that for some Mcreator versions (I'm using 2024.2 since I'm testing the mod on a 1.20.1 closed server, tho I didn't saw any mention towards fixing this at the changelogs), so, does someone know any workaround for accurate damage type detection? Like, other global triggers (beside Before Entity is Hurt), or plugins?