How to make a procedure that checks if a mob dies and if it does gives the player an item

Started by BashBomb on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a procedure that checks if a mob dies and if it does gives the player an item

I am trying to make a bounty hunter mod that when you kill a specific mob you get a random item, but I don't know how to see when that specific mob dies to the player.

 

This is what I got so far, also the reason it's on google docs is because idk how to put a picture on this so oh well.

 https://docs.google.com/document/d/1HnJ35FcobUPbEv6g8262f9AERyRIx9mocT2JSkaN6FQ/edit?usp=sharing

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
create a new procedure like…
Mon, 03/15/2021 - 12:51

create a new procedure like this:

https://cdn.discordapp.com/attachments/599250311852458006/821002017942143016/unknown.png

this will type the text on screen when any entity is killed by a player.

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this work with 1.12.2…
Mon, 05/30/2022 - 21:00

Is this work with 1.12.2 generator plugin?