public class ChatComponentTranslation extends ChatComponentStyle
IChatComponent.Serializer| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
stringVariablePattern |
siblings| Constructor and Description |
|---|
ChatComponentTranslation(java.lang.String p_i45160_1_,
java.lang.Object... p_i45160_2_) |
| Modifier and Type | Method and Description |
|---|---|
ChatComponentTranslation |
createCopy() |
boolean |
equals(java.lang.Object par1Obj) |
java.lang.Object[] |
getFormatArgs() |
java.lang.String |
getKey() |
java.lang.String |
getUnformattedTextForChat() |
int |
hashCode() |
protected void |
initializeFromFormat(java.lang.String p_150269_1_) |
java.util.Iterator |
iterator() |
IChatComponent |
setChatStyle(ChatStyle p_150255_1_) |
java.lang.String |
toString() |
appendSibling, appendText, createDeepCopyIterator, getChatStyle, getFormattedText, getSiblings, getUnformattedTextpublic static final java.util.regex.Pattern stringVariablePattern
public ChatComponentTranslation(java.lang.String p_i45160_1_,
java.lang.Object... p_i45160_2_)
protected void initializeFromFormat(java.lang.String p_150269_1_)
public IChatComponent setChatStyle(ChatStyle p_150255_1_)
setChatStyle in interface IChatComponentsetChatStyle in class ChatComponentStylepublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in class ChatComponentStylepublic java.lang.String getUnformattedTextForChat()
public ChatComponentTranslation createCopy()
public boolean equals(java.lang.Object par1Obj)
equals in class ChatComponentStylepublic int hashCode()
hashCode in class ChatComponentStylepublic java.lang.String toString()
toString in class ChatComponentStylepublic java.lang.String getKey()
public java.lang.Object[] getFormatArgs()