Class OnlineSelector

java.lang.Object
xyz.srnyx.annoyingapi.command.selector.Selector<org.bukkit.entity.Player>
xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector

public class OnlineSelector extends Selector<org.bukkit.entity.Player>
Selector that selects all online players
  • Constructor Details

    • OnlineSelector

      public OnlineSelector()
      Constructor for OnlineSelector
  • Method Details

    • getType

      @NotNull public @NotNull Class<org.bukkit.entity.Player> getType()
      Description copied from class: Selector
      Gets the type of object the selector expands to
      Specified by:
      getType in class Selector<org.bukkit.entity.Player>
      Returns:
      the type of object the selector expands to
    • expandImplementation

      @NotNull public @NotNull List<org.bukkit.entity.Player> expandImplementation(@NotNull @NotNull AnnoyingSender sender)
      Specified by:
      expandImplementation in class Selector<org.bukkit.entity.Player>