public class CommandScoreboard extends CommandBase
CommandBase.CoordinateArg
Constructor and Description |
---|
CommandScoreboard() |
Modifier and Type | Method and Description |
---|---|
protected void |
addObjective(ICommandSender sender,
java.lang.String[] commandArgs,
int argStartIndex,
MinecraftServer server) |
protected void |
addPlayerScore(ICommandSender sender,
java.lang.String[] p_184918_2_,
int p_184918_3_,
MinecraftServer server) |
protected void |
addTeam(ICommandSender sender,
java.lang.String[] p_184910_2_,
int p_184910_3_,
MinecraftServer server) |
protected void |
applyPlayerOperation(ICommandSender sender,
java.lang.String[] p_184906_2_,
int p_184906_3_,
MinecraftServer server) |
protected void |
applyPlayerTag(MinecraftServer server,
ICommandSender sender,
java.lang.String[] p_184924_3_,
int p_184924_4_) |
protected ScoreObjective |
convertToObjective(java.lang.String name,
boolean forWrite,
MinecraftServer server) |
protected ScorePlayerTeam |
convertToTeam(java.lang.String p_184915_1_,
MinecraftServer server) |
protected void |
emptyTeam(ICommandSender sender,
java.lang.String[] p_184917_2_,
int p_184917_3_,
MinecraftServer server) |
protected void |
enablePlayerTrigger(ICommandSender sender,
java.lang.String[] p_184914_2_,
int p_184914_3_,
MinecraftServer server) |
void |
execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
java.lang.String |
getName() |
protected java.util.List<java.lang.String> |
getObjectiveNames(boolean writableOnly,
MinecraftServer server) |
int |
getRequiredPermissionLevel() |
protected Scoreboard |
getScoreboard(MinecraftServer server) |
java.util.List<java.lang.String> |
getTabCompletions(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args,
BlockPos targetPos) |
protected java.util.List<java.lang.String> |
getTriggerNames(MinecraftServer server) |
java.lang.String |
getUsage(ICommandSender sender) |
boolean |
isUsernameIndex(java.lang.String[] args,
int index) |
protected void |
joinTeam(ICommandSender sender,
java.lang.String[] p_184916_2_,
int p_184916_3_,
MinecraftServer server) |
protected void |
leaveTeam(ICommandSender sender,
java.lang.String[] p_184911_2_,
int p_184911_3_,
MinecraftServer server) |
protected void |
listObjectives(ICommandSender sender,
MinecraftServer server) |
protected void |
listPlayers(ICommandSender sender,
java.lang.String[] p_184920_2_,
int p_184920_3_,
MinecraftServer server) |
protected void |
listTeams(ICommandSender sender,
java.lang.String[] p_184922_2_,
int p_184922_3_,
MinecraftServer server) |
protected void |
removeObjective(ICommandSender sender,
java.lang.String name,
MinecraftServer server) |
protected void |
removeTeam(ICommandSender sender,
java.lang.String[] p_184921_2_,
int p_184921_3_,
MinecraftServer server) |
protected void |
resetPlayerScore(ICommandSender sender,
java.lang.String[] p_184912_2_,
int p_184912_3_,
MinecraftServer server) |
protected void |
setDisplayObjective(ICommandSender sender,
java.lang.String[] p_184919_2_,
int p_184919_3_,
MinecraftServer server) |
protected void |
setTeamOption(ICommandSender sender,
java.lang.String[] p_184923_2_,
int p_184923_3_,
MinecraftServer server) |
protected void |
testPlayerScore(ICommandSender sender,
java.lang.String[] p_184907_2_,
int p_184907_3_,
MinecraftServer server) |
buildString, checkPermission, compareTo, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getAliases, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, join, joinNiceString, joinNiceStringFromCollection, notifyCommandListener, notifyCommandListener, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setCommandListener, toSyntaxException
public java.lang.String getName()
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public java.lang.String getUsage(ICommandSender sender)
public void execute(MinecraftServer server, ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
protected Scoreboard getScoreboard(MinecraftServer server)
protected ScoreObjective convertToObjective(java.lang.String name, boolean forWrite, MinecraftServer server) throws CommandException
CommandException
protected ScorePlayerTeam convertToTeam(java.lang.String p_184915_1_, MinecraftServer server) throws CommandException
CommandException
protected void addObjective(ICommandSender sender, java.lang.String[] commandArgs, int argStartIndex, MinecraftServer server) throws CommandException
CommandException
protected void addTeam(ICommandSender sender, java.lang.String[] p_184910_2_, int p_184910_3_, MinecraftServer server) throws CommandException
CommandException
protected void setTeamOption(ICommandSender sender, java.lang.String[] p_184923_2_, int p_184923_3_, MinecraftServer server) throws CommandException
CommandException
protected void removeTeam(ICommandSender sender, java.lang.String[] p_184921_2_, int p_184921_3_, MinecraftServer server) throws CommandException
CommandException
protected void listTeams(ICommandSender sender, java.lang.String[] p_184922_2_, int p_184922_3_, MinecraftServer server) throws CommandException
CommandException
protected void joinTeam(ICommandSender sender, java.lang.String[] p_184916_2_, int p_184916_3_, MinecraftServer server) throws CommandException
CommandException
protected void leaveTeam(ICommandSender sender, java.lang.String[] p_184911_2_, int p_184911_3_, MinecraftServer server) throws CommandException
CommandException
protected void emptyTeam(ICommandSender sender, java.lang.String[] p_184917_2_, int p_184917_3_, MinecraftServer server) throws CommandException
CommandException
protected void removeObjective(ICommandSender sender, java.lang.String name, MinecraftServer server) throws CommandException
CommandException
protected void listObjectives(ICommandSender sender, MinecraftServer server) throws CommandException
CommandException
protected void setDisplayObjective(ICommandSender sender, java.lang.String[] p_184919_2_, int p_184919_3_, MinecraftServer server) throws CommandException
CommandException
protected void listPlayers(ICommandSender sender, java.lang.String[] p_184920_2_, int p_184920_3_, MinecraftServer server) throws CommandException
CommandException
protected void addPlayerScore(ICommandSender sender, java.lang.String[] p_184918_2_, int p_184918_3_, MinecraftServer server) throws CommandException
CommandException
protected void resetPlayerScore(ICommandSender sender, java.lang.String[] p_184912_2_, int p_184912_3_, MinecraftServer server) throws CommandException
CommandException
protected void enablePlayerTrigger(ICommandSender sender, java.lang.String[] p_184914_2_, int p_184914_3_, MinecraftServer server) throws CommandException
CommandException
protected void testPlayerScore(ICommandSender sender, java.lang.String[] p_184907_2_, int p_184907_3_, MinecraftServer server) throws CommandException
CommandException
protected void applyPlayerOperation(ICommandSender sender, java.lang.String[] p_184906_2_, int p_184906_3_, MinecraftServer server) throws CommandException
CommandException
protected void applyPlayerTag(MinecraftServer server, ICommandSender sender, java.lang.String[] p_184924_3_, int p_184924_4_) throws CommandException
CommandException
public java.util.List<java.lang.String> getTabCompletions(MinecraftServer server, ICommandSender sender, java.lang.String[] args, @Nullable BlockPos targetPos)
getTabCompletions
in interface ICommand
getTabCompletions
in class CommandBase
protected java.util.List<java.lang.String> getObjectiveNames(boolean writableOnly, MinecraftServer server)
protected java.util.List<java.lang.String> getTriggerNames(MinecraftServer server)
public boolean isUsernameIndex(java.lang.String[] args, int index)
isUsernameIndex
in interface ICommand
isUsernameIndex
in class CommandBase