Interface Selector<T>
- Type Parameters:
T- the type of object the selector expands to
- All Known Implementing Classes:
AllPlayersSelector,EntitiesSelector,NearestEntitySelector,NearestPlayerSelector,OfflineSelector,OnlineSelector,RandomEntitySelector,RandomPlayerSelector,SelfSelector
public interface Selector<T>
Interface for target selectors for commands
-
Method Summary
-
Method Details
-
getType
Gets the type of object the selector expands to- Returns:
- the type of object the selector expands to
-
expand
Expands the selector to a list of objects- Parameters:
sender- theAnnoyingSenderwho executed the command- Returns:
- the list of objects the selector expands to, or null if none
-