Started by
donPaolo43
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a ranged item that shoots exploding projectiles, but I'd like to make it so that when the projectile generates the explosion the player doesn't receive damage from it. Even giving the player explosion immunity in general would be fine. Thank you
you can check if the damage type is explosion, and if it is, cancel it (didn't test this, but it should work)