Interface EntitySelector<E extends org.bukkit.entity.Entity>

All Superinterfaces:
Collection<E>, Iterable<E>, List<E>

public interface EntitySelector<E extends org.bukkit.entity.Entity> extends List<E>
A parameter that allows entity selectors, such as '@a', '@p', '@s', '@r', '@e[name=Foo]' or player names individually.

Note that this selector ONLY works on 1.13+. Unfortunately, Bukkit provides no other ways for parsing selectors on older versions.