net.minecraft.client

public class KeyMapping

implements Comparable<KeyMapping>

dxl
net.minecraft.client.KeyMapping
net.minecraft.class_304
net.minecraft.unmapped.C_sygikzty
net.minecraft.client.option.KeyBinding
net.minecraft.src.C_3387_

Field summary

Modifier and TypeField
private static final Map<String, KeyMapping>
h
ALL
field_1657
f_axzzilwx
KEYS_BY_ID
f_90809_
private static final Map<InputConstants$Key, KeyMapping>
i
MAP
field_1658
f_khpbnlde
KEY_TO_BINDINGS
f_90810_
private static final Set<String>
j
CATEGORIES
field_1652
f_ppynlrbj
KEY_CATEGORIES
f_90811_
public static final String
a
CATEGORY_MOVEMENT
field_32136
f_isrvhtqu
MOVEMENT_CATEGORY
f_167805_
public static final String
b
CATEGORY_MISC
field_32137
f_lzdjizfk
MISC_CATEGORY
f_167806_
public static final String
c
CATEGORY_MULTIPLAYER
field_32138
f_zbyhbkzm
MULTIPLAYER_CATEGORY
f_167807_
public static final String
d
CATEGORY_GAMEPLAY
field_32139
f_kcphxfdy
GAMEPLAY_CATEGORY
f_167808_
public static final String
e
CATEGORY_INVENTORY
field_32140
f_svgjbnwm
INVENTORY_CATEGORY
f_167809_
public static final String
f
CATEGORY_INTERFACE
field_32141
f_nayvtjco
UI_CATEGORY
f_167810_
public static final String
g
CATEGORY_CREATIVE
field_32142
f_zhfqtbav
CREATIVE_CATEGORY
f_167811_
private static final Map<String, Integer>
k
CATEGORY_SORT_ORDER
field_1656
f_frtwuquy
CATEGORY_ORDER_MAP
f_90812_
private final String
l
name
field_1660
f_dabvqpsd
translationKey
f_90813_
private final InputConstants$Key
m
defaultKey
field_1654
f_mcjktbbz
defaultKey
f_90814_
private final String
n
category
field_1659
f_pseqyjfw
category
f_90815_
private InputConstants$Key
o
key
field_1655
f_lmswahcj
boundKey
f_90816_
private boolean
p
isDown
field_1653
f_zfcgiyqi
pressed
f_90817_
private int
q
clickCount
field_1661
f_dynqxsuy
timesPressed
f_90818_

Constructor summary

ModifierConstructor
public (String translationKey, int code, String category)
public (String translationKey, InputConstants$Type type, int code, String category)

Method summary

Modifier and TypeMethod
public static void
a(drf$a arg0)
click(InputConstants$Key arg0)
method_1420(class_3675$class_306 arg0)
m_gvwjhavd(C_vdmgqzcl$C_smckmtvp arg0)
onKeyPressed(InputUtil$Key key)
m_90835_(C_3140_$C_3142_ p_90836_)
public static void
a(drf$a arg0, boolean arg1)
set(InputConstants$Key arg0, boolean arg1)
method_1416(class_3675$class_306 arg0, boolean arg1)
m_zmekjuap(C_vdmgqzcl$C_smckmtvp arg0, boolean arg1)
setKeyPressed(InputUtil$Key key, boolean pressed)
m_90837_(C_3140_$C_3142_ p_90838_, boolean p_90839_)
public static void
a()
setAll()
method_1424()
m_nbuirqvv()
updatePressedStates()
m_90829_()
public static void
b()
releaseAll()
method_1437()
m_godmkzch()
unpressAll()
m_90847_()
public static void
c()
resetMapping()
method_1426()
m_jmbdmqyl()
updateKeysByCode()
m_90854_()
public boolean
d()
isDown()
method_1434()
m_getjkdwe()
isPressed()
m_90857_()
public String
e()
getCategory()
method_1423()
m_xnsoxapo()
getCategory()
m_90858_()
public boolean
f()
consumeClick()
method_1436()
m_vnukpaip()
wasPressed()
m_90859_()
private void
m()
release()
method_1425()
m_dvvrqcxa()
reset()
m_90866_()
public String
g()
getName()
method_1431()
m_vakxsktj()
getTranslationKey()
m_90860_()
public InputConstants$Key
h()
getDefaultKey()
method_1429()
m_isuoshsj()
getDefaultKey()
m_90861_()
public void
b(drf$a arg0)
setKey(InputConstants$Key arg0)
method_1422(class_3675$class_306 arg0)
m_tffyxrzc(C_vdmgqzcl$C_smckmtvp arg0)
setBoundKey(InputUtil$Key boundKey)
m_90848_(C_3140_$C_3142_ arg0)
public int
a(dxl arg0)
compareTo(KeyMapping arg0)
method_1430(class_304 arg0)
m_sztkfjux(C_sygikzty arg0)
compareTo(KeyBinding arg0)
compareTo(C_3387_ arg0)
public static Supplier<Component>
a(String arg0)
createNameSupplier(String arg0)
method_1419(String arg0)
m_oicaydpw(String arg0)
getLocalizedName(String id)
m_90842_(String p_90843_)
public boolean
b(dxl arg0)
same(KeyMapping arg0)
method_1435(class_304 arg0)
m_qfyzbven(C_sygikzty arg0)
equals(KeyBinding other)
m_90850_(C_3387_ arg0)
public boolean
i()
isUnbound()
method_1415()
m_wstzqzzo()
isUnbound()
m_90862_()
public boolean
a(int arg0, int arg1)
matches(int arg0, int arg1)
method_1417(int arg0, int arg1)
m_vvqqomqn(int arg0, int arg1)
matchesKey(int keyCode, int scanCode)
m_90832_(int p_90834_, int arg1)
public boolean
a(int arg0)
matchesMouse(int arg0)
method_1433(int arg0)
m_blqmdugx(int arg0)
matchesMouse(int code)
m_90830_(int arg0)
public Component
j()
getTranslatedKeyMessage()
method_16007()
m_ktykqjqb()
getBoundKeyLocalizedText()
m_90863_()
public boolean
k()
isDefault()
method_1427()
m_fmzpyagn()
isDefault()
m_90864_()
public String
l()
saveString()
method_1428()
m_gaavbsyf()
getBoundKeyTranslationKey()
m_90865_()
public void
a(boolean arg0)
setDown(boolean arg0)
method_23481(boolean arg0)
m_hfuhalee(boolean arg0)
setPressed(boolean pressed)
m_7249_(boolean arg0)