net.minecraft.network.message

public record MessageType$Parameters

wv$a
net.minecraft.network.chat.ChatType$Bound
net.minecraft.class_2556$class_7602
net.minecraft.network.message.MessageType$Parameters
net.minecraft.unmapped.C_hasnsypd$C_iocvgdxe
net.minecraft.network.message.MessageType$Parameters
net.minecraft.src.C_4992_$C_240838_

Field summary

Modifier and TypeField
private final RegistryEntry<MessageType>
b
chatType
comp_919
type
f_etbkezqp
messageType
f_240859_
private final Text
c
name
comp_920
name
f_iwztkgqo
name
f_240886_
private final Optional<Text>
d
targetName
comp_921
targetName
f_qvbpncky
targetName
f_240896_
public static final PacketCodec<RegistryByteBuf, MessageType$Parameters>
a
STREAM_CODEC
field_48776
CODEC
f_foaxmibi
CODEC
f_316893_

Constructor summary

ModifierConstructor
(RegistryEntry<MessageType> type, Text name)
public (RegistryEntry<MessageType> messageType, Text name, Optional<Text> targetName)

Method summary

Modifier and TypeMethod
public Text
a(wz arg0)
decorate(Component arg0)
method_44837(class_2561 arg0)
applyChatDecoration(Text content)
m_fepscnil(C_rdaqiwdt arg0)
createChat(Text text)
m_240977_(C_4996_ arg0)
public Text
b(wz arg0)
decorateNarration(Component arg0)
method_44838(class_2561 arg0)
applyNarrationDecoration(Text content)
m_yhtbodmx(C_rdaqiwdt arg0)
createNarration(Text text)
m_240941_(C_4996_ arg0)
public MessageType$Parameters
c(wz arg0)
withTargetName(Component arg0)
method_44839(class_2561 arg0)
withTargetName(Text targetName)
m_kkxstjpt(C_rdaqiwdt arg0)
withTargetName(Text targetName)
m_241018_(C_4996_ arg0)
public RegistryEntry<MessageType>
a()
chatType()
comp_919()
type()
m_ppiekayr()
messageType()
f_240859_()
public Text
b()
name()
comp_920()
name()
m_wofkkkmi()
name()
f_240886_()
public Optional<Text>
c()
targetName()
comp_921()
targetName()
m_pvrwwklf()
targetName()
f_240896_()