getEntity

fun CommandContext<CommandSourceStack>.getEntity(name: String): Entity?

Retrieves a Entity from the command context.