Uses of Record Class
net.minecraft.network.message.MessageType
Packages that use MessageType
-
Uses of MessageType in net.minecraft.network.message
Fields in net.minecraft.network.message declared as MessageTypeModifier and TypeFieldDescriptionprivate final MessageType
MessageType.Parameters.type
The field for thetype
record component.Fields in net.minecraft.network.message with type parameters of type MessageTypeModifier 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.Methods in net.minecraft.network.message that return MessageTypeModifier and TypeMethodDescriptionMessageType.Parameters.type()
Returns the value of thetype
record component.Methods in net.minecraft.network.message that return types with arguments of type MessageTypeMethod parameters in net.minecraft.network.message with type arguments of type MessageTypeModifier 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) Constructors in net.minecraft.network.message with parameters of type MessageTypeModifierConstructorDescription(package private)
Parameters
(MessageType type, Text name) Parameters
(MessageType messageType, Text text, @Nullable Text text2) -
Uses of MessageType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type MessageTypeModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<MessageType>>
RegistryKeys.MESSAGE_TYPE