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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanonCommand(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args) onTabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args)
-
Constructor Details
-
FacilityCommand
public FacilityCommand()
-
-
Method Details
-
onCommand
-
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:
onTabCompletein interfaceorg.bukkit.command.TabCompleter
-