Uses of Class
net.minecraft.client.gui.screen.narration.Narration
Package
Description
Contains the screen narrator for building
narration messages.
-
Uses of Narration in net.minecraft.client.gui.screen.narration
Modifier and TypeFieldDescriptionstatic final Narration<?>
Narration.EMPTY
An empty narration that contains no sentences.(package private) Narration<?>
ScreenNarrator.Message.narration
Modifier and TypeMethodDescriptionstatic Narration<?>
Creates a narration from a single string sentence.static Narration<?>
Creates a narration from a singleText
sentence.static Narration<?>
Creates a narration from a list ofText
sentences.Modifier and TypeMethodDescriptionvoid
NarrationMessageBuilder.put
(NarrationPart part, Narration<?> narration) Adds a narration to this message builder.void
ScreenNarrator.MessageBuilder.put
(NarrationPart part, Narration<?> narration) Adds a narration to this message builder.ScreenNarrator.Message.setNarration
(int index, Narration<?> narration)