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 dpg$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 Ldpg$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 Ldpg$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 Ldpg$a;b:Ldpg$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 Ldpg$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 Ldpg$a;d:Lagx;
      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> Ldpg$a;<init>(Ljava/lang/String;Ldpg$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 Ldpg$a;a()Ldpg$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 Ldpg$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 Ldpg$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 Ldpg$a;d()Los;
      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 Ldpg$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 Ldpg$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