Mob detection

Started by Crayeights on Fri, 09/13/2019 - 03:37

Topic category: Feature requests and ideas for MCreator

Last seen on 01:59, 14. Oct 2019
Joined May 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Mob detection
Fri, 09/13/2019 - 03:37

Now I do not know if this is possible at this given time. But do we have a way where we can detect what mob was slain for enchantment purposes lets say the enchantment had the ability to detach what mob was slain. So that I may add custom mob drops from default creatures. Example player kills fish spawn gem "fish scales"

Last seen on 13:23, 2. Oct 2019
Joined May 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Not really possible in 1.9.0…
Sat, 09/14/2019 - 17:28

Not really possible in 1.9.0, but you can go a global event trigger for "when mob dies" and using "is current entity subtype of ____" you can check what kinda mob it is.