Uses of Interface
com.github.siroshun09.mccommand.common.Command
-
Packages that use Command Package Description com.github.siroshun09.mccommand.bukkit The package that implements this library for Bukkit.com.github.siroshun09.mccommand.bungee The package that implements this library for BungeeCord.com.github.siroshun09.mccommand.common The root package of this library.com.github.siroshun09.mccommand.common.context The package of classes relevant to the context of the command execution.com.github.siroshun09.mccommand.paper com.github.siroshun09.mccommand.paper.listener -
-
Uses of Command in com.github.siroshun09.mccommand.bukkit
Methods in com.github.siroshun09.mccommand.bukkit with parameters of type Command Modifier and Type Method Description static void
BukkitCommandFactory. register(@NotNull PluginCommand target, @NotNull Command command)
Registers the command.static void
BukkitCommandFactory. registerAsync(@NotNull PluginCommand target, @NotNull Command command)
Registers the command.static void
BukkitCommandFactory. registerAsync(@NotNull PluginCommand target, @NotNull Command command, @NotNull Executor executor)
Registers the command.static void
BukkitCommandFactory. registerAsyncIfExists(@NotNull JavaPlugin sourcePlugin, @NotNull Command command)
Searches forPluginCommand
that is named asgetName()
and register the command if it exists.static void
BukkitCommandFactory. registerAsyncIfExists(@NotNull JavaPlugin sourcePlugin, @NotNull Command command, @NotNull Executor executor)
Searches forPluginCommand
that is named asgetName()
and register the command if it exists.static void
BukkitCommandFactory. registerIfExists(@NotNull JavaPlugin sourcePlugin, @NotNull Command command)
Searches forPluginCommand
that is named asgetName()
and register the command if it exists. -
Uses of Command in com.github.siroshun09.mccommand.bungee
Methods in com.github.siroshun09.mccommand.bungee with parameters of type Command Modifier and Type Method Description static void
BungeeCommandFactory. register(@NotNull Plugin plugin, @NotNull Command command)
Registers the command.static void
BungeeCommandFactory. registerAsync(@NotNull Plugin plugin, @NotNull Command command)
Registers the command.static void
BungeeCommandFactory. registerAsync(@NotNull Plugin plugin, @NotNull Command command, @NotNull Executor executor)
Registers the command. -
Uses of Command in com.github.siroshun09.mccommand.common
Classes in com.github.siroshun09.mccommand.common that implement Command Modifier and Type Class Description class
AbstractCommand
The abstract class ofCommand
.Methods in com.github.siroshun09.mccommand.common that return Command Modifier and Type Method Description @Nullable Command
SubCommandHolder. search(@NotNull Argument argument)
Gets the command whose name matches the string contained in theArgument
.@Nullable Command
SubCommandHolder. search(@NotNull String str)
Gets the command whose name matches the string.Methods in com.github.siroshun09.mccommand.common that return types with arguments of type Command Modifier and Type Method Description @Unmodifiable @NotNull List<Command>
SubCommandHolder. getSubCommands()
Gets subcommands that is included in this holder.@NotNull Optional<Command>
SubCommandHolder. searchOptional(@NotNull Argument argument)
Gets the command whose name matches the string contained in theArgument
.@NotNull Optional<Command>
SubCommandHolder. searchOptional(@NotNull String str)
Gets the command whose name matches the string.Methods in com.github.siroshun09.mccommand.common with parameters of type Command Modifier and Type Method Description static @NotNull SubCommandHolder
SubCommandHolder. of(@NotNull Command... subCommands)
Create aSubCommandHolder
from specified subcommands.Method parameters in com.github.siroshun09.mccommand.common with type arguments of type Command Modifier and Type Method Description static @NotNull SubCommandHolder
SubCommandHolder. of(@NotNull Collection<Command> subCommands)
Create aSubCommandHolder
from a collection of subcommands. -
Uses of Command in com.github.siroshun09.mccommand.common.context
Methods in com.github.siroshun09.mccommand.common.context that return Command Modifier and Type Method Description @NotNull Command
CommandContext. getCommand()
Gets the executed command.@NotNull Command
SimpleCommandContext. getCommand()
Gets the executed command.Methods in com.github.siroshun09.mccommand.common.context with parameters of type Command Modifier and Type Method Description SimpleCommandContext.SimpleCommandContextBuilder
SimpleCommandContext.SimpleCommandContextBuilder. setCommand(Command command)
Sets the executed command.Constructors in com.github.siroshun09.mccommand.common.context with parameters of type Command Constructor Description SimpleCommandContext(@NotNull Command command, @NotNull Sender sender, @NotNull List<Argument> arguments, @NotNull String label)
Creates aSimpleCommandContext
-
Uses of Command in com.github.siroshun09.mccommand.paper
Methods in com.github.siroshun09.mccommand.paper with parameters of type Command Modifier and Type Method Description static void
PaperCommandFactory. register(@NotNull PluginCommand target, @NotNull Command command)
Registers the command.static void
PaperCommandFactory. registerAsync(@NotNull PluginCommand target, @NotNull Command command)
Registers the command.static void
PaperCommandFactory. registerAsync(@NotNull PluginCommand target, @NotNull Command command, @NotNull Executor executor)
Registers the command.static void
PaperCommandFactory. registerAsyncIfExists(@NotNull JavaPlugin sourcePlugin, @NotNull Command command)
Searches forPluginCommand
that is named asgetName()
and register the command if it exists.static void
PaperCommandFactory. registerAsyncIfExists(@NotNull JavaPlugin sourcePlugin, @NotNull Command command, @NotNull Executor executor)
Searches forPluginCommand
that is named asgetName()
and register the command if it exists.static void
PaperCommandFactory. registerIfExists(@NotNull JavaPlugin sourcePlugin, @NotNull Command command)
Searches forPluginCommand
that is named asgetName()
and register the command if it exists. -
Uses of Command in com.github.siroshun09.mccommand.paper.listener
Methods in com.github.siroshun09.mccommand.paper.listener with parameters of type Command Modifier and Type Method Description static @NotNull AsyncTabCompleteListener
AsyncTabCompleteListener. register(@NotNull Plugin plugin, @NotNull Command command)
Enables asynchronous tab completion.
-