FriendArgumentType

Resolves a friend by name at parse time: unknown names fail during parse instead of inside the handler (mirrors PlayerInfoArgumentType), and every consumer receives the same FriendManager.Friend instead of re-implementing the lookup.

Suggestions are the names on the friend list.

Properties

Link copied to clipboard
open override val examples: Collection<String>

Functions

Link copied to clipboard
open override fun getExamples(): Collection<String>
Link copied to clipboard
open override fun <S> listSuggestions(context: CommandContext<S>, builder: SuggestionsBuilder): CompletableFuture<Suggestions>
Link copied to clipboard
open fun <S : Any?> parse(reader: StringReader?, source: S?): FriendManager.Friend?
open override fun parse(reader: StringReader): FriendManager.Friend