Class AsyncPlayerProfileArgument
java.lang.Object
dev.jorel.commandapi.AbstractArgumentTree<Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>, Argument<?>, org.bukkit.command.CommandSender>
dev.jorel.commandapi.arguments.AbstractArgument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>, Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>, Argument<?>, org.bukkit.command.CommandSender>
dev.jorel.commandapi.arguments.Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>
dev.jorel.commandapi.arguments.SafeOverrideableArgument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>, com.destroystokyo.paper.profile.PlayerProfile>
dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
- All Implemented Interfaces:
SafeOverrideable<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>, com.destroystokyo.paper.profile.PlayerProfile, Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>, Argument<?>, org.bukkit.command.CommandSender>, BukkitExecutable<Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>>, ChainableBuilder<Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>>, PlatformExecutable<Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>, org.bukkit.command.CommandSender>
public class AsyncPlayerProfileArgument
extends SafeOverrideableArgument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>, com.destroystokyo.paper.profile.PlayerProfile>
An argument that represents a list of the Paper PlayerProfile object with asynchronous support.
- Since:
- 11.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommandAPIExecutor<org.bukkit.command.CommandSender, AbstractCommandSender<? extends org.bukkit.command.CommandSender>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionArgument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>> CommandAPIExecutor<org.bukkit.command.CommandSender, AbstractCommandSender<? extends org.bukkit.command.CommandSender>> Class<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>> <CommandSourceStack>
CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>> parseArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> cmdCtx, String key, CommandArguments previousArgs) voidsetExecutor(CommandAPIExecutor<org.bukkit.command.CommandSender, AbstractCommandSender<? extends org.bukkit.command.CommandSender>> arg0) Methods inherited from class SafeOverrideableArgument
fromKey, getMapperMethods inherited from class AbstractArgument
combineWith, copyPermissionsAndRequirements, getArgumentPermission, getCombinedArguments, getEntityNames, getHelpString, getIncludedSuggestions, getNodeName, getOverriddenSuggestions, getRawType, getRawTypeSupplier, getRequirements, hasCombinedArguments, includeSuggestions, isListed, isOptional, replaceSuggestions, setListed, setOptional, toString, withPermission, withPermission, withRequirementMethods inherited from class AbstractArgumentTree
then, thenNested, thenNestedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface BukkitExecutable
executes, executes, executes, executes, executesCommandBlock, executesCommandBlock, executesCommandBlock, executesCommandBlock, executesConsole, executesConsole, executesConsole, executesConsole, executesEntity, executesEntity, executesEntity, executesEntity, executesFeedbackForwarding, executesFeedbackForwarding, executesFeedbackForwarding, executesFeedbackForwarding, executesNative, executesNative, executesNative, executesNative, executesPlayer, executesPlayer, executesPlayer, executesPlayer, executesProxy, executesProxy, executesProxy, executesProxy, executesRemoteConsole, executesRemoteConsole, executesRemoteConsole, executesRemoteConsoleMethods inherited from interface PlatformExecutable
getExecutorMethods inherited from interface SafeOverrideable
includeSafeSuggestions, includeSuggestions, replaceSafeSuggestions, replaceSuggestions
-
Field Details
-
executor
protected CommandAPIExecutor<org.bukkit.command.CommandSender, AbstractCommandSender<? extends org.bukkit.command.CommandSender>> executor
-
-
Constructor Details
-
AsyncPlayerProfileArgument
-
-
Method Details
-
getPrimitiveType
public Class<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>> getPrimitiveType()- Specified by:
getPrimitiveTypein classAbstractArgument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>, Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>, Argument<?>, org.bukkit.command.CommandSender>
-
getArgumentType
- Specified by:
getArgumentTypein classAbstractArgument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>, Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>, Argument<?>, org.bukkit.command.CommandSender>
-
parseArgument
public <CommandSourceStack> CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>> parseArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> cmdCtx, String key, CommandArguments previousArgs) - Specified by:
parseArgumentin classAbstractArgument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>, Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>>, Argument<?>, org.bukkit.command.CommandSender>
-
getExecutor
public CommandAPIExecutor<org.bukkit.command.CommandSender, AbstractCommandSender<? extends org.bukkit.command.CommandSender>> getExecutor() -
setExecutor
public void setExecutor(CommandAPIExecutor<org.bukkit.command.CommandSender, AbstractCommandSender<? extends org.bukkit.command.CommandSender>> arg0) -
clearExecutors
public Argument<CompletableFuture<List<com.destroystokyo.paper.profile.PlayerProfile>>> clearExecutors()
-