I am trying to make my armor so that when worn the player is immune to explosive damage, but I cannot figure out how. I am attempting to use the explosion protection enchantment's code, but it gives an error for damagesource.
Simply put, how can I make an armor so that when it is worn it protects against explosions? I can post my code if it is needed.
Simply put, how can I make an armor so that when it is worn it protects against explosions? I can post my code if it is needed.