keybind_config manifest entry is used to define how each keybind behaves and to register persistent inventory buttons.
⚙️ Configuration Properties
Global Settings
Configuration for the Swap Hand (F) key.
Configuration for the Drop Item (Q) key.
Configuration for the Advancements (L) key.
Collection of persistent buttons to place in the inventory or crafting grid.
KeyBindSettings Object
Used for swapHand, dropItem, and advancements.
| Field | Type | Description |
|---|---|---|
enabled | Boolean | Whether the handler is active. |
cancelAction | Boolean | If true, the vanilla action (e.g. swapping items) is cancelled. |
actions | List<Ref<Action>> | Actions to execute when the key is pressed. |
delay | Long | Execution delay in server ticks (default: 0). |
InventoryButton Object
Defines a persistent button.
| Field | Type | Description |
|---|---|---|
slot | Int | Inventory slot ID where the button is placed. |
item | Var<Item> | The item stack configuration to display as a button. |
actions | List<Ref<Action>> | Actions triggered when clicking the button. |
delay | Long | Execution delay in server ticks. |
isCraftingGrid | Boolean | If true, the slot refers to the crafting grid IDs (0-4). |