Started by
MattiDragon835
on
Topic category: Help with Minecraft modding (Java Edition)
So as the tittle says i am trying to make a lightning sword. Well if you use it in survival it does work but deals damage to the player. Making the player immune to damage before the lightning doesn't work because the provided entity is the enemy. I also tried to run it from a attack global trigger but i couldn't get it to work. I would appreciate if you could help me.
the player always will get damage when you use a sword with lightning bolt.There is no way to avoid it.
Like, ask for a procedure to make player immune to lightning, explosion, poison, wither, .....
thanks for the response.
Maybe try making the lightning cordinants X: 1, Y: Y, Z: Z.