Started by
coolguy11110101338
on
Topic category: Help with Minecraft modding (Java Edition)
Hi! Im making a sword that summons lightning, but want to make sure the player wont take damage from it when it is held in hand. So i saw similar forum discussions on this, and they say to set up an "entity is hurt" procedure and then cancel it if the damage type is lightning. However, it looks like, as of recently, the "Entity is hurt" trigger is not cancellable. Is there any other way to make the player immune to lightning?
I don't know. i cancel when entity is hurt all the time and it works fine.