net.minecraft.network.chat

public record ChatType$Bound

wl$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(wp arg0)
decorate(Component arg0)
method_44837(class_2561 arg0)
applyChatDecoration(Text content)
public Component
b(wp arg0)
decorateNarration(Component arg0)
method_44838(class_2561 arg0)
applyNarrationDecoration(Text content)
public ChatType$Bound
c(wp 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()