Music Triggers

Music Triggers

1M Downloads

[Feature request] Check the text on boss bar

Rad586 opened this issue · 4 comments

commented

Describe your idea
I was wondering if it would be more performant to check the text on boss bar(if player chooses to do so), instead of using a wide detection range for bosses. This should help those who use different themes for different bosses.
So, if BOSS is included in resource name, there should be something like BOSS_NAME to specify it, with less performance cost.
Describe alternatives you've considered

Additional context
I don't know much about modding, sorry if it's useless or impossible.

commented

This is something that has already been implemented. Adding additional elements to the resource_name parameter in addition to the BOSS special case acts as a whitelist

commented

image
So...how do I use the entity ID for bosses? I tried those but none of them works, neither the wiki nor the description in game gives an example. But display name(Wither) works fine when I switch to English(US).

commented

Whatever the display name is should work

commented

Whatever the display name is should work

Yeah, "Wither" works, but when I try "凋零"(Chinese), it crashes.
edit: Ascii code doesn't work, too.