Class InputUtil.Key

java.lang.Object
net.minecraft.client.util.InputUtil.Key
Enclosing class:
InputUtil

@Environment(CLIENT) public static final class InputUtil.Key extends Object
Mappings:
Namespace Name
official ecy$a
intermediary net/minecraft/class_3675$class_306
named net/minecraft/client/util/InputUtil$Key
  • Field Details

    • KEYS

      static final Map<String,InputUtil.Key> KEYS
      Mappings:
      Namespace Name Mixin selector
      official e Lecy$a;e:Ljava/util/Map;
      intermediary field_1664 Lnet/minecraft/class_3675$class_306;field_1664:Ljava/util/Map;
      named KEYS Lnet/minecraft/client/util/InputUtil$Key;KEYS:Ljava/util/Map;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official a Lecy$a;a:Ljava/lang/String;
      intermediary field_1663 Lnet/minecraft/class_3675$class_306;field_1663:Ljava/lang/String;
      named translationKey Lnet/minecraft/client/util/InputUtil$Key;translationKey:Ljava/lang/String;
    • type

      private final InputUtil.Type type
      Mappings:
      Namespace Name Mixin selector
      official b Lecy$a;b:Lecy$b;
      intermediary field_1666 Lnet/minecraft/class_3675$class_306;field_1666:Lnet/minecraft/class_3675$class_307;
      named type Lnet/minecraft/client/util/InputUtil$Key;type:Lnet/minecraft/client/util/InputUtil$Type;
    • code

      private final int code
      Mappings:
      Namespace Name Mixin selector
      official c Lecy$a;c:I
      intermediary field_1665 Lnet/minecraft/class_3675$class_306;field_1665:I
      named code Lnet/minecraft/client/util/InputUtil$Key;code:I
    • localizedText

      private final Lazy<Text> localizedText
      Mappings:
      Namespace Name Mixin selector
      official d Lecy$a;d:Lanx;
      intermediary field_24196 Lnet/minecraft/class_3675$class_306;field_24196:Lnet/minecraft/class_3528;
      named localizedText Lnet/minecraft/client/util/InputUtil$Key;localizedText:Lnet/minecraft/util/Lazy;
  • Constructor Details

    • Key

      Key(String translationKey, InputUtil.Type type, int code)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lecy$a;<init>(Ljava/lang/String;Lecy$b;I)V
      intermediary <init> Lnet/minecraft/class_3675$class_306;<init>(Ljava/lang/String;Lnet/minecraft/class_3675$class_307;I)V
      named <init> Lnet/minecraft/client/util/InputUtil$Key;<init>(Ljava/lang/String;Lnet/minecraft/client/util/InputUtil$Type;I)V
  • Method Details

    • getCategory

      public InputUtil.Type getCategory()
      Mappings:
      Namespace Name Mixin selector
      official a Lecy$a;a()Lecy$b;
      intermediary method_1442 Lnet/minecraft/class_3675$class_306;method_1442()Lnet/minecraft/class_3675$class_307;
      named getCategory Lnet/minecraft/client/util/InputUtil$Key;getCategory()Lnet/minecraft/client/util/InputUtil$Type;
    • getCode

      public int getCode()
      Mappings:
      Namespace Name Mixin selector
      official b Lecy$a;b()I
      intermediary method_1444 Lnet/minecraft/class_3675$class_306;method_1444()I
      named getCode Lnet/minecraft/client/util/InputUtil$Key;getCode()I
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official c Lecy$a;c()Ljava/lang/String;
      intermediary method_1441 Lnet/minecraft/class_3675$class_306;method_1441()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/client/util/InputUtil$Key;getTranslationKey()Ljava/lang/String;
    • getLocalizedText

      public Text getLocalizedText()
      Mappings:
      Namespace Name Mixin selector
      official d Lecy$a;d()Lss;
      intermediary method_27445 Lnet/minecraft/class_3675$class_306;method_27445()Lnet/minecraft/class_2561;
      named getLocalizedText Lnet/minecraft/client/util/InputUtil$Key;getLocalizedText()Lnet/minecraft/text/Text;
    • toInt

      public OptionalInt toInt()
      Mappings:
      Namespace Name Mixin selector
      official e Lecy$a;e()Ljava/util/OptionalInt;
      intermediary method_30103 Lnet/minecraft/class_3675$class_306;method_30103()Ljava/util/OptionalInt;
      named toInt Lnet/minecraft/client/util/InputUtil$Key;toInt()Ljava/util/OptionalInt;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lecy$a;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_3675$class_306;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/util/InputUtil$Key;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object