How do I make lightning summon when hitting a mob?

Started by Gospi on

Topic category: Help with modding (Java Edition)

Last seen on 17:25, 6. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make lightning summon when hitting a mob?

How do I make lightning summon when hitting a mob?

Last seen on 04:33, 27. Apr 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you are making this…
Sat, 03/09/2024 - 06:49

If you are making this happen when using a specific weapon/item, under the triggers tab for that item, make a new procedure using the 'When living entity is hit with tool'

In the new procedure, locate the 'Strike lightning at' block in world procedures tab, and add it to the green event trigger and you are done!