net.minecraft.client

public class KeyMapping

implements Comparable<KeyMapping>

cxz
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
keysByCode
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
id
field_74515_c
private final InputConstants$Key
f
defaultKey
field_1654
defaultKeyCode
field_151472_e
private final String
g
category
field_1659
category
field_151471_f
private InputConstants$Key
h
key
field_1655
keyCode
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 id, int keyCode, String category)
public (String id, InputConstants$Type type, int code, String category)

Method summary

Modifier and TypeMethod
public static void
a(cue$a arg0)
click(InputConstants$Key arg0)
method_1420(class_3675$class_306 arg0)
onKeyPressed(InputUtil$KeyCode keyCode)
func_197981_a(InputMappings$Input arg0)
public static void
a(cue$a arg0, boolean arg1)
set(InputConstants$Key arg0, boolean arg1)
method_1416(class_3675$class_306 arg0, boolean arg1)
setKeyPressed(InputUtil$KeyCode 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()
getId()
func_151464_g()
public InputConstants$Key
h()
getDefaultKey()
method_1429()
getDefaultKeyCode()
func_197977_i()
public void
b(cue$a arg0)
setKey(InputConstants$Key arg0)
method_1422(class_3675$class_306 arg0)
setKeyCode(InputUtil$KeyCode arg0)
func_197979_b(InputMappings$Input arg0)
public int
a(cxz arg0)
compareTo(KeyMapping arg0)
method_1430(class_304 arg0)
compareTo(KeyBinding arg0)
compareTo(KeyBinding arg0)
public static Supplier<String>
a(String arg0)
createNameSupplier(String arg0)
method_1419(String arg0)
getLocalizedName(String id)
func_193626_b(String arg0)
public boolean
b(cxz arg0)
same(KeyMapping arg0)
method_1435(class_304 arg0)
equals(KeyBinding arg0)
func_197983_b(KeyBinding arg0)
public boolean
i()
isUnbound()
method_1415()
isNotBound()
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 String
j()
getTranslatedKeyMessage()
method_16007()
getLocalizedName()
func_197978_k()
public boolean
k()
isDefault()
method_1427()
isDefault()
func_197985_l()
public String
l()
saveString()
method_1428()
getName()
func_197982_m()