Skip to main content

Advancement (Entity Condition Type)

Checks whether the entity has completed an advancement.

Type ID: apoli:advancement

note

This condition only works on players.

Fields

FieldTypeDefaultDescription
advancementIdentifierrequiredThe ID of the advancement the player must have completed.

Examples

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

This checks whether the player has the minecraft:story/smelt_iron advancement, which they get by smelting or picking up their first iron ingot.