Trying to make a mob drop an item on death when it's killed by another but my procedure isn't working correctly.

Started by MagicMan3000 on

Topic category: Help with MCreator software

Last seen on 06:04, 17. Jun 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to make a mob drop an item on death when it's killed by another but my procedure isn't working correctly.

https://imgur.com/a/6u3PveX I've tried "zombie" and neither works. I've tried every instance of 'entity' block and none of them work. It does work (the trader dropping the block on death) if I change the "AND" to "=" but that's not what I need.

 

I got some help on Reddit but it didn't solve my problem, so I'm asking on the official site in hopes of figuring out why it's not working. This is my first mod and I know very little, though some things are easy to understand.

Last seen on 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The source entity is the one…
Sat, 06/12/2021 - 12:26

The source entity is the one who killed another entity.

Event/target entity is self-explanatory.

Last seen on 06:04, 17. Jun 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It. Doesn't. Work.   I know…
Sun, 06/13/2021 - 06:05

It. Doesn't. Work.

 

I know source is the one killing. I know event is the one that should drop.

 

I switched so many things around and nothing works. I would rather not have just a crafting aspect but if I can't get the help I need, I'll just have to rely on something simple as that.

Last seen on 06:04, 17. Jun 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fixed with the help of…
Mon, 06/14/2021 - 07:28

Fixed with the help of... Can't spell the name since "English";

 

"is {entity} (sub)type of [mob type]", found in the Logic tree.

Last seen on 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok.
Wed, 07/07/2021 - 06:48

Ok.