net.minecraft.network.chat

public record ChatType$Bound

xr$a
net.minecraft.network.chat.ChatType$Bound
net.minecraft.class_2556$class_7602
net.minecraft.network.message.MessageType$Parameters
net.minecraft.network.chat.ChatMessageType$a

Field summary

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

Constructor summary

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

Method summary

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