Uses of Record Class
net.minecraft.network.chat.ChatTypeDecoration
-
Uses of ChatTypeDecoration in net.minecraft.network.chat
Modifier and TypeFieldDescriptionprivate final ChatTypeDecoration
ChatType.chat
The field for thechat
record component.static final ChatTypeDecoration
ChatType.DEFAULT_CHAT_DECORATION
private final ChatTypeDecoration
ChatType.narration
The field for thenarration
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ChatTypeDecoration>
ChatTypeDecoration.CODEC
Modifier and TypeMethodDescriptionChatType.chat()
Returns the value of thechat
record component.static ChatTypeDecoration
ChatTypeDecoration.incomingDirectMessage
(String p_239425_) ChatType.narration()
Returns the value of thenarration
record component.static ChatTypeDecoration
ChatTypeDecoration.outgoingDirectMessage
(String p_240772_) static ChatTypeDecoration
ChatTypeDecoration.teamMessage
(String p_239095_) static ChatTypeDecoration
ChatTypeDecoration.withSender
(String p_239223_) ModifierConstructorDescriptionChatType
(ChatTypeDecoration chat, ChatTypeDecoration narration) Creates an instance of aChatType
record class. -
Uses of ChatTypeDecoration in net.minecraftforge.client
Modifier and TypeFieldDescriptionprivate static final ChatTypeDecoration
ForgeHooksClient.SYSTEM_CHAT_TYPE_DECORATION