Minecraft Wiki
Advertisement
    •  direct_entity: The entity that was the direct cause of the damage.
      • All possible conditions for entities
    •  source_entity: Checks the entity that was the source of the damage (for example: The skeleton that shot the arrow).
      • All possible conditions for entities
    •  tags: An array of objects containing damage type tags that the type of the damage should be included in.
      • : An object representing a damage type tag.
        •  id: The resource location of the tag.
        •  expected: Whether this tag should be present on the damage type.
Advertisement