Uses of Enum Class
net.minecraft.client.gui.screen.narration.NarrationPart
Packages that use NarrationPart
Package
Description
Contains the screen narrator for building
narration messages.
-
Uses of NarrationPart in net.minecraft.client.gui.screen.narration
Fields in net.minecraft.client.gui.screen.narration declared as NarrationPartModifier and TypeFieldDescriptionprivate final NarrationPartScreenNarrator.PartIndex.partThe field for thepartrecord component.Methods in net.minecraft.client.gui.screen.narration that return NarrationPartModifier and TypeMethodDescriptionScreenNarrator.PartIndex.part()Returns the value of thepartrecord component.static NarrationPartReturns 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.Methods in net.minecraft.client.gui.screen.narration with parameters of type NarrationPartModifier and TypeMethodDescriptiondefault voidNarrationMessageBuilder.put(NarrationPart part, String string) Adds a string narration to this message builder.voidNarrationMessageBuilder.put(NarrationPart part, Narration<?> narration) Adds a narration to this message builder.default voidNarrationMessageBuilder.put(NarrationPart part, Text text) Adds aTextnarration to this message builder.default voidNarrationMessageBuilder.put(NarrationPart part, Text[] texts) Adds an array ofTextnarrations to this message builder.voidScreenNarrator.MessageBuilder.put(NarrationPart part, Narration<?> narration) Adds a narration to this message builder.Constructors in net.minecraft.client.gui.screen.narration with parameters of type NarrationPartModifierConstructorDescription(package private)PartIndex(NarrationPart part, int depth) Creates an instance of aPartIndexrecord class.