objectiveCriteria

fun objectiveCriteria(name: String, creator: CommandCreator<out ArgumentBuilder<CommandSourceStack, *>>.() -> Unit = {}): CommandCreator<T>

Adds an objective criteria argument to the command.