public interface KeyBindingRegistry
KeyBinding
Modifier and Type | Field and Description |
---|---|
static KeyBindingRegistry |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
addCategory(String categoryName)
Add a new key binding category.
|
boolean |
register(FabricKeyBinding binding)
Register a new key binding.
|
static final KeyBindingRegistry INSTANCE
boolean addCategory(String categoryName)
categoryName
- The key binding category name.boolean register(FabricKeyBinding binding)
binding
- The key binding.