net.minecraft.server.command

public abstract class AbstractCommand

implements Command

y
net.minecraft.class_955
net.minecraft.server.command.AbstractCommand
net.minecraft.command.CommandBase

Field summary

Modifier and TypeField
private static CommandListener
a
field_3733
listener
theAdmin

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
a()
method_4634()
getRequiredPermissionLevel()
getRequiredPermissionLevel()
public List
b()
method_3274()
getAliases()
getCommandAliases()
public boolean
a(ac arg0)
method_3278(class_1061 arg0)
canUse(CommandSource arg0)
canCommandSenderUseCommand(ICommandSender arg0)
public List
a(ac arg0, String[] arg1)
method_3276(class_1061 arg0, String[] arg1)
getSuggestions(CommandSource arg0, String[] arg1)
addTabCompletionOptions(ICommandSender arg0, String[] arg1)
public static int
a(ac arg0, String arg1)
method_2887(class_1061 arg0, String arg1)
parseInt(CommandSource source, String s)
parseInt(ICommandSender sender, String str)
public static int
a(ac arg0, String arg1, int arg2)
method_2888(class_1061 arg0, String arg1, int arg2)
parseInt(CommandSource source, String s, int min)
parseIntWithMin(ICommandSender sender, String str, int min)
public static int
a(ac arg0, String arg1, int arg2, int arg3)
method_2889(class_1061 arg0, String arg1, int arg2, int arg3)
parseInt(CommandSource source, String s, int min, int max)
parseIntBounded(ICommandSender sender, String str, int min, int max)
public static double
b(ac arg0, String arg1)
method_4637(class_1061 arg0, String arg1)
parseDouble(CommandSource source, String s)
parseDouble(ICommandSender sender, String str)
public static double
a(ac arg0, String arg1, double arg2)
method_6334(class_1061 arg0, String arg1, double arg2)
parseDouble(CommandSource source, String s, double min)
parseDouble(ICommandSender sender, String str, double min)
public static double
a(ac arg0, String arg1, double arg2, double arg3)
method_6335(class_1061 arg0, String arg1, double arg2, double arg3)
parseDouble(CommandSource source, String s, double min, double max)
parseDouble(ICommandSender sender, String str, double min, double max)
public static boolean
c(ac arg0, String arg1)
method_6337(class_1061 arg0, String arg1)
parseBoolean(CommandSource source, String s)
parseBoolean(ICommandSender sender, String str)
public static ServerPlayerEntity
b(ac arg0)
method_4638(class_1061 arg0)
asPlayer(CommandSource source)
getCommandSenderAsPlayer(ICommandSender sender)
public static ServerPlayerEntity
d(ac arg0, String arg1)
method_4639(class_1061 arg0, String arg1)
parsePlayer(CommandSource source, String s)
getPlayer(ICommandSender sender, String username)
public static String
e(ac arg0, String arg1)
method_5468(class_1061 arg0, String arg1)
parsePlayerName(CommandSource source, String s)
getPlayerName(ICommandSender sender, String query)
public static Text
a(ac arg0, String[] arg1, int arg2)
method_4635(class_1061 arg0, String[] arg1, int arg2)
parseText(CommandSource source, String[] args, int startIndex)
getChatComponentFromNthArg(ICommandSender sender, String[] args, int arg2)
public static Text
a(ac arg0, String[] arg1, int arg2, boolean arg3)
method_8406(class_1061 arg0, String[] arg1, int arg2, boolean arg3)
parseText(CommandSource source, String[] args, int startIndex, boolean parseEntityNames)
getChatComponentFromNthArg(ICommandSender sender, String[] args, int index, boolean arg3)
public static String
b(ac arg0, String[] arg1, int arg2)
method_8408(class_1061 arg0, String[] arg1, int arg2)
parseString(CommandSource source, String[] args, int startIndex)
getStringFromNthArg(ICommandSender sender, String[] args, int index)
public static double
a(ac arg0, double arg1, String arg2)
method_6332(class_1061 arg0, double arg1, String arg2)
parseCoordinate(CommandSource source, double c, String s)
clamp_coord(ICommandSender sender, double arg1, String arg2)
public static double
a(ac arg0, double arg1, String arg2, int arg3, int arg4)
method_6333(class_1061 arg0, double arg1, String arg2, int arg3, int arg4)
parseCoordinate(CommandSource source, double c, String s, int min, int max)
clamp_double(ICommandSender sender, double arg1, String arg2, int min, int max)
public static Item
f(ac arg0, String arg1)
method_8409(class_1061 arg0, String arg1)
parseItem(CommandSource source, String s)
getItemByText(ICommandSender sender, String id)
public static Block
g(ac arg0, String arg1)
method_8410(class_1061 arg0, String arg1)
parseBlock(CommandSource source, String s)
getBlockByText(ICommandSender sender, String id)
public static String
a(Object[] arg0)
method_2891(Object[] arg0)
listArgs(Object[] args)
joinNiceString(Object[] elements)
public static Text
a(fj[] arg0)
method_8407(class_1982[] arg0)
listText(Text[] text)
joinNiceString(IChatComponent[] components)
public static String
a(Collection arg0)
method_5467(Collection arg0)
listArgs(Collection args)
joinNiceStringFromCollection(Collection strings)
public static boolean
a(String arg0, String arg1)
method_2883(String arg0, String arg1)
doesStringStartWith(String region, String s)
doesStringStartWith(String original, String region)
public static List
a(String[] arg0, String... arg1)
method_2894(String[] arg0, String... arg1)
suggestMatching(String[] args, String... suggestions)
getListOfStringsMatchingLastWord(String[] args, String... possibilities)
public static List
a(String[] arg0, Iterable arg1)
method_2893(String[] arg0, Iterable arg1)
suggestMatching(String[] args, Iterable suggestions)
getListOfStringsFromIterableMatchingLastWord(String[] args, Iterable possibilities)
public boolean
a(String[] arg0, int arg1)
method_4674(String[] arg0, int arg1)
hasTargetSelectorAt(String[] arg0, int arg1)
isUsernameIndex(String[] arg0, int arg1)
public static void
a(ac arg0, aa arg1, String arg2, Object... arg3)
method_2890(class_1061 arg0, class_1007 arg1, String arg2, Object... arg3)
sendSuccess(CommandSource arg0, Command arg1, String arg2, Object... arg3)
notifyOperators(ICommandSender sender, ICommand command, String msgFormat, Object... msgParams)
public static void
a(ac arg0, aa arg1, int arg2, String arg3, Object... arg4)
method_2886(class_1061 arg0, class_1007 arg1, int arg2, String arg3, Object... arg4)
sendSuccess(CommandSource arg0, Command arg1, int arg2, String arg3, Object... arg4)
notifyOperators(ICommandSender sender, ICommand command, int arg2, String msgFormat, Object... msgParams)
public static void
a(x arg0)
method_2884(class_928 arg0)
setListener(CommandListener listener)
setAdminCommander(IAdminCommand command)
public int
a(aa arg0)
method_2885(class_1007 arg0)
compareTo(Command o)
compareTo(ICommand arg0)