Interface IForgeKeybinding

    • Method Detail

      • getKeyBinding

        default KeyBinding getKeyBinding()
      • isActiveAndMatches

        default boolean isActiveAndMatches​(InputMappings.Input keyCode)
        Checks that the key conflict context and modifier are active, and that the keyCode matches this binding.
      • setToDefault

        default void setToDefault()
      • setKeyConflictContext

        void setKeyConflictContext​(IKeyConflictContext keyConflictContext)
      • getKeyModifierDefault

        KeyModifier getKeyModifierDefault()
      • isConflictContextAndModifierActive

        default boolean isConflictContextAndModifierActive()
      • hasKeyCodeModifierConflict

        default boolean hasKeyCodeModifierConflict​(KeyBinding other)
        Returns true when one of the bindings' key codes conflicts with the other's modifier.