getAttribute

fun CommandContext<CommandSourceStack>.getAttribute(name: String): Attribute?

Retrieves an attribute from the command context.