Uses of Record Class
net.minecraft.network.MessageType.DisplayRule
Packages that use MessageType.DisplayRule
-
Uses of MessageType.DisplayRule in net.minecraft.network
Fields in net.minecraft.network with type parameters of type MessageType.DisplayRuleModifier and TypeFieldDescriptionprivate final Optional<MessageType.DisplayRule>MessageType.chatThe field for thechatrecord component.static final com.mojang.serialization.Codec<MessageType.DisplayRule>MessageType.DisplayRule.CODECThe codec for the message display rule.private final Optional<MessageType.DisplayRule>MessageType.overlayThe field for theoverlayrecord component.Methods in net.minecraft.network that return MessageType.DisplayRuleModifier and TypeMethodDescriptionstatic MessageType.DisplayRuleMessageType.DisplayRule.of()Returns a rule that displays a message's content directly.static MessageType.DisplayRuleMessageType.DisplayRule.of(MessageFormat format) Returns a rule to format the message.Methods in net.minecraft.network that return types with arguments of type MessageType.DisplayRuleModifier and TypeMethodDescriptionMessageType.chat()Returns the value of thechatrecord component.MessageType.overlay()Returns the value of theoverlayrecord component.Constructor parameters in net.minecraft.network with type arguments of type MessageType.DisplayRuleModifierConstructorDescriptionMessageType(Optional<MessageType.DisplayRule> optional, Optional<MessageType.DisplayRule> optional2, Optional<MessageType.NarrationRule> optional3)