How to I detect a player getting killed by a zombie but not a skeleton?

I know I have to use scoreboards, but I only found deathCount. Or I can test for a mob that killed a player, but I don’t know how to do that

  • 2
    I believe the criteria is stat.entityKilledBy.Zombie – TQ1000 Jul 24 '18 at 12:16
  • 3
    Have you made any attempt to solve this yourself? Arqade works better when askers show effort to solve their own problems; we see that you have a problem you've worked on, and answerers respond to that. You also get a more specific answer that's tailored exactly to the part you're stuck, and Arqade gets a very specific question. Everybody wins! – Frank Jul 24 '18 at 12:51

Answer by TQ1000 "I believe the criteria is stat.entityKilledBy.Zombie"

| improve this answer | |

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.