getEntities

fun CommandContext<CommandSourceStack>.getEntities(name: String): List<Entity>

Retrieves a list of Entitys from the command context.