Class KeyBindingMap
- java.lang.Object
-
- net.minecraftforge.client.settings.KeyBindingMap
-
public class KeyBindingMap extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.EnumMap<KeyModifier,java.util.Map<InputMappings.Input,java.util.Collection<KeyBinding>>>
map
-
Constructor Summary
Constructors Constructor Description KeyBindingMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addKey(InputMappings.Input keyCode, KeyBinding keyBinding)
void
clearMap()
private KeyBinding
getBinding(InputMappings.Input keyCode, KeyModifier keyModifier)
KeyBinding
lookupActive(InputMappings.Input keyCode)
java.util.List<KeyBinding>
lookupAll(InputMappings.Input keyCode)
void
removeKey(KeyBinding keyBinding)
-
-
-
Field Detail
-
map
private static final java.util.EnumMap<KeyModifier,java.util.Map<InputMappings.Input,java.util.Collection<KeyBinding>>> map
-
-
Method Detail
-
lookupActive
@Nullable public KeyBinding lookupActive(InputMappings.Input keyCode)
-
getBinding
@Nullable private KeyBinding getBinding(InputMappings.Input keyCode, KeyModifier keyModifier)
-
lookupAll
public java.util.List<KeyBinding> lookupAll(InputMappings.Input keyCode)
-
addKey
public void addKey(InputMappings.Input keyCode, KeyBinding keyBinding)
-
removeKey
public void removeKey(KeyBinding keyBinding)
-
clearMap
public void clearMap()
-
-