Interface KeyBindingRegistry


@Deprecated public interface KeyBindingRegistry
Deprecated.
Please migrate to v1. Please use KeyBindingHelper instead.
Interface for registering key bindings.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final KeyBindingRegistry
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addCategory(String categoryName)
    Deprecated.
    Add a new key binding category.
    boolean
    Deprecated.
    Register a new key binding.
  • Field Details

  • Method Details

    • addCategory

      boolean addCategory(String categoryName)
      Deprecated.
      Add a new key binding category.
      Parameters:
      categoryName - The key binding category name.
      Returns:
      True if a new category was added.
    • register

      boolean register(FabricKeyBinding binding)
      Deprecated.
      Register a new key binding.
      Parameters:
      binding - The key binding.
      Returns:
      True if a new key binding was registered.