public abstract class MixinChatComponentStyle extends Object implements IMixinChatComponent
Modifier and Type | Field and Description |
---|---|
protected List<net.minecraft.util.IChatComponent> |
siblings |
Constructor and Description |
---|
MixinChatComponentStyle() |
Modifier and Type | Method and Description |
---|---|
Iterator<net.minecraft.util.IChatComponent> |
childrenIterator() |
protected org.spongepowered.api.text.TextBuilder |
createBuilder() |
String |
getLegacyFormatting() |
String |
toLegacy(char code) |
String |
toPlain() |
org.spongepowered.api.text.Text |
toText() |
Iterable<net.minecraft.util.IChatComponent> |
withChildren() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendSibling, appendText, createCopy, getChatStyle, getFormattedText, getSiblings, getUnformattedText, getUnformattedTextForChat, setChatStyle
forEach, iterator, spliterator
protected List<net.minecraft.util.IChatComponent> siblings
protected org.spongepowered.api.text.TextBuilder createBuilder()
public Iterator<net.minecraft.util.IChatComponent> childrenIterator()
childrenIterator
in interface IMixinChatComponent
public Iterable<net.minecraft.util.IChatComponent> withChildren()
withChildren
in interface IMixinChatComponent
public String toPlain()
toPlain
in interface IMixinChatComponent
public String getLegacyFormatting()
getLegacyFormatting
in interface IMixinChatComponent
public String toLegacy(char code)
toLegacy
in interface IMixinChatComponent
public org.spongepowered.api.text.Text toText()
toText
in interface org.spongepowered.api.text.TextRepresentable
toText
in interface IMixinChatComponent