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 Summary
Nested classes/interfaces inherited from interface net.minecraft.network.chat.Component
Component.SerializerNested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T> - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentContentsprivate Languageprivate Styleprivate FormattedCharSequenceFields inherited from interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION - 
Constructor Summary
ConstructorsConstructorDescriptionMutableComponent(ComponentContents p_237200_, List<Component> p_237201_, Style p_237202_)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic MutableComponentcreate(ComponentContents p_237205_) booleangetStyle()inthashCode()toString()withStyle(UnaryOperator<Style> p_130939_) withStyle(ChatFormatting p_130941_) withStyle(ChatFormatting... p_130945_) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.network.chat.Component
contains, copy, getString, getString, plainCopy, toFlatList, toFlatList, visit, visit 
- 
Field Details
- 
contents
 - 
siblings
 - 
style
 - 
visualOrderText
 - 
decomposedWith
 
 - 
 - 
Constructor Details
- 
MutableComponent
MutableComponent(ComponentContents p_237200_, List<Component> p_237201_, Style p_237202_)  
 - 
 - 
Method Details
- 
create
 - 
getContents
- Specified by:
 getContentsin interfaceComponent
 - 
getSiblings
- Specified by:
 getSiblingsin interfaceComponent
 - 
setStyle
 - 
getStyle
 - 
append
 - 
append
 - 
withStyle
 - 
withStyle
 - 
withStyle
 - 
withStyle
 - 
getVisualOrderText
- Specified by:
 getVisualOrderTextin interfaceComponent
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -