Package net.minecraft.util.text
Class StringTextComponent
java.lang.Object
net.minecraft.util.text.TextComponent
net.minecraft.util.text.StringTextComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message,IFormattableTextComponent,ITextComponent,ITextProperties
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.text.ITextComponent
ITextComponent.SerializerNested classes/interfaces inherited from interface net.minecraft.util.text.ITextProperties
ITextProperties.IStyledTextAcceptor<T>, ITextProperties.ITextAcceptor<T> -
Field Summary
FieldsFields inherited from class net.minecraft.util.text.TextComponent
siblingsFields inherited from interface net.minecraft.util.text.ITextProperties
STOP_ITERATION -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.util.text.TextComponent
append, copy, getSiblings, getStyle, getVisualOrderText, hashCode, setStyleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
EMPTY
-
text
-
-
Constructor Details
-
StringTextComponent
-
-
Method Details
-
getText
-
getContents
- Specified by:
getContentsin interfaceITextComponent- Overrides:
getContentsin classTextComponent
-
plainCopy
- Specified by:
plainCopyin interfaceITextComponent- Specified by:
plainCopyin classTextComponent
-
equals
- Overrides:
equalsin classTextComponent
-
toString
- Overrides:
toStringin classTextComponent
-