Class RadiusSelector<T extends org.bukkit.entity.Entity>

java.lang.Object
wbs.utils.util.entities.selector.EntitySelector<T,RadiusSelector<T>>
wbs.utils.util.entities.selector.RadiusSelector<T>

public class RadiusSelector<T extends org.bukkit.entity.Entity> extends EntitySelector<T,RadiusSelector<T>>
  • Constructor Details

    • RadiusSelector

      public RadiusSelector(Class<T> clazz)
  • Method Details

    • getSelection

      @NotNull protected @NotNull List<T> getSelection(org.bukkit.Location loc)
      Description copied from class: EntitySelector
      Perform a selection and return all found.
      Specified by:
      getSelection in class EntitySelector<T extends org.bukkit.entity.Entity,RadiusSelector<T extends org.bukkit.entity.Entity>>
      Parameters:
      loc - The location to perform the selection from
      Returns:
      All selections
    • getThis

      protected RadiusSelector<T> getThis()
      Specified by:
      getThis in class EntitySelector<T extends org.bukkit.entity.Entity,RadiusSelector<T extends org.bukkit.entity.Entity>>
      Returns:
      This object as the subclass