Package net.minecraft.network.chat
Class MutableComponent
java.lang.Object
net.minecraft.network.chat.MutableComponent
- All Implemented Interfaces:
- com.mojang.brigadier.Message,- Component,- FormattedText
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.network.chat.ComponentComponent.Serializer, Component.SerializerAdapterNested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedTextFormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ComponentContentsprivate Languageprivate Styleprivate FormattedCharSequenceFields inherited from interface net.minecraft.network.chat.FormattedTextEMPTY, STOP_ITERATION
- 
Constructor SummaryConstructorsConstructorDescriptionMutableComponent(ComponentContents p_237200_, List<Component> p_237201_, Style p_237202_) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic MutableComponentcreate(ComponentContents p_237205_) booleangetStyle()inthashCode()toString()withColor(int p_307552_) withStyle(UnaryOperator<Style> p_130939_) withStyle(ChatFormatting p_130941_) withStyle(ChatFormatting... p_130945_) Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.network.chat.Componentcontains, copy, getString, getString, plainCopy, toFlatList, toFlatList, tryCollapseToString, visit, visit
- 
Field Details- 
contents
- 
siblings
- 
style
- 
visualOrderText
- 
decomposedWith
 
- 
- 
Constructor Details- 
MutableComponentMutableComponent(ComponentContents p_237200_, List<Component> p_237201_, Style p_237202_) 
 
- 
- 
Method Details- 
create
- 
getContents- Specified by:
- getContentsin interface- Component
 
- 
getSiblings- Specified by:
- getSiblingsin interface- Component
 
- 
setStyle
- 
getStyle
- 
append
- 
append
- 
withStyle
- 
withStyle
- 
withStyle
- 
withStyle
- 
withColor
- 
getVisualOrderText- Specified by:
- getVisualOrderTextin interface- Component
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-