Why doesnt this work

Started by oiivu1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why doesnt this work

Im trying to make it so it strikes lightning at everyone except the user

https://ibb.co/DfWLpzP2

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My Question: Is this a tool…
Mon, 04/06/2026 - 22:09

My Question: Is this a tool only players could use?

Because if so, just replace the @e with @a and you should be fine.

If both Players and Entities, add @a as another "at" with the same requirements and that will work.

Joined Mar 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i made it and u can just do…
Tue, 05/12/2026 - 12:08

i made it and u can just do like all entities in square box of 4 or smth then in the thing do if entity iterator = event entity or smth target entity idk and then do else and then strike lightning

 

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah that works too, I…
Sun, 05/31/2026 - 22:12

Yeah that works too, I probably should have thought of that lol