Package net.minecraft.util.text
Class TextComponent
java.lang.Object
net.minecraft.util.text.TextComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message
,IFormattableTextComponent
,ITextComponent
,ITextProperties
- Direct Known Subclasses:
KeybindTextComponent
,NBTTextComponent
,ScoreTextComponent
,SelectorTextComponent
,StringTextComponent
,TranslationTextComponent
-
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
Modifier and TypeFieldDescriptionprivate LanguageMap
protected final List<ITextComponent>
private Style
private IReorderingProcessor
Fields inherited from interface net.minecraft.util.text.ITextProperties
EMPTY, STOP_ITERATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend
(ITextComponent p_230529_1_) copy()
boolean
getStyle()
int
hashCode()
abstract TextComponent
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
siblings
-
visualOrderText
-
decomposedWith
-
style
-
-
Constructor Details
-
TextComponent
public TextComponent()
-
-
Method Details
-
append
- Specified by:
append
in interfaceIFormattableTextComponent
-
getContents
- Specified by:
getContents
in interfaceITextComponent
-
getSiblings
- Specified by:
getSiblings
in interfaceITextComponent
-
setStyle
- Specified by:
setStyle
in interfaceIFormattableTextComponent
-
getStyle
- Specified by:
getStyle
in interfaceITextComponent
-
plainCopy
- Specified by:
plainCopy
in interfaceITextComponent
-
copy
- Specified by:
copy
in interfaceITextComponent
-
getVisualOrderText
- Specified by:
getVisualOrderText
in interfaceITextComponent
-
equals
-
hashCode
public int hashCode() -
toString
-