Class FacilityCommand

java.lang.Object
net.chen.legacyLand.nation.facility.commands.FacilityCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

public class FacilityCommand extends Object implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
/facility 命令处理器 list - 查看城镇设施列表 info - 查看某类设施详情 remove - 拆除看向的设施(市长)
  • Constructor Details

    • FacilityCommand

      public FacilityCommand()
  • Method Details

    • onCommand

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

      @Nullable public @Nullable List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args)
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter