Uses of Enum Class
net.minecraft.client.gui.screen.narration.NarrationPart
Package
Description
Contains the screen narrator for building
narration messages.
-
Uses of NarrationPart in net.minecraft.client.gui.screen.narration
Modifier and TypeFieldDescription(package private) final NarrationPart
ScreenNarrator.PartIndex.part
Modifier and TypeMethodDescriptionstatic NarrationPart
Returns the enum constant of this class with the specified name.static NarrationPart[]
NarrationPart.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault void
NarrationMessageBuilder.put
(NarrationPart part, String string) Adds a string narration to this message builder.void
NarrationMessageBuilder.put
(NarrationPart part, Narration<?> narration) Adds a narration to this message builder.default void
NarrationMessageBuilder.put
(NarrationPart part, Text text) Adds aText
narration to this message builder.default void
NarrationMessageBuilder.put
(NarrationPart part, Text[] texts) Adds an array ofText
narrations to this message builder.void
ScreenNarrator.MessageBuilder.put
(NarrationPart part, Narration<?> narration) Adds a narration to this message builder.