net.minecraft.network.chat

public record ChatType

wv
net.minecraft.network.chat.ChatType
net.minecraft.class_2556
net.minecraft.network.message.MessageType
net.minecraft.src.C_4992_
net.minecraft.network.chat.ChatMessageType

Field summary

Modifier and TypeField
private final ChatTypeDecoration
l
chat
comp_792
chat
f_237011_
private final ChatTypeDecoration
m
narration
comp_794
narration
f_237013_
public static final com.mojang.serialization.Codec<ChatType>
a
DIRECT_CODEC
field_39227
CODEC
f_316491_
public static final StreamCodec<RegistryFriendlyByteBuf, ChatType>
b
DIRECT_STREAM_CODEC
field_51969
PACKET_CODEC
f_336908_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<ChatType>>
c
STREAM_CODEC
field_51970
ENTRY_PACKET_CODEC
f_336644_
public static final ChatTypeDecoration
d
DEFAULT_CHAT_DECORATION
field_39677
CHAT_TEXT_DECORATION
f_238668_
public static final ResourceKey<ChatType>
e
CHAT
field_11737
CHAT
f_130598_
public static final ResourceKey<ChatType>
f
SAY_COMMAND
field_39228
SAY_COMMAND
f_237006_
public static final ResourceKey<ChatType>
g
MSG_COMMAND_INCOMING
field_39799
MSG_COMMAND_INCOMING
f_240674_
public static final ResourceKey<ChatType>
h
MSG_COMMAND_OUTGOING
field_39800
MSG_COMMAND_OUTGOING
f_240668_
public static final ResourceKey<ChatType>
i
TEAM_MSG_COMMAND_INCOMING
field_39881
TEAM_MSG_COMMAND_INCOMING
f_241694_
public static final ResourceKey<ChatType>
j
TEAM_MSG_COMMAND_OUTGOING
field_39882
TEAM_MSG_COMMAND_OUTGOING
f_241626_
public static final ResourceKey<ChatType>
k
EMOTE_COMMAND
field_39231
EMOTE_COMMAND
f_237009_

Constructor summary

ModifierConstructor
public (ChatTypeDecoration narration, ChatTypeDecoration arg1)

Method summary

Modifier and TypeMethod
private static ResourceKey<ChatType>
a(String arg0)
create(String arg0)
method_43845(String arg0)
register(String id)
m_237023_(String p_237024_)
public static void
a(qq<wv> arg0)
bootstrap(BootstrapContext<ChatType> arg0)
method_43844(class_7891<class_2556> arg0)
bootstrap(Registerable<MessageType> messageTypeRegisterable)
m_237021_(C_313275_<C_4992_> p_335852_)
public static ChatType$Bound
a(akq<wv> arg0, bsr arg1)
bind(ResourceKey<ChatType> arg0, Entity arg1)
method_44832(class_5321<class_2556> arg0, class_1297 arg1)
params(RegistryKey<MessageType> typeKey, Entity entity)
m_240980_(C_5264_<C_4992_> p_241279_, C_507_ p_241483_)
public static ChatType$Bound
a(akq<wv> arg0, et arg1)
bind(ResourceKey<ChatType> arg0, CommandSourceStack arg1)
method_44833(class_5321<class_2556> arg0, class_2168 arg1)
params(RegistryKey<MessageType> typeKey, ServerCommandSource source)
m_241073_(C_5264_<C_4992_> p_241345_, C_2969_ p_241466_)
public static ChatType$Bound
a(akq<wv> arg0, ka arg1, wz arg2)
bind(ResourceKey<ChatType> arg0, RegistryAccess arg1, Component arg2)
method_44834(class_5321<class_2556> arg0, class_5455 arg1, class_2561 arg2)
params(RegistryKey<MessageType> typeKey, DynamicRegistryManager registryManager, Text name)
m_240968_(C_5264_<C_4992_> p_241284_, C_4706_ p_241373_, C_4996_ p_241455_)
public ChatTypeDecoration
a()
chat()
comp_792()
chat()
f_237011_()
public ChatTypeDecoration
b()
narration()
comp_794()
narration()
f_237013_()