Entity Argument
fun <T> EntityArgument(name: String, enableSelector: Boolean = true, enableEntities: Boolean = true, suggestion: SuggestionAction<T>?, action: ContextAction<T>? = null)
Content copied to clipboard
Parameters
name
Name of argument.
enable Selector
Enables the use of selectors.
enable Entities
Allows you to select an entity.
suggestion
Lambda expression for tab completion of its arguments.
Check the following for the specifications of other arguments.