Class MultiplePlayerSelector

Direct Known Subclasses:
SinglePlayerSelector

public class MultiplePlayerSelector extends MultipleEntitySelector
  • Constructor Details

    • MultiplePlayerSelector

      public MultiplePlayerSelector(@NonNull String selector, @NonNull List<@NonNull org.bukkit.entity.Entity> entities)
      Construct a new selector
      Parameters:
      selector - The input string used to create this selector
      entities - The List of Bukkit Entitys to construct the EntitySelector from
  • Method Details

    • getPlayers

      public final @NonNull List<@NonNull org.bukkit.entity.Player> getPlayers()
      Get the resulting players
      Returns:
      Immutable views of the list of Bukkit players parsed from the selector