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
official ewg$a
intermediary net/minecraft/class_6379$class_6380
named net/minecraft/client/gui/Selectable$SelectionType
  • Enum Constant Details

    • NONE

      public static final Selectable.SelectionType NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lewg$a;a:Lewg$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

      public static final Selectable.SelectionType HOVERED
      Mappings:
      Namespace Name Mixin selector
      official b Lewg$a;b:Lewg$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

      public static final Selectable.SelectionType FOCUSED
      Mappings:
      Namespace Name Mixin selector
      official c Lewg$a;c:Lewg$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

      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
      official a Lewg$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