public class TextComponentScore extends TextComponentBase
ITextComponent.Serializer
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private java.lang.String |
objective |
private java.lang.String |
value |
siblings
Constructor and Description |
---|
TextComponentScore(java.lang.String nameIn,
java.lang.String objectiveIn) |
Modifier and Type | Method and Description |
---|---|
TextComponentScore |
createCopy() |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getName() |
java.lang.String |
getObjective() |
java.lang.String |
getUnformattedComponentText() |
void |
resolve(ICommandSender sender) |
void |
setValue(java.lang.String valueIn) |
java.lang.String |
toString() |
appendSibling, appendText, createDeepCopyIterator, getFormattedText, getSiblings, getStyle, getUnformattedText, hashCode, iterator, setStyle
private final java.lang.String name
private final java.lang.String objective
private java.lang.String value
public TextComponentScore(java.lang.String nameIn, java.lang.String objectiveIn)
public java.lang.String getName()
public java.lang.String getObjective()
public void setValue(java.lang.String valueIn)
public java.lang.String getUnformattedComponentText()
public void resolve(ICommandSender sender)
public TextComponentScore createCopy()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class TextComponentBase
public java.lang.String toString()
toString
in class TextComponentBase