YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.command.PlayerSelector Class Reference

Static Public Member Functions

static EntityPlayerMP matchOnePlayer (ICommandSender par0ICommandSender, String par1Str)
 
static String matchPlayersAsString (ICommandSender par0ICommandSender, String par1Str)
 
static EntityPlayerMP[] matchPlayers (ICommandSender par0ICommandSender, String par1Str)
 
static Map func_96560_a (Map par0Map)
 
static boolean matchesMultiplePlayers (String par0Str)
 
static boolean hasTheseArguments (String par0Str, String par1Str)
 
static boolean hasArguments (String par0Str)
 

Member Function Documentation

static Map net.minecraft.command.PlayerSelector.func_96560_a ( Map  par0Map)
static
static boolean net.minecraft.command.PlayerSelector.hasArguments ( String  par0Str)
static

Returns whether the given token has any arguments set.

static boolean net.minecraft.command.PlayerSelector.hasTheseArguments ( String  par0Str,
String  par1Str 
)
static

Returns whether the given token (parameter 1) has exactly the given arguments (parameter 2).

static boolean net.minecraft.command.PlayerSelector.matchesMultiplePlayers ( String  par0Str)
static

Returns whether the given pattern can match more than one player.

static EntityPlayerMP net.minecraft.command.PlayerSelector.matchOnePlayer ( ICommandSender  par0ICommandSender,
String  par1Str 
)
static

Returns the one player that matches the given at-token. Returns null if more than one player matches.

static EntityPlayerMP [] net.minecraft.command.PlayerSelector.matchPlayers ( ICommandSender  par0ICommandSender,
String  par1Str 
)
static

Returns an array of all players matched by the given at-token.

static String net.minecraft.command.PlayerSelector.matchPlayersAsString ( ICommandSender  par0ICommandSender,
String  par1Str 
)
static

Returns a nicely-formatted string listing the matching players.


The documentation for this class was generated from the following file: