类 MultipleCommandAlias
java.lang.Object
org.bukkit.command.Command
org.bukkit.command.MultipleCommandAlias
代表一个或多个命令别名的命令
-
字段概要
从类继承的字段 org.bukkit.command.Command
description, timings, usageMessage
-
构造器概要
-
方法概要
修饰符和类型方法说明boolean
执行命令.获取与多命令别名相关的命令.从类继承的方法 org.bukkit.command.Command
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
-
构造器详细资料
-
MultipleCommandAlias
-
-
方法详细资料
-
getCommands
获取与多命令别名相关的命令.原文: Gets the commands associated with the multi-command alias.
- 返回:
- 相关的别名命令
-
execute
public boolean execute(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String commandLabel, @NotNull @NotNull String[] args) 从类复制的说明:Command
执行命令.原文:Executes the command, returning its success
-