Package net.minecraft.network.chat
Class TextComponent
java.lang.Object
net.minecraft.network.chat.BaseComponent
net.minecraft.network.chat.TextComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message
,Component
,FormattedText
,MutableComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.chat.Component
Component.Serializer
Nested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T>
-
Field Summary
Fields inherited from class net.minecraft.network.chat.BaseComponent
siblings
Fields inherited from interface net.minecraft.network.chat.FormattedText
STOP_ITERATION
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.network.chat.BaseComponent
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
-
TextComponent
-
-
Method Details
-
getText
-
getContents
- Specified by:
getContents
in interfaceComponent
- Overrides:
getContents
in classBaseComponent
-
plainCopy
- Specified by:
plainCopy
in interfaceComponent
- Specified by:
plainCopy
in classBaseComponent
-
equals
- Overrides:
equals
in classBaseComponent
-
toString
- Overrides:
toString
in classBaseComponent
-