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
named net/minecraft/client/util/InputUtil$Key
intermediary net/minecraft/class_3675$class_306
official eyv$a
  • Field Details

    • KEYS

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

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

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

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

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

    • Key

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

    • getCategory

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

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

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

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object