Advancement/Conditions/damage

Minecraft Wiki article. Categories: Top-level_data_pages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Advancement/Conditions/damage on the Minecraft Wiki. Mirrored from revision 3269461. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

    • [Boolean] blocked: Checks if the damage was successfully blocked.
    • [Double] dealt: Checks the amount of incoming damage before damage reduction.
    • [NBT Compound / JSON Object] dealt:
      • [Double] max: A maximum value.
      • [Double] min: A minimum value.
    • [NBT Compound / JSON Object] source_entity: Checks the entity that was the source of the damage (for example: The skeleton that shot the arrow).
    • [Double] taken: Checks the amount of incoming damage after damage reduction.
    • [NBT Compound / JSON Object] taken:
      • [Double] max: A maximum value.
      • [Double] min: A minimum value.
    • [NBT Compound / JSON Object] type: Checks the type of damage done.

Sources