Class GemCommand

java.lang.Object
me.qscbm.inlayx.command.GemCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor

public class GemCommand extends Object implements org.bukkit.command.CommandExecutor
命令执行器/补全器

调度命令的执行与补全

  • Field Details

  • Constructor Details

    • GemCommand

      public GemCommand(InlayX plugin)
  • Method Details

    • getCommands

      public Map<String,SubCommand> getCommands()
    • registerSubCommand

      public static boolean registerSubCommand(@NonNull SubCommand subCommand)
      注册子命令.
    • onCommand

      public boolean onCommand(@NonNull org.bukkit.command.CommandSender sender, @NonNull org.bukkit.command.Command command, @NonNull String label, String[] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor