public class ChatComponentPlaceholder
extends net.minecraft.util.ChatComponentStyle
Constructor and Description |
---|
ChatComponentPlaceholder(String placeholderKey) |
ChatComponentPlaceholder(String placeholderKey,
net.minecraft.util.IChatComponent fallback) |
Modifier and Type | Method and Description |
---|---|
ChatComponentPlaceholder |
createCopy() |
boolean |
equals(Object obj) |
net.minecraft.util.IChatComponent |
getFallback() |
String |
getPlaceholderKey() |
String |
getUnformattedTextForChat() |
void |
setFallback(net.minecraft.util.IChatComponent fallback) |
String |
toString() |
appendSibling, appendText, createDeepCopyIterator, getChatStyle, getSiblings, getUnformattedText, hashCode, iterator, setChatStyle
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ChatComponentPlaceholder(String placeholderKey)
public ChatComponentPlaceholder(String placeholderKey, net.minecraft.util.IChatComponent fallback)
public String getPlaceholderKey()
public String getUnformattedTextForChat()
public net.minecraft.util.IChatComponent getFallback()
public void setFallback(net.minecraft.util.IChatComponent fallback)
public ChatComponentPlaceholder createCopy()
public boolean equals(Object obj)
equals
in class net.minecraft.util.ChatComponentStyle
public String toString()
toString
in class net.minecraft.util.ChatComponentStyle