Making where if you wear the armor you become immune to explosives

Started by treygrubbs on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making where if you wear the armor you become immune to explosives

I need help finding out how to make when u wear the armor you get explosion immunity

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedureTrigger:…
Wed, 12/03/2025 - 08:25

Create a procedure
Trigger: entity is attacked
if provided damage type = explosion
  if item in armor slot 3 = explosion immunity helmet
  And if item in armor slot 2 = explosion immunity chestplate
  And if item in armor slot 1 = explosion immunity leggings
  And if item in armor slot 0 = explosion immunity boots
      Then cancel procedure/trigger.