how to make it so when somebody kills somebody the person who kills them gets a item.

Started by Scripticle on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make it so when somebody kills somebody the person who kills them gets a item.

So I want  make it so if you kill somebody you get a item added to your inventory/spawned where you killed them. Thank you for the help!

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Easy. Is it supposed to be a…
Sat, 10/15/2022 - 09:22

Easy.

Is it supposed to be a mob added by a mod? If yes,

you must create procedure on "entity dies" trigger, procedure is:

Add "item count" "item" to source entity inventory, this is the player procedures tab