Package net.minecraft.client.gui
Enum Class Selectable.SelectionType
- All Implemented Interfaces:
Serializable
,Comparable<Selectable.SelectionType>
,Constable
- Enclosing interface:
Selectable
@Environment(CLIENT)
public static enum Selectable.SelectionType
extends Enum<Selectable.SelectionType>
- Mappings:
Namespace Name official eir$a
intermediary net/minecraft/class_6379$class_6380
named net/minecraft/client/gui/Selectable$SelectionType
-
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 TypeMethodDescriptionboolean
static Selectable.SelectionType
Returns the enum constant of this class with the specified name.static Selectable.SelectionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Leir$a;a:Leir$a;
intermediary field_33784
Lnet/minecraft/class_6379$class_6380;field_33784:Lnet/minecraft/class_6379$class_6380;
named NONE
Lnet/minecraft/client/gui/Selectable$SelectionType;NONE:Lnet/minecraft/client/gui/Selectable$SelectionType;
-
HOVERED
- Mappings:
Namespace Name Mixin selector official b
Leir$a;b:Leir$a;
intermediary field_33785
Lnet/minecraft/class_6379$class_6380;field_33785:Lnet/minecraft/class_6379$class_6380;
named HOVERED
Lnet/minecraft/client/gui/Selectable$SelectionType;HOVERED:Lnet/minecraft/client/gui/Selectable$SelectionType;
-
FOCUSED
- Mappings:
Namespace Name Mixin selector official c
Leir$a;c:Leir$a;
intermediary field_33786
Lnet/minecraft/class_6379$class_6380;field_33786:Lnet/minecraft/class_6379$class_6380;
named FOCUSED
Lnet/minecraft/client/gui/Selectable$SelectionType;FOCUSED:Lnet/minecraft/client/gui/Selectable$SelectionType;
-
-
Constructor Details
-
SelectionType
private SelectionType()
-
-
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
-
isFocused
public boolean isFocused()- Mappings:
Namespace Name Mixin selector official a
Leir$a;a()Z
intermediary method_37028
Lnet/minecraft/class_6379$class_6380;method_37028()Z
named isFocused
Lnet/minecraft/client/gui/Selectable$SelectionType;isFocused()Z
-