public class ScoreText extends BaseText implements ParsableText
Text.class_5245<T>, Text.class_5246<T>, Text.Serializer| Modifier and Type | Field and Description |
|---|---|
private String |
name |
private String |
objective |
private EntitySelector |
selector |
field_24340| Modifier | Constructor and Description |
|---|---|
private |
ScoreText(String string,
EntitySelector entitySelector,
String string2) |
|
ScoreText(String name,
String objective) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
String |
getObjective() |
ScoreText |
method_27662() |
private String |
method_27699(ServerCommandSource serverCommandSource) |
private String |
method_27700(String string,
ServerCommandSource serverCommandSource) |
private static EntitySelector |
method_27701(String string) |
class_5250 |
parse(ServerCommandSource source,
Entity sender,
int depth) |
String |
toString() |
append, asString, 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 final String name
@Nullable private final EntitySelector selector
private final String objective
private ScoreText(String string, @Nullable EntitySelector entitySelector, String string2)
@Nullable private static EntitySelector method_27701(String string)
public String getName()
public String getObjective()
private String method_27699(ServerCommandSource serverCommandSource) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate String method_27700(String string, ServerCommandSource serverCommandSource)
public ScoreText method_27662()
method_27662 in interface Textmethod_27662 in class BaseTextpublic class_5250 parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse in interface ParsableTextcom.mojang.brigadier.exceptions.CommandSyntaxException