public class TextComponentTranslation extends TextComponentBase
ITextComponent.Serializer| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
STRING_VARIABLE_PATTERN |
siblings| Constructor and Description |
|---|
TextComponentTranslation(java.lang.String translationKey,
java.lang.Object... args) |
| Modifier and Type | Method and Description |
|---|---|
TextComponentTranslation |
createCopy() |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.stream.Stream<ITextComponent> |
func_212640_c() |
java.lang.Object[] |
getFormatArgs() |
java.lang.String |
getKey() |
java.lang.String |
getUnformattedComponentText() |
int |
hashCode() |
protected void |
initializeFromFormat(java.lang.String format) |
ITextComponent |
setStyle(Style style) |
java.lang.String |
toString() |
appendSibling, getSiblings, getStyleclone, finalize, getClass, notify, notifyAll, wait, wait, waitappendText, applyTextStyle, applyTextStyle, applyTextStyles, func_212636_a, func_212637_f, func_212638_h, func_212639_b, getFormattedText, getString, iteratorpublic static final java.util.regex.Pattern STRING_VARIABLE_PATTERN
public TextComponentTranslation(java.lang.String translationKey,
java.lang.Object... args)
protected void initializeFromFormat(java.lang.String format)
public ITextComponent setStyle(Style style)
setStyle in interface ITextComponentsetStyle in class TextComponentBasepublic java.util.stream.Stream<ITextComponent> func_212640_c()
func_212640_c in interface ITextComponentfunc_212640_c in class TextComponentBasepublic java.lang.String getUnformattedComponentText()
public TextComponentTranslation createCopy()
public boolean equals(java.lang.Object p_equals_1_)
equals in class TextComponentBasepublic int hashCode()
hashCode in class TextComponentBasepublic java.lang.String toString()
toString in class TextComponentBasepublic java.lang.String getKey()
public java.lang.Object[] getFormatArgs()