entity

fun entity(name: String, creator: CommandCreator<out ArgumentBuilder<CommandSourceStack, *>>.() -> Unit = {}): CommandCreator<T>

Adds an entity argument to the command.