public abstract class SubCommand<C extends CommandHandler> extends java.lang.Object implements NamedExecutor
构造器和说明 |
---|
SubCommand(C parent,
java.lang.String identifier,
java.lang.String... aliases) |
限定符和类型 | 方法和说明 |
---|---|
abstract java.lang.Void |
execute(org.bukkit.plugin.java.JavaPlugin plugin,
org.bukkit.command.CommandSender sender,
java.lang.String[] args) |
@Unmodifiable @NotNull java.util.List<java.lang.String> |
getAliases() |
@NotNull java.lang.String |
getIdentifier() |
C |
getParent() |
java.util.List<java.lang.String> |
tabComplete(org.bukkit.plugin.java.JavaPlugin plugin,
org.bukkit.command.CommandSender sender,
java.lang.String[] args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasPermission, sendMessage, sendMessage
public SubCommand(@NotNull C parent, java.lang.String identifier, java.lang.String... aliases)
@NotNull public C getParent()
@NotNull public @NotNull java.lang.String getIdentifier()
getIdentifier
在接口中 NamedExecutor
@NotNull public @Unmodifiable @NotNull java.util.List<java.lang.String> getAliases()
getAliases
在接口中 NamedExecutor
public abstract java.lang.Void execute(org.bukkit.plugin.java.JavaPlugin plugin, org.bukkit.command.CommandSender sender, java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public java.util.List<java.lang.String> tabComplete(org.bukkit.plugin.java.JavaPlugin plugin, org.bukkit.command.CommandSender sender, java.lang.String[] args)
Copyright © 2024. All rights reserved.