Check what entity was killed

Started by HeWhoIsMe on

Topic category: Help with MCreator software

Last seen on 21:56, 22. Feb 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check what entity was killed

I'm trying to do loot drops (without loot tables) and I'm wondering if its possible to check what type of entity dies in the procedure.

I'm using the global trigger "Entity dies" but I don't know how to check what the entity was.

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well my memories a bit shaky…
Tue, 02/16/2021 - 23:48

well my memories a bit shaky but i think you can use an if then get slain enties type of if type is a zombie then trigger. sorry I can remember the exact blocks but i will make sure and get back too you if its wrong