net.minecraft.network.chat

public record ChatDecoration

rf
net.minecraft.network.chat.ChatDecoration
net.minecraft.class_7463
net.minecraft.text.Decoration
net.minecraft.src.C_213496_
net.minecraft.network.chat.ChatDecoration

Field summary

Modifier and TypeField
private final String
b
translationKey
comp_788
translationKey
f_236885_
private final List<ChatDecoration$Parameter>
c
parameters
comp_789
parameters
f_236886_
private final Style
d
style
comp_790
style
f_236887_
public static final com.mojang.serialization.Codec<ChatDecoration>
a
CODEC
field_39219
CODEC
f_236884_

Constructor summary

ModifierConstructor
public (String f_236886_, List<ChatDecoration$Parameter> f_236887_, Style arg2)

Method summary

Modifier and TypeMethod
public static ChatDecoration
a(String arg0)
withSender(String arg0)
method_43831(String arg0)
ofChat(String translationKey)
m_236896_(String p_236897_)
public static ChatDecoration
b(String arg0)
directMessage(String arg0)
method_43833(String arg0)
ofDirectMessage(String translationKey)
m_236902_(String p_236903_)
public static ChatDecoration
c(String arg0)
teamMessage(String arg0)
method_43835(String arg0)
ofTeamMessage(String translationKey)
m_236908_(String p_236909_)
public Component
a(rm arg0, ri arg1)
decorate(Component arg0, ChatSender arg1)
method_43832(class_2561 arg0, class_7436 arg1)
apply(Text content, MessageSender sender)
m_236898_(C_4996_ p_236900_, C_213502_ arg1)
private Component[]
b(rm arg0, ri arg1)
resolveParameters(Component arg0, ChatSender arg1)
method_43834(class_2561 arg0, class_7436 arg1)
collectArguments(Text content, MessageSender sender)
m_236904_(C_4996_ p_236906_, C_213502_ arg1)
public String
a()
translationKey()
comp_788()
translationKey()
f_236885_()
public List<ChatDecoration$Parameter>
b()
parameters()
comp_789()
parameters()
f_236886_()
public Style
c()
style()
comp_790()
style()
f_236887_()