Check what entity was killed

Started by HeWhoIsMe on

Topic category: Help with MCreator software

Active 4 years ago
Joined Jan 2021
Points:
571

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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.

Active 4 years ago
Joined Feb 2021
Points:
640

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 135
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