Uses of Enum Class
net.minecraft.network.MessageType.NarrationRule.Kind
Packages that use MessageType.NarrationRule.Kind
-
Uses of MessageType.NarrationRule.Kind in net.minecraft.client.option
Methods in net.minecraft.client.option with parameters of type MessageType.NarrationRule.KindModifier and TypeMethodDescriptionbooleanNarratorMode.shouldNarrate(MessageType.NarrationRule.Kind kind) Returns whether a message from the server should be narrated, given the message type's narration kind. -
Uses of MessageType.NarrationRule.Kind in net.minecraft.network
Fields in net.minecraft.network declared as MessageType.NarrationRule.KindModifier and TypeFieldDescriptionprivate final MessageType.NarrationRule.KindMessageType.NarrationRule.kindThe field for thekindrecord component.Fields in net.minecraft.network with type parameters of type MessageType.NarrationRule.KindModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<MessageType.NarrationRule.Kind>MessageType.NarrationRule.Kind.CODECMethods in net.minecraft.network that return MessageType.NarrationRule.KindModifier and TypeMethodDescriptionMessageType.NarrationRule.kind()Returns the value of thekindrecord component.Returns the enum constant of this class with the specified name.static MessageType.NarrationRule.Kind[]MessageType.NarrationRule.Kind.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.network with parameters of type MessageType.NarrationRule.KindModifier and TypeMethodDescriptionstatic MessageType.NarrationRuleMessageType.NarrationRule.of(MessageType.NarrationRule.Kind priority) Returns the narration rule with no decoration and the specified kind.static MessageType.NarrationRuleMessageType.NarrationRule.of(Decoration decoration, MessageType.NarrationRule.Kind kind) Returns the narration rule with the specified decoration and kind.Constructors in net.minecraft.network with parameters of type MessageType.NarrationRule.KindModifierConstructorDescriptionNarrationRule(Optional<Decoration> optional, MessageType.NarrationRule.Kind kind)