YATS/Forge Documentation
|
Public Member Functions | |
String | getCommandName () |
String | getCommandUsage (ICommandSender icommandsender) |
List | getCommandAliases () |
void | processCommand (ICommandSender icommandsender, String[] astring) |
boolean | canCommandSenderUseCommand (ICommandSender icommandsender) |
List | addTabCompletionOptions (ICommandSender icommandsender, String[] astring) |
boolean | isUsernameIndex (String[] astring, int i) |
List net.minecraft.command.ICommand.addTabCompletionOptions | ( | ICommandSender | icommandsender, |
String[] | astring | ||
) |
Adds the strings available in this command to the given list of tab completion options.
Implemented in net.minecraft.scoreboard.ServerCommandScoreboard, net.minecraft.command.CommandDebug, net.minecraft.command.CommandServerTp, net.minecraft.command.CommandEnchant, net.minecraft.command.CommandEffect, net.minecraft.command.CommandXP, net.minecraft.command.CommandServerWhitelist, net.minecraft.command.CommandServerBanIp, net.minecraft.command.CommandGameRule, net.minecraft.command.CommandGive, net.minecraft.command.CommandServerKick, net.minecraft.command.CommandTime, net.minecraft.command.CommandWeather, net.minecraft.command.CommandServerBan, net.minecraft.command.CommandGameMode, net.minecraft.command.CommandSetSpawnpoint, net.minecraft.command.CommandServerMessage, net.minecraft.command.CommandServerPardonIp, net.minecraft.command.CommandDifficulty, net.minecraft.command.CommandServerBanlist, net.minecraft.command.CommandServerPardon, net.minecraft.command.CommandClearInventory, net.minecraft.command.CommandBase, net.minecraft.command.CommandServerEmote, net.minecraft.command.CommandServerOp, net.minecraft.command.CommandServerDeop, and net.minecraft.command.CommandServerSay.
boolean net.minecraft.command.ICommand.canCommandSenderUseCommand | ( | ICommandSender | icommandsender) |
Returns true if the given command sender is allowed to use this command.
Implemented in net.minecraft.command.CommandBase, net.minecraft.command.CommandServerBan, net.minecraft.command.CommandServerBanIp, net.minecraft.command.CommandServerPardon, net.minecraft.command.CommandServerPardonIp, net.minecraft.command.CommandServerBanlist, and net.minecraft.command.CommandShowSeed.
List net.minecraft.command.ICommand.getCommandAliases | ( | ) |
String net.minecraft.command.ICommand.getCommandName | ( | ) |
Implemented in net.minecraft.scoreboard.ServerCommandScoreboard, net.minecraft.command.CommandDebug, net.minecraft.command.CommandServerMessage, net.minecraft.command.CommandShowSeed, net.minecraft.command.CommandServerBanIp, net.minecraft.command.CommandEnchant, net.minecraft.command.CommandHelp, net.minecraft.command.CommandEffect, net.minecraft.command.CommandGameMode, net.minecraft.command.CommandGive, net.minecraft.command.CommandDifficulty, net.minecraft.command.CommandWeather, net.minecraft.scoreboard.ServerCommandTestFor, net.minecraft.command.CommandServerBan, net.minecraft.command.CommandServerSaveAll, net.minecraft.command.CommandServerTp, net.minecraft.command.CommandSetSpawnpoint, net.minecraft.command.CommandClearInventory, net.minecraft.command.CommandDefaultGameMode, net.minecraft.command.CommandGameRule, net.minecraft.command.CommandServerEmote, net.minecraft.command.CommandServerKick, net.minecraft.command.CommandServerOp, net.minecraft.command.CommandServerPardonIp, net.minecraft.command.CommandServerWhitelist, net.minecraft.command.CommandTime, net.minecraft.command.CommandXP, net.minecraft.command.CommandKill, net.minecraft.command.CommandServerBanlist, net.minecraft.command.CommandServerDeop, net.minecraft.command.CommandServerPardon, net.minecraft.command.CommandServerPublishLocal, net.minecraft.command.CommandServerSaveOff, net.minecraft.command.CommandServerSaveOn, net.minecraft.command.CommandServerSay, net.minecraft.command.CommandServerList, net.minecraft.command.CommandServerStop, and net.minecraft.command.CommandToggleDownfall.
String net.minecraft.command.ICommand.getCommandUsage | ( | ICommandSender | icommandsender) |
Implemented in net.minecraft.command.CommandServerBanIp, net.minecraft.command.CommandServerPardonIp, net.minecraft.command.CommandServerBanlist, net.minecraft.command.CommandEnchant, net.minecraft.command.CommandHelp, net.minecraft.command.CommandEffect, net.minecraft.command.CommandGameMode, net.minecraft.command.CommandGive, net.minecraft.command.CommandDifficulty, net.minecraft.command.CommandServerBan, net.minecraft.command.CommandServerTp, net.minecraft.command.CommandSetSpawnpoint, net.minecraft.command.CommandBase, net.minecraft.command.CommandGameRule, net.minecraft.command.CommandServerEmote, net.minecraft.command.CommandServerKick, net.minecraft.command.CommandServerOp, net.minecraft.command.CommandServerWhitelist, net.minecraft.command.CommandTime, net.minecraft.command.CommandXP, net.minecraft.command.CommandServerDeop, net.minecraft.command.CommandServerPardon, net.minecraft.command.CommandServerSay, net.minecraft.command.CommandClearInventory, and net.minecraft.command.CommandDefaultGameMode.
boolean net.minecraft.command.ICommand.isUsernameIndex | ( | String[] | astring, |
int | i | ||
) |
Return whether the specified command parameter index is a username parameter.
Implemented in net.minecraft.scoreboard.ServerCommandScoreboard, net.minecraft.command.CommandBase, net.minecraft.command.CommandServerTp, net.minecraft.command.CommandEnchant, net.minecraft.command.CommandEffect, net.minecraft.command.CommandXP, net.minecraft.command.CommandGive, net.minecraft.command.CommandGameMode, net.minecraft.command.CommandSetSpawnpoint, net.minecraft.command.CommandServerMessage, net.minecraft.command.CommandClearInventory, and net.minecraft.scoreboard.ServerCommandTestFor.
void net.minecraft.command.ICommand.processCommand | ( | ICommandSender | icommandsender, |
String[] | astring | ||
) |
Implemented in net.minecraft.command.CommandServerBanIp, net.minecraft.command.CommandHelp, net.minecraft.command.CommandServerBan, net.minecraft.command.CommandServerPardonIp, net.minecraft.command.CommandServerBanlist, net.minecraft.command.CommandServerPardon, net.minecraft.scoreboard.ServerCommandScoreboard, net.minecraft.command.CommandDebug, net.minecraft.command.CommandEnchant, net.minecraft.command.CommandEffect, net.minecraft.command.CommandGameMode, net.minecraft.command.CommandGive, net.minecraft.command.CommandServerMessage, net.minecraft.command.CommandShowSeed, net.minecraft.command.CommandDifficulty, net.minecraft.command.CommandServerTp, net.minecraft.command.CommandSetSpawnpoint, net.minecraft.command.CommandClearInventory, net.minecraft.command.CommandGameRule, net.minecraft.command.CommandServerEmote, net.minecraft.command.CommandServerKick, net.minecraft.command.CommandServerOp, net.minecraft.command.CommandServerWhitelist, net.minecraft.command.CommandTime, net.minecraft.command.CommandXP, net.minecraft.command.CommandServerDeop, net.minecraft.command.CommandServerSay, net.minecraft.command.CommandWeather, net.minecraft.scoreboard.ServerCommandTestFor, net.minecraft.command.CommandServerSaveAll, net.minecraft.command.CommandKill, net.minecraft.command.CommandServerPublishLocal, net.minecraft.command.CommandServerSaveOff, net.minecraft.command.CommandServerSaveOn, net.minecraft.command.CommandServerList, net.minecraft.command.CommandServerStop, net.minecraft.command.CommandToggleDownfall, and net.minecraft.command.CommandDefaultGameMode.