Started by
DasenSenju
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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))
I had to test with a friend and it worked! thank you so much.