Target

Indicates a target selected using a username or a target selector. For reference see Command on Minecraft Wiki.

Constructors

this
this(string input)
Undocumented in source.
this
this(string input, Entity[] entities, bool player)
Undocumented in source.
this
this(string input, Player[] players, bool player)
Undocumented in source.

Members

Static functions

fromString
Target fromString(WorldCommandSender sender, string str)

Creates a target from a username or a selector string.

Variables

entities
Entity[] entities;
Undocumented in source.
input
string input;

Raw input of the selector used.

player
bool player;

Indicates whether the target was a player or an entity.

players
Player[] players;
Undocumented in source.

Meta