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.Serializer
Nested classes/interfaces inherited from interface net.minecraft.util.text.ITextProperties
ITextProperties.IStyledTextAcceptor<T>, ITextProperties.ITextAcceptor<T>
-
Field Summary
Fields inherited from class net.minecraft.util.text.TextComponent
siblings
Fields inherited from interface net.minecraft.util.text.ITextProperties
STOP_ITERATION
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.util.text.TextComponent
append, copy, getSiblings, getStyle, getVisualOrderText, hashCode, setStyle
Methods 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:
getContents
in interfaceITextComponent
- Overrides:
getContents
in classTextComponent
-
plainCopy
- Specified by:
plainCopy
in interfaceITextComponent
- Specified by:
plainCopy
in classTextComponent
-
equals
- Overrides:
equals
in classTextComponent
-
toString
- Overrides:
toString
in classTextComponent
-