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 named net/minecraft/client/gui/Selectable$SelectionType
intermediary net/minecraft/class_6379$class_6380
official fla$a
-
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 named NONE
Lnet/minecraft/client/gui/Selectable$SelectionType;NONE:Lnet/minecraft/client/gui/Selectable$SelectionType;
intermediary field_33784
Lnet/minecraft/class_6379$class_6380;field_33784:Lnet/minecraft/class_6379$class_6380;
official a
Lfla$a;a:Lfla$a;
-
HOVERED
- Mappings:
Namespace Name Mixin selector named HOVERED
Lnet/minecraft/client/gui/Selectable$SelectionType;HOVERED:Lnet/minecraft/client/gui/Selectable$SelectionType;
intermediary field_33785
Lnet/minecraft/class_6379$class_6380;field_33785:Lnet/minecraft/class_6379$class_6380;
official b
Lfla$a;b:Lfla$a;
-
FOCUSED
- Mappings:
Namespace Name Mixin selector named FOCUSED
Lnet/minecraft/client/gui/Selectable$SelectionType;FOCUSED:Lnet/minecraft/client/gui/Selectable$SelectionType;
intermediary field_33786
Lnet/minecraft/class_6379$class_6380;field_33786:Lnet/minecraft/class_6379$class_6380;
official c
Lfla$a;c:Lfla$a;
-
-
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 named isFocused
Lnet/minecraft/client/gui/Selectable$SelectionType;isFocused()Z
intermediary method_37028
Lnet/minecraft/class_6379$class_6380;method_37028()Z
official a
Lfla$a;a()Z
-