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
-
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
method_30103()
String
toString()
-
Field Details
-
KEYS
-
translationKey
-
type
-
code
private final int code -
localizedText
-
-
Constructor Details
-
Key
-
-
Method Details