Package net.minecraft.client.util
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 dkt$a
intermediary net/minecraft/class_3675$class_306
named net/minecraft/client/util/InputUtil$Key
-
Field Summary
Fields Modifier and Type Field Description private int
code
private static Map<String,InputUtil.Key>
KEYS
private Lazy<Text>
localizedText
private String
translationKey
private InputUtil.Type
type
-
Constructor Summary
Constructors Modifier Constructor Description private
Key(String translationKey, InputUtil.Type type, int code)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object other)
InputUtil.Type
getCategory()
int
getCode()
Text
getLocalizedText()
String
getTranslationKey()
int
hashCode()
OptionalInt
toInt()
String
toString()
-
Field Details
-
KEYS
- Mappings:
Namespace Name Mixin selector official e
Ldkt$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
- Mappings:
Namespace Name Mixin selector official a
Ldkt$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
- Mappings:
Namespace Name Mixin selector official b
Ldkt$a;b:Ldkt$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
Ldkt$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
- Mappings:
Namespace Name Mixin selector official d
Ldkt$a;d:Lafz;
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
- Mappings:
Namespace Name Mixin selector official <init>
Ldkt$a;<init>(Ljava/lang/String;Ldkt$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
- Mappings:
Namespace Name Mixin selector official a
Ldkt$a;a()Ldkt$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
Ldkt$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
- Mappings:
Namespace Name Mixin selector official c
Ldkt$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
- Mappings:
Namespace Name Mixin selector official d
Ldkt$a;d()Loi;
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
- Mappings:
Namespace Name Mixin selector official e
Ldkt$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
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Ldkt$a;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_3675$class_306;toString()Ljava/lang/String;
named toString
Lnet/minecraft/client/util/InputUtil$Key;toString()Ljava/lang/String;
-