Package studio.mevera.imperat.selector
Class TargetSelector
java.lang.Object
studio.mevera.imperat.selector.TargetSelector
- All Implemented Interfaces:
Iterable<org.bukkit.entity.Entity>
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsExactly(org.bukkit.entity.Entity... entities) static TargetSelectorempty()getType()booleanisEmpty()@NotNull Iterator<org.bukkit.entity.Entity>iterator()Returns an iterator over elements of typeT.static TargetSelectorof(SelectionType type, List<org.bukkit.entity.Entity> list) static TargetSelectorof(SelectionType type, org.bukkit.entity.Entity... list) <E extends org.bukkit.entity.Entity>
List<E>intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
of
-
of
-
empty
-
iterator
Returns an iterator over elements of typeT. -
getType
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsExactly
public boolean containsExactly(org.bukkit.entity.Entity... entities) -
only
-