接口 IExecutor
-
- 所有已知实现类:
AbstractCommand
,BukkitCommand
,BukkitCommandMethodHandle
,BukkitExecutorCommand
,MXBukkitLibCommandsExecutor
,SharedCommandMethodHandle
,SharedCommands
@ProhibitBean public interface IExecutor
-
-
方法概要
修饰符和类型 方法 说明 default boolean
command(ICommandSender sender, ICommand command, String label, SafeList<String> args)
boolean
command(ICommandSender sender, ICommand command, String label, SafeList<String> args, List<String> full_path)
default boolean
command(ICommandSender sender, ICommand command, String label, String[] args)
List<String>
tabComplete(ICommandSender sender, ICommand command, String alias, SafeList<String> args)
default List<String>
tabComplete(ICommandSender sender, ICommand command, String alias, String[] args)
-
-
-
方法详细资料
-
tabComplete
@Nullable default List<String> tabComplete(@NotNull ICommandSender sender, @NotNull ICommand command, @NotNull String alias, @NotNull String[] args)
-
tabComplete
@Nullable List<String> tabComplete(@NotNull ICommandSender sender, @NotNull ICommand command, @NotNull String alias, @NotNull SafeList<String> args)
-
command
default boolean command(@NotNull ICommandSender sender, @NotNull ICommand command, @NotNull String label, @NotNull String[] args) throws CommandException
- 抛出:
CommandException
-
command
default boolean command(@NotNull ICommandSender sender, @NotNull ICommand command, @NotNull String label, @NotNull SafeList<String> args) throws CommandException
- 抛出:
CommandException
-
command
boolean command(@NotNull ICommandSender sender, @NotNull ICommand command, @NotNull String label, @NotNull SafeList<String> args, @NotNull List<String> full_path) throws CommandException
- 抛出:
CommandException
-
-