Enum Class LockButtonWidget.Icon

java.lang.Object
java.lang.Enum<LockButtonWidget.Icon>
net.minecraft.client.gui.widget.LockButtonWidget.Icon
All Implemented Interfaces:
Serializable, Comparable<LockButtonWidget.Icon>, Constable
Enclosing class:
LockButtonWidget

@Environment(CLIENT) private static enum LockButtonWidget.Icon extends Enum<LockButtonWidget.Icon>
Mappings:
Namespace Name
official etg$a
intermediary net/minecraft/class_347$class_348
named net/minecraft/client/gui/widget/LockButtonWidget$Icon
  • Enum Constant Details

    • LOCKED

      public static final LockButtonWidget.Icon LOCKED
      Mappings:
      Namespace Name Mixin selector
      official a Letg$a;a:Letg$a;
      intermediary field_2137 Lnet/minecraft/class_347$class_348;field_2137:Lnet/minecraft/class_347$class_348;
      named LOCKED Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;LOCKED:Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;
    • LOCKED_HOVER

      public static final LockButtonWidget.Icon LOCKED_HOVER
      Mappings:
      Namespace Name Mixin selector
      official b Letg$a;b:Letg$a;
      intermediary field_2138 Lnet/minecraft/class_347$class_348;field_2138:Lnet/minecraft/class_347$class_348;
      named LOCKED_HOVER Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;LOCKED_HOVER:Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;
    • LOCKED_DISABLED

      public static final LockButtonWidget.Icon LOCKED_DISABLED
      Mappings:
      Namespace Name Mixin selector
      official c Letg$a;c:Letg$a;
      intermediary field_2139 Lnet/minecraft/class_347$class_348;field_2139:Lnet/minecraft/class_347$class_348;
      named LOCKED_DISABLED Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;LOCKED_DISABLED:Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;
    • UNLOCKED

      public static final LockButtonWidget.Icon UNLOCKED
      Mappings:
      Namespace Name Mixin selector
      official d Letg$a;d:Letg$a;
      intermediary field_2132 Lnet/minecraft/class_347$class_348;field_2132:Lnet/minecraft/class_347$class_348;
      named UNLOCKED Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;UNLOCKED:Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;
    • UNLOCKED_HOVER

      public static final LockButtonWidget.Icon UNLOCKED_HOVER
      Mappings:
      Namespace Name Mixin selector
      official e Letg$a;e:Letg$a;
      intermediary field_2133 Lnet/minecraft/class_347$class_348;field_2133:Lnet/minecraft/class_347$class_348;
      named UNLOCKED_HOVER Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;UNLOCKED_HOVER:Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;
    • UNLOCKED_DISABLED

      public static final LockButtonWidget.Icon UNLOCKED_DISABLED
      Mappings:
      Namespace Name Mixin selector
      official f Letg$a;f:Letg$a;
      intermediary field_2140 Lnet/minecraft/class_347$class_348;field_2140:Lnet/minecraft/class_347$class_348;
      named UNLOCKED_DISABLED Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;UNLOCKED_DISABLED:Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;
  • Field Details

    • texture

      final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      official g Letg$a;g:Laew;
      intermediary field_45362 Lnet/minecraft/class_347$class_348;field_45362:Lnet/minecraft/class_2960;
      named texture Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;texture:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • Icon

      private Icon(Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letg$a;<init>(Ljava/lang/String;ILaew;)V
      intermediary <init> Lnet/minecraft/class_347$class_348;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/client/gui/widget/LockButtonWidget$Icon;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;)V
  • Method Details

    • values

      public static LockButtonWidget.Icon[] 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 LockButtonWidget.Icon 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