public class AliasCommand
extends org.bukkit.command.Command
限定符和类型 | 字段和说明 |
---|---|
protected AliasCommandManager |
aliasCommandManager |
protected java.lang.String |
targetCommand |
构造器和说明 |
---|
AliasCommand(java.lang.String name,
AliasCommandManager aliasCommandManager,
java.lang.String targetCommand) |
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.String |
buildCommand(java.lang.String[] args) |
boolean |
execute(@NotNull org.bukkit.command.CommandSender sender,
@NotNull java.lang.String commandLabel,
@NotNull java.lang.String[] args) |
protected org.bukkit.command.SimpleCommandMap |
getCommandMap() |
@NotNull java.util.List<java.lang.String> |
tabComplete(@NotNull org.bukkit.command.CommandSender sender,
@NotNull java.lang.String alias,
@NotNull java.lang.String[] args) |
@NotNull java.util.List<java.lang.String> |
tabComplete(@NotNull org.bukkit.command.CommandSender sender,
@NotNull java.lang.String alias,
@NotNull java.lang.String[] args,
@Nullable org.bukkit.Location location) |
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, testPermission, testPermissionSilent, toString, unregister
protected final AliasCommandManager aliasCommandManager
protected final java.lang.String targetCommand
public AliasCommand(java.lang.String name, AliasCommandManager aliasCommandManager, java.lang.String targetCommand)
protected org.bukkit.command.SimpleCommandMap getCommandMap()
protected java.lang.String buildCommand(java.lang.String[] args)
public boolean execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull java.lang.String commandLabel, @NotNull @NotNull java.lang.String[] args)
execute
在类中 org.bukkit.command.Command
@NotNull public @NotNull java.util.List<java.lang.String> tabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull java.lang.String alias, @NotNull @NotNull java.lang.String[] args, @Nullable @Nullable org.bukkit.Location location) throws java.lang.IllegalArgumentException
tabComplete
在类中 org.bukkit.command.Command
java.lang.IllegalArgumentException
@NotNull public @NotNull java.util.List<java.lang.String> tabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull java.lang.String alias, @NotNull @NotNull java.lang.String[] args) throws java.lang.IllegalArgumentException
tabComplete
在类中 org.bukkit.command.Command
java.lang.IllegalArgumentException
Copyright © 2024. All rights reserved.