Obtaining an item after killing a mob

Started by IgoRun on

Topic category: Help with MCreator software

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Obtaining an item after killing a mob

In general, I need help with solving one problem, I cannot make it so that after killing a mob with a "Specific" item, I have one item in my inventory, replaced by another. For example: I have a sword in my inventory, and a bottle, I kill a villager and an ordinary bottle turns into a bottle of blood, how to do this? Please, helps!!!

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The final procedure should…
Tue, 03/23/2021 - 17:49

The final procedure should look like this - 

Procedure

 

You can replace the sword with any tool and the bottle of enchanting with the bottle of blood.

Hope this helps :)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MANY THANKS!!!!  I have been…
Tue, 03/23/2021 - 18:06

MANY THANKS!!!!  I have been suffering for 2 days !!

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One more question, and if…
Tue, 03/23/2021 - 18:22

One more question, and if replace "The entity died" with "The entity is attacked", will it work?

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity attacked means that…
Tue, 03/23/2021 - 18:50

Entity attacked means that every time you hit it, the procedure will activate. So it depends on what you want it to do.

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also I don't recommend…
Tue, 03/23/2021 - 18:51

Also I don't recommend reposting your forum topics since it is against MCreator's Publishing Guidelines :)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I could not find the "Delete…
Tue, 03/23/2021 - 21:15

I could not find the "Delete request" button and so I had to re-send the question to another section of the forum

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But still, thank you so much…
Tue, 03/23/2021 - 21:17

But still, thank you so much for helping me figure out my problem) You helped me a lot :)