public class SelectorText extends BaseText implements ParsableText
Text.class_5245<T>, Text.class_5246<T>, Text.Serializer| Modifier and Type | Field and Description |
|---|---|
private static Logger |
LOGGER |
private String |
pattern |
private EntitySelector |
selector |
field_24340| Constructor and Description |
|---|
SelectorText(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
boolean |
equals(Object obj) |
String |
getPattern() |
SelectorText |
method_27662() |
class_5250 |
parse(ServerCommandSource source,
Entity sender,
int depth) |
String |
toString() |
append, getSiblings, getStyle, hashCode, method_27661, setStyleclone, finalize, getClass, notify, notifyAll, wait, wait, waitmethod_27692, method_27693, method_27694, method_27695, method_27696asTruncatedString, getString, method_27657, method_27658, method_27659, method_27660private static final Logger LOGGER
private final String pattern
@Nullable private final EntitySelector selector
public SelectorText(String pattern)
public String getPattern()
public class_5250 parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse in interface ParsableTextcom.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic String asString()
public SelectorText method_27662()
method_27662 in interface Textmethod_27662 in class BaseText