net.minecraft.network.chat

public record ChatType$Bound

xl$a
net.minecraft.network.chat.ChatType$Bound
net.minecraft.class_2556$class_7602
net.minecraft.network.message.MessageType$Parameters
net.minecraft.src.C_4992_$C_240838_
net.minecraft.network.chat.ChatMessageType$a

Field summary

Modifier and TypeField
private final Holder<ChatType>
b
chatType
comp_919
type
f_240859_
private final Component
c
name
comp_920
name
f_240886_
private final Optional<Component>
d
targetName
comp_921
targetName
f_240896_
public static final StreamCodec<RegistryFriendlyByteBuf, ChatType$Bound>
a
STREAM_CODEC
field_48776
CODEC
f_316893_

Constructor summary

ModifierConstructor
(Holder<ChatType> type, Component name)
public (Holder<ChatType> name, Component targetName, Optional<Component> arg2)

Method summary

Modifier and TypeMethod
public Component
a(xp arg0)
decorate(Component arg0)
method_44837(class_2561 arg0)
applyChatDecoration(Text content)
m_240977_(C_4996_ arg0)
public Component
b(xp arg0)
decorateNarration(Component arg0)
method_44838(class_2561 arg0)
applyNarrationDecoration(Text content)
m_240941_(C_4996_ arg0)
public ChatType$Bound
c(xp arg0)
withTargetName(Component arg0)
method_44839(class_2561 arg0)
withTargetName(Text targetName)
m_241018_(C_4996_ arg0)
public Holder<ChatType>
a()
chatType()
comp_919()
type()
f_240859_()
public Component
b()
name()
comp_920()
name()
f_240886_()
public Optional<Component>
c()
targetName()
comp_921()
targetName()
f_240896_()