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