Package net.minecraft.client.gui.screen
Enum Class ChatScreen.CloseReason
- All Implemented Interfaces:
Serializable,Comparable<ChatScreen.CloseReason>,Constable
- Enclosing class:
ChatScreen
@Environment(CLIENT)
protected static enum ChatScreen.CloseReason
extends Enum<ChatScreen.CloseReason>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ChatScreen$CloseReasonintermediary net/minecraft/class_408$class_11739official glg$b
-
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 ChatScreen.CloseReasonReturns the enum constant of this class with the specified name.static ChatScreen.CloseReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTENTIONAL
- Mappings:
Namespace Name Mixin selector named INTENTIONALLnet/minecraft/client/gui/screen/ChatScreen$CloseReason;INTENTIONAL:Lnet/minecraft/client/gui/screen/ChatScreen$CloseReason;intermediary field_62015Lnet/minecraft/class_408$class_11739;field_62015:Lnet/minecraft/class_408$class_11739;official aLglg$b;a:Lglg$b;
-
INTERRUPTED
- Mappings:
Namespace Name Mixin selector named INTERRUPTEDLnet/minecraft/client/gui/screen/ChatScreen$CloseReason;INTERRUPTED:Lnet/minecraft/client/gui/screen/ChatScreen$CloseReason;intermediary field_62016Lnet/minecraft/class_408$class_11739;field_62016:Lnet/minecraft/class_408$class_11739;official bLglg$b;b:Lglg$b;
-
DONE
- Mappings:
Namespace Name Mixin selector named DONELnet/minecraft/client/gui/screen/ChatScreen$CloseReason;DONE:Lnet/minecraft/client/gui/screen/ChatScreen$CloseReason;intermediary field_62017Lnet/minecraft/class_408$class_11739;field_62017:Lnet/minecraft/class_408$class_11739;official cLglg$b;c:Lglg$b;
-
-
Constructor Details
-
CloseReason
private CloseReason()
-
-
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
-