How can I make a custom enchantment such that every mob I hit will be struck by lightning?

Started by Python_pro_but… on

Topic category: Help with modding (Java Edition)

Last seen on 17:34, 24. Nov 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a custom enchantment such that every mob I hit will be struck by lightning?

I am working on the enchantment described in the title, but I don't know how I can add the lightning part of the enchant, I made a procedure with no extra triggers that channels lightning at pos x,y,z. Plz help, thanks!