类 MutableComponent
java.lang.Object
net.minecraft.network.chat.MutableComponent
- 所有已实现的接口:
com.mojang.brigadier.Message
,Component
,FormattedText
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.network.chat.Component
Component.Serializer, Component.SerializerAdapter
从接口继承的嵌套类/接口 net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T>
-
字段概要
字段修饰符和类型字段说明private final ComponentContents
private Language
private Style
private FormattedCharSequence
从接口继承的字段 net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static MutableComponent
create
(ComponentContents p_237205_) boolean
getStyle()
int
hashCode()
toString()
withColor
(int p_312961_) withStyle
(UnaryOperator<Style> p_130939_) withStyle
(ChatFormatting p_130941_) withStyle
(ChatFormatting... p_130945_) 从接口继承的方法 net.minecraft.network.chat.Component
contains, copy, getString, getString, plainCopy, toFlatList, toFlatList, tryCollapseToString, visit, visit
-
字段详细资料
-
contents
-
siblings
-
style
-
visualOrderText
-
decomposedWith
-
-
构造器详细资料
-
MutableComponent
MutableComponent(ComponentContents p_237200_, List<Component> p_237201_, Style p_237202_)
-
-
方法详细资料
-
create
-
getContents
- 指定者:
getContents
在接口中Component
-
getSiblings
- 指定者:
getSiblings
在接口中Component
-
setStyle
-
getStyle
-
append
-
append
-
withStyle
-
withStyle
-
withStyle
-
withStyle
-
withColor
-
getVisualOrderText
- 指定者:
getVisualOrderText
在接口中Component
-
equals
-
hashCode
public int hashCode() -
toString
-