Table of Contents

minecraft:immune_to_damage

The minecraft:immune_to_damage item component makes an item immune to any damage specified. The tag may be overridden for a specific item stack by using the minecraft:immune_to_damage data component. Note that this means that the minecraft:fire_resistant data component is no longer used, and should instead be replaced with the other data component containing a minecraft:is_fire damage type tag.

Fields

Name Description Type Default Value
damage The damage types this item is immune to. A damage type tag

Example

{
  "damage": "minecraft:is_explosion"
}