Class ArenaCommandNode
- java.lang.Object
-
- com.hypernite.mc.hnmc.core.misc.commands.CommandNode
-
- com.ericlam.mc.minigames.core.commands.ArenaCommandNode
-
public abstract class ArenaCommandNode extends CommandNode
場地指令接口,用於新增額外場地設置指令是掛接。
-
-
Constructor Summary
Constructors Constructor Description ArenaCommandNode(CommandNode parent, String command, String permission, String description, String placeholder, String... alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecuteCommand(CommandSender commandSender, List<String> list)List<String>executeTabCompletion(CommandSender commandSender, List<String> list)-
Methods inherited from class com.hypernite.mc.hnmc.core.misc.commands.CommandNode
addAlias, addAllAliases, addSub, getAlias, getCommand, getDescription, getParent, getPermission, getPlaceholder, getSubCommands, invokeCommand, invokeTabCompletion, match
-
-
-
-
Constructor Detail
-
ArenaCommandNode
public ArenaCommandNode(CommandNode parent, @Nonnull String command, String permission, @Nonnull String description, String placeholder, String... alias)
- Parameters:
parent- 父指令command- 指令名稱permission- 權限description- 描述placeholder- 參數alias- 別稱
-
-
Method Detail
-
executeCommand
public boolean executeCommand(@Nonnull CommandSender commandSender, @Nonnull List<String> list)
- Specified by:
executeCommandin classCommandNode
-
executeTabCompletion
public List<String> executeTabCompletion(@Nonnull CommandSender commandSender, @Nonnull List<String> list)
- Specified by:
executeTabCompletionin classCommandNode
-
-