Advancement

Entity Condition.

Checks whether the player has completed a specified advancement.

Type ID: origins:advancement

Fields:

Field Type Default Description
advancement Identifier ID of the advancement the player needs to have completed in order for this condition to evaluate to true.

Example:

"condition": {
  "type": "origins:advancement",
  "advancement": "minecraft:story/smelt_iron"
}

This condition added to a power will make it only activate after the player has smelted or found their first iron ingot.