public class ServerCommandManager extends CommandHandler implements ICommandListener
Modifier and Type | Field and Description |
---|---|
private MinecraftServer |
server |
Constructor and Description |
---|
ServerCommandManager(MinecraftServer serverIn) |
Modifier and Type | Method and Description |
---|---|
protected MinecraftServer |
getServer() |
void |
notifyListener(ICommandSender sender,
ICommand command,
int flags,
java.lang.String translationKey,
java.lang.Object... translationArgs) |
executeCommand, getCommands, getPossibleCommands, getTabCompletions, registerCommand, tryExecute
private final MinecraftServer server
public ServerCommandManager(MinecraftServer serverIn)
public void notifyListener(ICommandSender sender, ICommand command, int flags, java.lang.String translationKey, java.lang.Object... translationArgs)
notifyListener
in interface ICommandListener
protected MinecraftServer getServer()
getServer
in class CommandHandler