Class MultiplePlayerSelector

    • Constructor Summary

      Constructors 
      Constructor Description
      MultiplePlayerSelector​(@NonNull java.lang.String selector, @NonNull java.util.List<@NonNull org.bukkit.entity.Entity> entities)
      Construct a new selector
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NonNull java.util.List<@NonNull org.bukkit.entity.Player> getPlayers()
      Get the resulting players
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultiplePlayerSelector

        public MultiplePlayerSelector​(@NonNull java.lang.String selector,
                                      @NonNull java.util.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 Detail

      • getPlayers

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