Enum Class NarrationPart
- All Implemented Interfaces:
Serializable
,Comparable<NarrationPart>
,Constable
A component of a narration message.
This enum is mostly used for grouping and ordering narrations in a narration
message.
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/narration/NarrationPart
intermediary net/minecraft/class_6381
official fsb
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NarrationPart
Returns the enum constant of this class with the specified name.static NarrationPart[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TITLE
The main narration for a narrated element.- Mappings:
Namespace Name Mixin selector named TITLE
Lnet/minecraft/client/gui/screen/narration/NarrationPart;TITLE:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
intermediary field_33788
Lnet/minecraft/class_6381;field_33788:Lnet/minecraft/class_6381;
official a
Lfsb;a:Lfsb;
-
POSITION
The position of a narrated element in a container such as a list.- Mappings:
Namespace Name Mixin selector named POSITION
Lnet/minecraft/client/gui/screen/narration/NarrationPart;POSITION:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
intermediary field_33789
Lnet/minecraft/class_6381;field_33789:Lnet/minecraft/class_6381;
official b
Lfsb;b:Lfsb;
-
HINT
A hint for a narrated element, e.g. a button tooltip.- Mappings:
Namespace Name Mixin selector named HINT
Lnet/minecraft/client/gui/screen/narration/NarrationPart;HINT:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
intermediary field_33790
Lnet/minecraft/class_6381;field_33790:Lnet/minecraft/class_6381;
official c
Lfsb;c:Lfsb;
-
USAGE
Usage instructions for a narrated element.- Mappings:
Namespace Name Mixin selector named USAGE
Lnet/minecraft/client/gui/screen/narration/NarrationPart;USAGE:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
intermediary field_33791
Lnet/minecraft/class_6381;field_33791:Lnet/minecraft/class_6381;
official d
Lfsb;d:Lfsb;
-
-
Constructor Details
-
NarrationPart
private NarrationPart()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-