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.CODECprivate 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 the display rule with no decoration.static MessageType.DisplayRuleMessageType.DisplayRule.of(Decoration decoration) Returns the display rule with the specified decoration.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)