User Tools

Site Tools


extras:data_components:immune_to_damage

minecraft:immune_to_damage

The minecraft:immune_to_damage data component is used as an override for the damage type tag in the minecraft:immune_to_damage item component. Its value is a damage type tag.

Example

{
  "minecraft:immune_to_damage": "minecraft:is_explosion"
}
[minecraft:immune_to_damage="minecraft:is_explosion"]
extras/data_components/immune_to_damage.txt · Last modified: 2024/05/16 00:56 by errorcraft