I am making a custom adventure map and there is an evoker bossfight (named "lunatic cultist"). I wanted to check when it died, but none of the tutorials I found actually worked (probably because they're outdated).

How can I check when it dies?


I don't remember if the deaths scoreboard works for entities other than players. If it does work try that. If that doesn't work try using

execute as @e[boss selector goes her] at @s store result score 'i forgot the syntax for store in execute' run tp @s ~ ~ ~ 

and if the score is = 0 then the boss is dead. The following video shows you how to count entities. His method may be better.

I hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.