net.minecraft.client

public class KeyMapping

implements Comparable<KeyMapping>

efs
net.minecraft.client.KeyMapping
net.minecraft.class_304
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
KEYS_BY_ID
f_90809_
private static final Map<InputConstants$Key, KeyMapping>
i
MAP
field_1658
KEY_TO_BINDINGS
f_90810_
private static final Set<String>
j
CATEGORIES
field_1652
KEY_CATEGORIES
f_90811_
public static final String
a
CATEGORY_MOVEMENT
field_32136
MOVEMENT_CATEGORY
f_167805_
public static final String
b
CATEGORY_MISC
field_32137
MISC_CATEGORY
f_167806_
public static final String
c
CATEGORY_MULTIPLAYER
field_32138
MULTIPLAYER_CATEGORY
f_167807_
public static final String
d
CATEGORY_GAMEPLAY
field_32139
GAMEPLAY_CATEGORY
f_167808_
public static final String
e
CATEGORY_INVENTORY
field_32140
INVENTORY_CATEGORY
f_167809_
public static final String
f
CATEGORY_INTERFACE
field_32141
UI_CATEGORY
f_167810_
public static final String
g
CATEGORY_CREATIVE
field_32142
CREATIVE_CATEGORY
f_167811_
private static final Map<String, Integer>
k
CATEGORY_SORT_ORDER
field_1656
CATEGORY_ORDER_MAP
f_90812_
private final String
l
name
field_1660
translationKey
f_90813_
private final InputConstants$Key
m
defaultKey
field_1654
defaultKey
f_90814_
private final String
n
category
field_1659
category
f_90815_
private InputConstants$Key
o
key
field_1655
boundKey
f_90816_
private boolean
p
isDown
field_1653
pressed
f_90817_
private int
q
clickCount
field_1661
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(dzk$a arg0)
click(InputConstants$Key arg0)
method_1420(class_3675$class_306 arg0)
onKeyPressed(InputUtil$Key key)
m_90835_(C_3142_ p_90836_)
public static void
a(dzk$a arg0, boolean arg1)
set(InputConstants$Key arg0, boolean arg1)
method_1416(class_3675$class_306 arg0, boolean arg1)
setKeyPressed(InputUtil$Key key, boolean pressed)
m_90837_(C_3142_ p_90838_, boolean p_90839_)
public static void
a()
setAll()
method_1424()
updatePressedStates()
m_90829_()
public static void
b()
releaseAll()
method_1437()
unpressAll()
m_90847_()
public static void
c()
resetMapping()
method_1426()
updateKeysByCode()
m_90854_()
public boolean
d()
isDown()
method_1434()
isPressed()
m_90857_()
public String
e()
getCategory()
method_1423()
getCategory()
m_90858_()
public boolean
f()
consumeClick()
method_1436()
wasPressed()
m_90859_()
private void
m()
release()
method_1425()
reset()
m_90866_()
public String
g()
getName()
method_1431()
getTranslationKey()
m_90860_()
public InputConstants$Key
h()
getDefaultKey()
method_1429()
getDefaultKey()
m_90861_()
public void
b(dzk$a arg0)
setKey(InputConstants$Key arg0)
method_1422(class_3675$class_306 arg0)
setBoundKey(InputUtil$Key boundKey)
m_90848_(C_3142_ arg0)
public int
a(efs arg0)
compareTo(KeyMapping arg0)
method_1430(class_304 arg0)
compareTo(KeyBinding arg0)
compareTo(C_3387_ arg0)
public static Supplier<Component>
a(String arg0)
createNameSupplier(String arg0)
method_1419(String arg0)
getLocalizedName(String id)
m_90842_(String p_90843_)
public boolean
b(efs arg0)
same(KeyMapping arg0)
method_1435(class_304 arg0)
equals(KeyBinding other)
m_90850_(C_3387_ arg0)
public boolean
i()
isUnbound()
method_1415()
isUnbound()
m_90862_()
public boolean
a(int arg0, int arg1)
matches(int arg0, int arg1)
method_1417(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)
matchesMouse(int code)
m_90830_(int arg0)
public Component
j()
getTranslatedKeyMessage()
method_16007()
getBoundKeyLocalizedText()
m_90863_()
public boolean
k()
isDefault()
method_1427()
isDefault()
m_90864_()
public String
l()
saveString()
method_1428()
getBoundKeyTranslationKey()
m_90865_()
public void
a(boolean arg0)
setDown(boolean arg0)
method_23481(boolean arg0)
setPressed(boolean pressed)
m_7249_(boolean arg0)