Package net.minecraft.network.chat
Interface MutableComponent
- All Superinterfaces:
Component
,FormattedText
,com.mojang.brigadier.Message
- All Known Implementing Classes:
BaseComponent
,KeybindComponent
,NbtComponent
,NbtComponent.BlockNbtComponent
,NbtComponent.EntityNbtComponent
,NbtComponent.StorageNbtComponent
,ScoreComponent
,SelectorComponent
,TextComponent
,TranslatableComponent
-
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 interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION
-
Method Summary
Modifier and TypeMethodDescriptiondefault MutableComponent
default MutableComponent
withStyle(UnaryOperator<Style> p_130939_)
default MutableComponent
withStyle(ChatFormatting p_130941_)
default MutableComponent
withStyle(ChatFormatting... p_130945_)
default MutableComponent
Methods inherited from interface net.minecraft.network.chat.Component
copy, getContents, getSiblings, getString, getString, getStyle, getVisualOrderText, plainCopy, toFlatList, visit, visit, visitSelf, visitSelf
-
Method Details
-
setStyle
-
append
-
append
-
withStyle
-
withStyle
-
withStyle
-
withStyle
-