Class EntitiesSelector

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

public class EntitiesSelector extends Selector<org.bukkit.entity.Entity>
Selector that selects all entities in the sender's world, or the first world if the sender is not a player
  • Constructor Details

    • EntitiesSelector

      public EntitiesSelector()
      Constructor for EntitiesSelector
  • Method Details

    • getType

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

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