net.minecraft.network.chat

public record ChatType

xr
net.minecraft.network.chat.ChatType
net.minecraft.class_2556
net.minecraft.network.message.MessageType
net.minecraft.network.chat.ChatMessageType

Field summary

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

Constructor summary

ModifierConstructor
public (ChatTypeDecoration arg0, ChatTypeDecoration arg1)

Method summary

Modifier and TypeMethod
private static ResourceKey<ChatType>
a(String arg0)
create(String arg0)
method_43845(String arg0)
register(String id)
public static void
a(rk<xr> arg0)
bootstrap(BootstrapContext<ChatType> arg0)
method_43844(class_7891<class_2556> arg0)
bootstrap(Registerable<MessageType> messageTypeRegisterable)
public static ChatType$Bound
a(aly<xr> arg0, bvk arg1)
bind(ResourceKey<ChatType> arg0, Entity arg1)
method_44832(class_5321<class_2556> arg0, class_1297 arg1)
params(RegistryKey<MessageType> typeKey, Entity entity)
public static ChatType$Bound
a(aly<xr> arg0, ew arg1)
bind(ResourceKey<ChatType> arg0, CommandSourceStack arg1)
method_44833(class_5321<class_2556> arg0, class_2168 arg1)
params(RegistryKey<MessageType> typeKey, ServerCommandSource source)
public static ChatType$Bound
a(aly<xr> arg0, ke arg1, xv 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)
public ChatTypeDecoration
a()
chat()
comp_792()
chat()
public ChatTypeDecoration
b()
narration()
comp_794()
narration()