argument
fun <T : Any> argument(name: String, type: ArgumentType<T>, suggests: SuggestionProvider<ClientCommandSource>? = null, block: CmdChainScope.ArgContinuation<T>)
Declares a required argument and passes its typed handle into the continuation.
If type consumes the reader's entire remaining input (greedy, e.g. com.mojang.brigadier.arguments.StringArgumentType.greedyString), it must be the last argument of the chain. The DSL only detects greediness for known types (com.mojang.brigadier.arguments.StringArgumentType and net.ccbluex.liquidbounce.features.command.arguments.MultiTaggedArgumentType); custom greedy argument types are not verified and silently produce an unmatchable tree when placed before other arguments.