Check what entity was killed

Started by HeWhoIsMe on Mon, 01/18/2021 - 06:46

Topic category: Help with MCreator software

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Check what entity was killed
Mon, 01/18/2021 - 06:46

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 15:12, 25. Feb 2021
Joined Feb 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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