Package | Description |
---|---|
net.minecraft.command | |
net.minecraft.command.server | |
net.minecraft.util.text | |
net.minecraftforge.common.command | |
net.minecraftforge.server.command |
Modifier and Type | Class and Description |
---|---|
class |
CommandNotFoundException |
class |
EntityNotFoundException |
class |
InvalidBlockStateException |
class |
NumberInvalidException |
class |
PlayerNotFoundException |
class |
SyntaxErrorException |
class |
WrongUsageException |
Modifier and Type | Method and Description |
---|---|
(package private) CommandException |
AdvancementCommand.Mode.fail(AdvancementCommand.ActionType p_193543_1_,
java.lang.Object... p_193543_2_) |
(package private) CommandException |
AdvancementCommand.Mode.usage(AdvancementCommand.ActionType p_193544_1_) |
(package private) CommandException |
AdvancementCommand.ActionType.wrongUsage() |
Modifier and Type | Method and Description |
---|---|
void |
CommandHelp.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandDefaultGameMode.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandEffect.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandWeather.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSetPlayerTimeout.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandPlaySound.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTime.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandDebug.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandReload.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandClone.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTP.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandReplaceItem.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandEnchant.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandStopSound.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandKill.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSpreadPlayers.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandServerKick.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandWorldBorder.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
RecipeCommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandClearInventory.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTitle.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandStats.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandCompare.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandParticle.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandExecuteAt.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandFunction.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandShowSeed.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandLocate.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTrigger.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandEntityData.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandGive.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandXP.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
ICommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandGameRule.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandGameMode.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandToggleDownfall.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandDifficulty.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandFill.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSetSpawnpoint.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
AdvancementCommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandBlockData.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
static Advancement |
AdvancementCommand.findAdvancement(MinecraftServer server,
java.lang.String id) |
private static java.util.Map<java.lang.String,java.lang.String> |
EntitySelector.getArgumentMap(java.lang.String argumentString) |
static ITextComponent |
CommandBase.getChatComponentFromNthArg(ICommandSender sender,
java.lang.String[] args,
int index) |
static ITextComponent |
CommandBase.getChatComponentFromNthArg(ICommandSender sender,
java.lang.String[] args,
int index,
boolean p_147176_3_) |
protected EnumDifficulty |
CommandDifficulty.getDifficultyFromCommand(java.lang.String difficultyString) |
static Entity |
CommandBase.getEntity(MinecraftServer server,
ICommandSender sender,
java.lang.String target) |
static <T extends Entity> |
CommandBase.getEntity(MinecraftServer server,
ICommandSender sender,
java.lang.String target,
java.lang.Class<? extends T> targetClass) |
static java.util.List<Entity> |
CommandBase.getEntityList(MinecraftServer server,
ICommandSender sender,
java.lang.String target) |
static java.lang.String |
CommandBase.getEntityName(MinecraftServer server,
ICommandSender sender,
java.lang.String target) |
protected GameType |
CommandGameMode.getGameModeFromCommand(ICommandSender sender,
java.lang.String gameModeString) |
private static EntityPlayerMP |
CommandBase.getPlayer(MinecraftServer p_193512_0_,
EntityPlayerMP p_193512_1_,
java.lang.String p_193512_2_) |
static EntityPlayerMP |
CommandBase.getPlayer(MinecraftServer server,
ICommandSender sender,
java.lang.String target) |
static java.lang.String |
CommandBase.getPlayerName(MinecraftServer server,
ICommandSender sender,
java.lang.String target) |
static java.util.List<EntityPlayerMP> |
EntitySelector.getPlayers(ICommandSender sender,
java.lang.String token) |
static java.util.List<EntityPlayerMP> |
CommandBase.getPlayers(MinecraftServer p_193513_0_,
ICommandSender p_193513_1_,
java.lang.String p_193513_2_) |
private int |
CommandReplaceItem.getSlotForShortcut(java.lang.String shortcut) |
private int |
CommandHandler.getUsernameIndex(ICommand command,
java.lang.String[] args) |
static <T extends Entity> |
EntitySelector.matchEntities(ICommandSender sender,
java.lang.String token,
java.lang.Class<? extends T> targetClass) |
static <T extends Entity> |
EntitySelector.matchEntitiesDefault(ICommandSender sender,
java.lang.String token,
java.lang.Class<? extends T> targetClass) |
static ITextComponent |
EntitySelector.matchEntitiesToTextComponent(ICommandSender sender,
java.lang.String token) |
static boolean |
EntitySelector.matchesMultiplePlayers(java.lang.String selectorStr) |
static boolean |
EntitySelector.matchesMultiplePlayersDefault(java.lang.String selectorStr) |
static <T extends Entity> |
EntitySelector.matchOneEntity(ICommandSender sender,
java.lang.String token,
java.lang.Class<? extends T> targetClass) |
static EntityPlayerMP |
EntitySelector.matchOnePlayer(ICommandSender sender,
java.lang.String token) |
static boolean |
CommandBase.parseBoolean(java.lang.String input) |
private void |
AdvancementCommand.perform(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args,
EntityPlayerMP player,
AdvancementCommand.ActionType p_193516_5_,
AdvancementCommand.Mode p_193516_6_) |
private void |
CommandSpreadPlayers.spread(ICommandSender sender,
java.util.List<Entity> p_110669_2_,
CommandSpreadPlayers.Position pos,
double spreadDistance,
double maxRange,
World worldIn,
boolean respectTeams) |
private int |
CommandSpreadPlayers.spreadPositions(CommandSpreadPlayers.Position p_110668_1_,
double p_110668_2_,
World worldIn,
java.util.Random random,
double minX,
double minZ,
double maxX,
double maxZ,
CommandSpreadPlayers.Position[] p_110668_14_,
boolean respectTeams) |
private void |
AdvancementCommand.testAdvancement(ICommandSender p_192552_1_,
EntityPlayerMP p_192552_2_,
Advancement p_192552_3_) |
private void |
AdvancementCommand.testCriterion(ICommandSender p_192554_1_,
EntityPlayerMP p_192554_2_,
Advancement p_192554_3_,
java.lang.String p_192554_4_) |
Modifier and Type | Method and Description |
---|---|
protected void |
CommandScoreboard.addObjective(ICommandSender sender,
java.lang.String[] commandArgs,
int argStartIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.addPlayerScore(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.addTeam(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.applyPlayerOperation(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.applyPlayerTag(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args,
int startIndex) |
protected ScoreObjective |
CommandScoreboard.convertToObjective(java.lang.String name,
boolean forWrite,
MinecraftServer server) |
protected ScorePlayerTeam |
CommandScoreboard.convertToTeam(java.lang.String name,
MinecraftServer server) |
protected void |
CommandScoreboard.emptyTeam(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.enablePlayerTrigger(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
void |
CommandEmote.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSaveOn.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandPublishLocalServer.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSummon.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTestFor.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandMessage.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSetDefaultSpawnpoint.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandBanIp.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandListPlayers.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandListBans.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandStop.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandPardonIp.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandPardonPlayer.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSetBlock.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSaveOff.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandDeOp.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTestForBlock.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandScoreboard.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSaveAll.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandWhitelist.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandBroadcast.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTeleport.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandMessageRaw.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandBanPlayer.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandOp.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
private boolean |
CommandScoreboard.handleUserWildcards(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
protected void |
CommandScoreboard.joinTeam(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.leaveTeam(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.listObjectives(ICommandSender sender,
MinecraftServer server) |
protected void |
CommandScoreboard.listPlayers(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.listTeams(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.removeObjective(ICommandSender sender,
java.lang.String name,
MinecraftServer server) |
protected void |
CommandScoreboard.removeTeam(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.resetPlayerScore(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.setDisplayObjective(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.setTeamOption(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
protected void |
CommandScoreboard.testPlayerScore(ICommandSender sender,
java.lang.String[] args,
int startIndex,
MinecraftServer server) |
Modifier and Type | Method and Description |
---|---|
static ITextComponent |
TextComponentUtils.processComponent(ICommandSender commandSender,
ITextComponent component,
Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
static <T extends Entity> |
SelectorHandlerManager.matchEntities(ICommandSender sender,
java.lang.String token,
java.lang.Class<? extends T> targetClass) |
<T extends Entity> |
SelectorHandler.matchEntities(ICommandSender sender,
java.lang.String token,
java.lang.Class<? extends T> targetClass)
Returns a
List of Entities of class targetClass (T ) represented by token Note: If token does not match the overall syntax defined by SelectorHandler.isSelector(java.lang.String) , this method should return an empty list. |
static boolean |
SelectorHandlerManager.matchesMultiplePlayers(java.lang.String selectorStr) |
boolean |
SelectorHandler.matchesMultiplePlayers(java.lang.String selectorStr)
Returns whether the selector string potentially matches multiple entities
|
Modifier and Type | Method and Description |
---|---|
void |
CommandDimensions.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTps.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTreeBase.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTreeHelp.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTreeHelp.HelpSubCommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandGenerate.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandSetDimension.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandEntity.EntityListCommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTrack.StartTrackingCommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTrack.ResetTrackingCommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
void |
CommandTrack.TrackResultsBaseCommand.execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |