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 official eso
intermediary net/minecraft/class_6381
named net/minecraft/client/gui/screen/narration/NarrationPart
-
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 official a
Leso;a:Leso;
intermediary field_33788
Lnet/minecraft/class_6381;field_33788:Lnet/minecraft/class_6381;
named TITLE
Lnet/minecraft/client/gui/screen/narration/NarrationPart;TITLE:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
-
POSITION
The position of a narrated element in a container such as a list.- Mappings:
Namespace Name Mixin selector official b
Leso;b:Leso;
intermediary field_33789
Lnet/minecraft/class_6381;field_33789:Lnet/minecraft/class_6381;
named POSITION
Lnet/minecraft/client/gui/screen/narration/NarrationPart;POSITION:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
-
HINT
A hint for a narrated element, e.g. a button tooltip.- Mappings:
Namespace Name Mixin selector official c
Leso;c:Leso;
intermediary field_33790
Lnet/minecraft/class_6381;field_33790:Lnet/minecraft/class_6381;
named HINT
Lnet/minecraft/client/gui/screen/narration/NarrationPart;HINT:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
-
USAGE
Usage instructions for a narrated element.- Mappings:
Namespace Name Mixin selector official d
Leso;d:Leso;
intermediary field_33791
Lnet/minecraft/class_6381;field_33791:Lnet/minecraft/class_6381;
named USAGE
Lnet/minecraft/client/gui/screen/narration/NarrationPart;USAGE:Lnet/minecraft/client/gui/screen/narration/NarrationPart;
-
-
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
-