net.minecraft.client

public class KeyMapping

implements Comparable<KeyMapping>

dlu
net.minecraft.client.KeyMapping
net.minecraft.class_304
net.minecraft.client.options.KeyBinding
net.minecraft.client.settings.KeyBinding

Field summary

Modifier and TypeField
private static final Map<String, KeyMapping>
a
ALL
field_1657
keysById
field_74516_a
private static final Map<InputConstants$Key, KeyMapping>
b
MAP
field_1658
keyToBindings
field_74514_b
private static final Set<String>
c
CATEGORIES
field_1652
keyCategories
field_151473_c
private static final Map<String, Integer>
d
CATEGORY_SORT_ORDER
field_1656
categoryOrderMap
field_193627_d
private final String
e
name
field_1660
translationKey
field_74515_c
private final InputConstants$Key
f
defaultKey
field_1654
defaultKey
field_151472_e
private final String
g
category
field_1659
category
field_151471_f
private InputConstants$Key
h
key
field_1655
boundKey
field_74512_d
private boolean
i
isDown
field_1653
pressed
field_74513_e
private int
j
clickCount
field_1661
timesPressed
field_151474_i

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(dgn$a arg0)
click(InputConstants$Key arg0)
method_1420(class_3675$class_306 arg0)
onKeyPressed(InputUtil$Key key)
func_197981_a(InputMappings$Input arg0)
public static void
a(dgn$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)
func_197980_a(InputMappings$Input arg0, boolean arg1)
public static void
a()
setAll()
method_1424()
updatePressedStates()
func_186704_a()
public static void
b()
releaseAll()
method_1437()
unpressAll()
func_74506_a()
public static void
c()
resetMapping()
method_1426()
updateKeysByCode()
func_74508_b()
public boolean
d()
isDown()
method_1434()
isPressed()
func_151470_d()
public String
e()
getCategory()
method_1423()
getCategory()
func_151466_e()
public boolean
f()
consumeClick()
method_1436()
wasPressed()
func_151468_f()
private void
m()
release()
method_1425()
reset()
func_74505_d()
public String
g()
getName()
method_1431()
getTranslationKey()
func_151464_g()
public InputConstants$Key
h()
getDefaultKey()
method_1429()
getDefaultKey()
func_197977_i()
public void
b(dgn$a arg0)
setKey(InputConstants$Key arg0)
method_1422(class_3675$class_306 arg0)
setBoundKey(InputUtil$Key boundKey)
func_197979_b(InputMappings$Input arg0)
public int
a(dlu arg0)
compareTo(KeyMapping arg0)
method_1430(class_304 arg0)
compareTo(KeyBinding arg0)
compareTo(KeyBinding arg0)
public static Supplier<Component>
a(String arg0)
createNameSupplier(String arg0)
method_1419(String arg0)
getLocalizedName(String id)
func_193626_b(String arg0)
public boolean
b(dlu arg0)
same(KeyMapping arg0)
method_1435(class_304 arg0)
equals(KeyBinding other)
func_197983_b(KeyBinding arg0)
public boolean
i()
isUnbound()
method_1415()
isUnbound()
func_197986_j()
public boolean
a(int arg0, int arg1)
matches(int arg0, int arg1)
method_1417(int arg0, int arg1)
matchesKey(int keyCode, int scanCode)
func_197976_a(int arg0, int arg1)
public boolean
a(int arg0)
matchesMouse(int arg0)
method_1433(int arg0)
matchesMouse(int code)
func_197984_a(int arg0)
public Component
j()
getTranslatedKeyMessage()
method_16007()
getBoundKeyLocalizedText()
func_238171_j_()
public boolean
k()
isDefault()
method_1427()
isDefault()
func_197985_l()
public String
l()
saveString()
method_1428()
getBoundKeyTranslationKey()
func_197982_m()
public void
a(boolean arg0)
setDown(boolean arg0)
method_23481(boolean arg0)
setPressed(boolean pressed)
func_225593_a_(boolean arg0)