fromReifiedType

inline fun <T> fromReifiedType(context: CommandBuildContext): ArgumentType<T>

Converts the given reified type T to an ArgumentType. Note that this function fails if there is no corresponding ArgumentType mapped to T.

Parameters

context

the context which provides access to registries