Uses of Record Class
net.minecraft.network.message.MessageType
-
Uses of MessageType in net.minecraft.network.message
Modifier and TypeFieldDescriptionprivate final MessageType
MessageType.Parameters.type
The field for thetype
record component.Modifier and TypeFieldDescriptionstatic final RegistryKey<MessageType>
MessageType.CHAT
The registry key for the message type used bychat messages
.static final com.mojang.serialization.Codec<MessageType>
MessageType.CODEC
static final RegistryKey<MessageType>
MessageType.EMOTE_COMMAND
The registry key for the emote command message type, used by /me.static final RegistryKey<MessageType>
MessageType.MSG_COMMAND_INCOMING
The registry key for the incoming message command message type, used by /msg.static final RegistryKey<MessageType>
MessageType.MSG_COMMAND_OUTGOING
The registry key for the outgoing message command message type, used by /msg.static final RegistryKey<MessageType>
MessageType.SAY_COMMAND
The registry key for the say command message type, used by /say.static final RegistryKey<MessageType>
MessageType.TEAM_MSG_COMMAND_INCOMING
The registry key for the incoming team message command message type, used by /teammsg.static final RegistryKey<MessageType>
MessageType.TEAM_MSG_COMMAND_OUTGOING
The registry key for the outgoing team message command message type, used by /teammsg.Modifier and TypeMethodDescriptionMessageType.Parameters.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionstatic void
MessageType.bootstrap
(Registerable<MessageType> messageTypeRegisterable) static MessageType.Parameters
MessageType.params
(RegistryKey<MessageType> typeKey, Entity entity) static MessageType.Parameters
MessageType.params
(RegistryKey<MessageType> typeKey, DynamicRegistryManager registryManager, Text name) static MessageType.Parameters
MessageType.params
(RegistryKey<MessageType> typeKey, ServerCommandSource source) ModifierConstructorDescription(package private)
Parameters
(MessageType type, Text name) Parameters
(MessageType messageType, Text text, @Nullable Text text2) -
Uses of MessageType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<MessageType>>
RegistryKeys.MESSAGE_TYPE