Helmet that gives potion effect whenever I kill a mob with it

Started by Juixebox on

Topic category: Help with modding (Java Edition)

Last seen on 10:55, 1. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Helmet that gives potion effect whenever I kill a mob with it

I'm trying to make a Jason Voorhees mod, and I have an item called "Jason's mask". I want to make it so when a player kills a mob while wearing the mask, it gives the player a potion effect.

 

How do I do this?