public abstract class TextComponent extends java.lang.Object implements ITextComponent
ITextComponent.Serializer
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ITextComponent> |
siblings |
private Style |
style |
Constructor and Description |
---|
TextComponent() |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
appendSibling(ITextComponent component) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.List<ITextComponent> |
getSiblings() |
Style |
getStyle() |
int |
hashCode() |
ITextComponent |
setStyle(Style style) |
java.util.stream.Stream<ITextComponent> |
stream() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendText, applyTextStyle, applyTextStyle, applyTextStyles, copyWithoutSiblings, deepCopy, func_212637_f, getFormattedText, getString, getStringTruncated, getUnformattedComponentText, iterator, shallowCopy
protected final java.util.List<ITextComponent> siblings
private Style style
public ITextComponent appendSibling(ITextComponent component)
appendSibling
in interface ITextComponent
public java.util.List<ITextComponent> getSiblings()
getSiblings
in interface ITextComponent
public ITextComponent setStyle(Style style)
setStyle
in interface ITextComponent
public Style getStyle()
getStyle
in interface ITextComponent
public java.util.stream.Stream<ITextComponent> stream()
stream
in interface ITextComponent
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object