getAdvancement

fun CommandContext<CommandSourceStack>.getAdvancement(name: String): Advancement?

Retrieves an Advancement from the command context.