net.minecraft.network.chat

public record ChatTypeDecoration

ww
net.minecraft.network.chat.ChatTypeDecoration
net.minecraft.class_7463
net.minecraft.unmapped.C_vnfbczzp
net.minecraft.text.Decoration
net.minecraft.network.message.MessageStyle
net.minecraft.src.C_238473_
net.minecraft.network.chat.ChatDecoration

Field summary

Modifier and TypeField
private final String
c
translationKey
comp_788
f_irigefzd
translationKey
translationKey
f_238741_
private final List<ChatTypeDecoration$Parameter>
d
parameters
comp_789
f_xdfaqxyo
parameters
parameters
f_238656_
private final Style
e
style
comp_790
f_kpvsordz
style
style
f_238694_
public static final com.mojang.serialization.Codec<ChatTypeDecoration>
a
CODEC
field_39219
f_conwgkcl
CODEC
CODEC
f_238580_
public static final StreamCodec<RegistryFriendlyByteBuf, ChatTypeDecoration>
b
STREAM_CODEC
field_51971
f_ocpiuzsa
PACKET_CODEC
PACKET_CODEC
f_336788_

Constructor summary

ModifierConstructor
public (String translationKey, List<ChatTypeDecoration$Parameter> parameters, Style style)

Method summary

Modifier and TypeMethod
public static ChatTypeDecoration
a(String arg0)
withSender(String arg0)
method_43831(String arg0)
m_kxvswqiz(String arg0)
ofChat(String translationKey)
withSender(String translationKey)
m_239222_(String p_239223_)
public static ChatTypeDecoration
b(String arg0)
incomingDirectMessage(String arg0)
method_44779(String arg0)
m_zkhigwfz(String arg0)
ofIncomingMessage(String translationKey)
incomingDirectMessage(String translationKey)
m_239424_(String p_239425_)
public static ChatTypeDecoration
c(String arg0)
outgoingDirectMessage(String arg0)
method_44780(String arg0)
m_wpjqfmqv(String arg0)
ofOutgoingMessage(String translationKey)
outgoingDirectMessage(String translationKey)
m_240709_(String p_240772_)
public static ChatTypeDecoration
d(String arg0)
teamMessage(String arg0)
method_43835(String arg0)
m_amtphvpx(String arg0)
ofTeamMessage(String translationKey)
withinTeam(String translationKey)
m_239094_(String p_239095_)
public Component
a(wz arg0, wv$a arg1)
decorate(Component arg0, ChatType$Bound arg1)
method_43832(class_2561 arg0, class_2556$class_7602 arg1)
m_oqvzxrrz(C_rdaqiwdt arg0, C_hasnsypd$C_iocvgdxe arg1)
apply(Text content, MessageType$Parameters params)
createText(Text text, MessageType$Parameters parameters)
m_240955_(C_4996_ p_241391_, C_4992_$C_240838_ arg1)
private Component[]
b(wz arg0, wv$a arg1)
resolveParameters(Component arg0, ChatType$Bound arg1)
method_43834(class_2561 arg0, class_2556$class_7602 arg1)
m_ztcfuayx(C_rdaqiwdt arg0, C_hasnsypd$C_iocvgdxe arg1)
collectArguments(Text content, MessageType$Parameters params)
selectAll(Text text, MessageType$Parameters parameters)
m_241038_(C_4996_ p_241559_, C_4992_$C_240838_ arg1)
public String
a()
translationKey()
comp_788()
m_tkozluwx()
translationKey()
translationKey()
f_238741_()
public List<ChatTypeDecoration$Parameter>
b()
parameters()
comp_789()
m_jryqivhw()
parameters()
parameters()
f_238656_()
public Style
c()
style()
comp_790()
m_ykkfkzbp()
style()
style()
f_238694_()