Package net.minecraft.src
Class PlayerSelector
java.lang.Object
net.minecraft.src.PlayerSelector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Mapfunc_96560_a(Map par0Map) static booleanhasArguments(String par0Str) Returns whether the given token has any arguments set.static booleanhasTheseArguments(String par0Str, String par1Str) Returns whether the given token (parameter 1) has exactly the given arguments (parameter 2).static booleanmatchesMultiplePlayers(String par0Str) Returns whether the given pattern can match more than one player.static EntityPlayerMPmatchOnePlayer(ICommandSender par0ICommandSender, String par1Str) Returns the one player that matches the given at-token.static EntityPlayerMP[]matchPlayers(ICommandSender par0ICommandSender, String par1Str) Returns an array of all players matched by the given at-token.static StringmatchPlayersAsString(ICommandSender par0ICommandSender, String par1Str) Returns a nicely-formatted string listing the matching players.
-
Constructor Details
-
PlayerSelector
public PlayerSelector()
-
-
Method Details
-
matchOnePlayer
Returns the one player that matches the given at-token. Returns null if more than one player matches. -
matchPlayersAsString
Returns a nicely-formatted string listing the matching players. -
matchPlayers
Returns an array of all players matched by the given at-token. -
func_96560_a
-
matchesMultiplePlayers
Returns whether the given pattern can match more than one player. -
hasTheseArguments
Returns whether the given token (parameter 1) has exactly the given arguments (parameter 2). -
hasArguments
Returns whether the given token has any arguments set.
-