跳到主要内容

grant_advancement

Type: misc entry Exact entry ID: grant_advancement

Role

This TypeWriter entry is registered in code with the exact display name Grant Advancement.

Verified fields

Exact fieldTypeField guidance
advancementRef<AdvancementDefinitionEntry>Advancement to award.
revokeBooleanTake the advancement back instead of awarding it.
includeParentsBooleanAlso award every advancement above this one, so the tree can never show a child earned under an unearned parent.

In practice

Start with the required fields, save the TypeWriter page, and test this entry in the context that triggers it. Select dynamic values and references from the web interface when a selector is available.

Common issue

If grant_advancement is not available, check the installed extension version, the selected TypeWriter category, the exact identifier, and the extension dependencies. An entry from a Soon extension must not be used as an available feature.

Technical reference

Source moduleSource file
Typewriter-QuestCodexExtension-PublicGrantAdvancementActionEntry.kt