In Tag

Damage Condition Type

Checks whether the type of this damage is in a specified tag.

Type ID: origins:in_tag

Note

See Minecraft Wiki: Tag (Damage types) for a list of of damage type tags provided/used in vanilla.

Fields

Field Type Default Description
tag Identifier The namespace and ID of the tag which the damage type should be in to pass the check.

Examples

"condition": {
    "type": "origins:in_tag",
    "tag": "minecraft:is_drowning"
}

This example will check if the damage is considered drowning damage.