Started by
SneckoGar
on
Topic category: Help with Minecraft modding (Java Edition)
I want to know how to make a procedure that when ever I use an item, it strikes the nearest player (that isn't myself) with lightning if the person is in atleast 15 blocks or less from me.
Give the player a potion effect. Check for players in a cube. If there are players that don't have the effect, strike lightning.