Package studio.mevera.imperat.selector
Interface SelectionType
public interface SelectionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SelectionTypestatic final SelectionTypestatic final SelectionTypestatic final SelectionTypestatic final Stringstatic final SelectionTypestatic final List<SelectionType>static final SelectionType -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull SelectionType<E extends org.bukkit.entity.Entity>
@NotNull List<E>getTargetEntities(@NotNull studio.mevera.imperat.context.CommandContext<BukkitCommandSource> context, @NotNull studio.mevera.imperat.context.internal.Cursor<BukkitCommandSource> cursor) id()
-
Field Details
-
MENTION_CHARACTER
- See Also:
-
COMMAND_EXECUTOR
-
CLOSEST_PLAYER
-
RANDOM_PLAYER
-
ALL_PLAYERS
-
ALL_ENTITIES
-
UNKNOWN
-
TYPES
-
-
Method Details
-
from
-
id
String id() -
getTargetEntities
@NotNull <E extends org.bukkit.entity.Entity> @NotNull List<E> getTargetEntities(@NotNull @NotNull studio.mevera.imperat.context.CommandContext<BukkitCommandSource> context, @NotNull @NotNull studio.mevera.imperat.context.internal.Cursor<BukkitCommandSource> cursor) throws studio.mevera.imperat.exception.CommandException - Throws:
studio.mevera.imperat.exception.CommandException
-