Enum Class Selectable.SelectionType

java.lang.Object
java.lang.Enum<Selectable.SelectionType>
net.minecraft.client.gui.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
  • Enum Constant Details

    • NONE

      public static final Selectable.SelectionType 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

      public static final Selectable.SelectionType 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

      public static final Selectable.SelectionType 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

      public static Selectable.SelectionType[] 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

      public static Selectable.SelectionType valueOf(String name)
      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 name
      NullPointerException - 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