Lightning strike procedure help

Started by DasenSenju on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lightning strike procedure help

I want to make an item that makes it so that when used it strikes lightning on all players around you but yourself. I have the item texture and everything but the I am having trouble with the procedure itself. If anyone has an idea on how to help me out I would appreciate it.

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For each player in the…
Mon, 08/28/2023 - 00:33

For each player in the current world as (Entity iterator)

- if (not (Entity iterator == Event/target entity))

- - Strike lightning at (X position of (Entity iterator)) (Y position of (Entity iterator)) (Z position of (Entity iterator))

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had to test with a friend…
Mon, 08/28/2023 - 01:07

I had to test with a friend and it worked! thank you so much.