public class NukkitCommandAlias extends Object implements AliasCommand
| Constructor and Description |
|---|
NukkitCommandAlias(NukkitCommand command,
String name) |
| Modifier and Type | Method and Description |
|---|---|
CommandData |
getData() |
CommandExecutor |
getExecutor() |
String |
getName() |
Command |
getParent() |
boolean |
onCommand(CommandSender sender,
String label,
String[] args) |
boolean |
testPermission(CommandSender sender) |
boolean |
testPermissionSilent(CommandSender sender) |
public NukkitCommandAlias(NukkitCommand command, String name)
public Command getParent()
getParent in interface AliasCommandpublic CommandExecutor getExecutor()
getExecutor in interface Commandpublic CommandData getData()
public boolean testPermission(CommandSender sender)
testPermission in interface Commandpublic boolean testPermissionSilent(CommandSender sender)
testPermissionSilent in interface Commandpublic boolean onCommand(CommandSender sender, String label, String[] args)
onCommand in interface CommandExecutorCopyright © 2017–2019 NukkitX. All rights reserved.