ArgumentResolver

fun interface ArgumentResolver<T>

Defers argument resolution until command execution.

Used with CustomArgumentType to parse arguments into selectors at parse time, then resolve them to actual objects at execution time using the command source.

Parameters

T

the resolved type

Functions

Link copied to clipboard
abstract fun resolve(source: McBrigadierSource): T

Resolves the argument using the command source.