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/NarrationPartintermediary net/minecraft/class_6381official fmh
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NarrationPartReturns 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 TITLELnet/minecraft/client/gui/screen/narration/NarrationPart;TITLE:Lnet/minecraft/client/gui/screen/narration/NarrationPart;intermediary field_33788Lnet/minecraft/class_6381;field_33788:Lnet/minecraft/class_6381;official aLfmh;a:Lfmh;
-
POSITION
The position of a narrated element in a container such as a list.- Mappings:
Namespace Name Mixin selector named POSITIONLnet/minecraft/client/gui/screen/narration/NarrationPart;POSITION:Lnet/minecraft/client/gui/screen/narration/NarrationPart;intermediary field_33789Lnet/minecraft/class_6381;field_33789:Lnet/minecraft/class_6381;official bLfmh;b:Lfmh;
-
HINT
A hint for a narrated element, e.g. a button tooltip.- Mappings:
Namespace Name Mixin selector named HINTLnet/minecraft/client/gui/screen/narration/NarrationPart;HINT:Lnet/minecraft/client/gui/screen/narration/NarrationPart;intermediary field_33790Lnet/minecraft/class_6381;field_33790:Lnet/minecraft/class_6381;official cLfmh;c:Lfmh;
-
USAGE
Usage instructions for a narrated element.- Mappings:
Namespace Name Mixin selector named USAGELnet/minecraft/client/gui/screen/narration/NarrationPart;USAGE:Lnet/minecraft/client/gui/screen/narration/NarrationPart;intermediary field_33791Lnet/minecraft/class_6381;field_33791:Lnet/minecraft/class_6381;official dLfmh;d:Lfmh;
-
-
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
-