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.SerializerNested classes/interfaces inherited from interface net.minecraft.util.text.ITextProperties
ITextProperties.IStyledTextAcceptor<T>, ITextProperties.ITextAcceptor<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LanguageMapprotected final List<ITextComponent>private Styleprivate IReorderingProcessorFields inherited from interface net.minecraft.util.text.ITextProperties
EMPTY, STOP_ITERATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(ITextComponent p_230529_1_) copy()booleangetStyle()inthashCode()abstract TextComponenttoString()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:
appendin interfaceIFormattableTextComponent
-
getContents
- Specified by:
getContentsin interfaceITextComponent
-
getSiblings
- Specified by:
getSiblingsin interfaceITextComponent
-
setStyle
- Specified by:
setStylein interfaceIFormattableTextComponent
-
getStyle
- Specified by:
getStylein interfaceITextComponent
-
plainCopy
- Specified by:
plainCopyin interfaceITextComponent
-
copy
- Specified by:
copyin interfaceITextComponent
-
getVisualOrderText
- Specified by:
getVisualOrderTextin interfaceITextComponent
-
equals
-
hashCode
public int hashCode() -
toString
-