Modifier and Type | Field and Description |
---|---|
private int |
code |
private static Map<String,InputUtil.Key> |
KEYS |
private Lazy<Text> |
localizedText |
private String |
translationKey |
private InputUtil.Type |
type |
Modifier | Constructor and Description |
---|---|
private |
Key(String translationKey,
InputUtil.Type type,
int code) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
InputUtil.Type |
getCategory() |
int |
getCode() |
Text |
getLocalizedText() |
String |
getTranslationKey() |
int |
hashCode() |
OptionalInt |
method_30103() |
String |
toString() |
private static final Map<String,InputUtil.Key> KEYS
private final String translationKey
private final InputUtil.Type type
private final int code
private Key(String translationKey, InputUtil.Type type, int code)
public InputUtil.Type getCategory()
public int getCode()
public String getTranslationKey()
public Text getLocalizedText()
public OptionalInt method_30103()