Hello I was wondering can you use a /testfor command to check if a boss/mob died? Thank you.
18
Oops, i didnt know that the image was saying that, i couldnt view it when i saw it, cause i was on mobile, but now on my pc, sorry @imad_bush, you da real MVP
Nevermind I figured it out!
How would I add coordinates to locate this zombie. /testfor @e[type=Zombie,name=Kill Him]
You do know that @Imad_bush said that before @fiskfille did....
Shhhhh......
FiskFille... You have won the Minecrafter of the Year
I hope you are not being serious
If you give the boss/mob a custom name or UUID, you could use a /testfor command to see if the mob is still alive.
Your trophy my good sir:


This guy deserves a medal
Something else that could work is a snowball that is on top of the boss, perhaps when the boss is alive, the command block is reading it and triggering the output, but its inverted so that when the snowball has hit the ground, and the command block doesnt see it anymore, then it can be seen as the boss being killed
Also, im sorry if this made no sense whatso ever, ill try to get a few commands for it so it could be easier to read if needed
Also, im sorry if this made no sense whatso ever, ill try to get a few commands for it so it could be easier to read if needed
Sorry but can someone give me a command to make a zombie drop a lever labeled key. I tried but it isnt working.
this ^
I think u can test for entitys
Ok I might do that thanks!
i don't think that it's doable, but you COULD set a custom drop for a mob, and have the player dump that drop down a hopper for a detector system. it's a method a lot of map makers, including hypixel have used.
