public static class MessageArgumentType.MessageSelector extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
end |
private EntitySelector |
selector |
private int |
start |
| Constructor and Description |
|---|
MessageSelector(int int2,
int int3,
EntitySelector entitySelector) |
| Modifier and Type | Method and Description |
|---|---|
Text |
format(ServerCommandSource serverCommandSource) |
int |
getEnd() |
int |
getStart() |
private final int start
private final int end
private final EntitySelector selector
public MessageSelector(int int2,
int int3,
EntitySelector entitySelector)
public int getStart()
public int getEnd()
@Nullable public Text format(ServerCommandSource serverCommandSource) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException