No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
KubeJS KeyBinds
Expands upon KubeJS by allowing you to modify existing KeyBinds and Categories
KubeJS already offers custom KeyBinds, so this will not be added by this project.
Example client_scripts > keybinds.js
KeyBindExtendedEvents.modification(event => {
// List all existing KeyBinds
KeyBind.getKeyMappingNames().forEach(keyMapping => {
console.log('KeyMapping: ' + keyMapping);
});
// List all existing Categories
KeyBind.getKeyMappingCategories().forEach(category => {
console.log('Category: ' + category);
});
// List all acceptable Keys
KeyBind.getKeyNames().forEach(key => {
console.log('Key: ' + key);
});
// List all acceptable Key Modifiers
KeyBind.getKeyModifiers().forEach(modifier => {
console.log('Modifier: ' + modifier);
});
// Remove the KeyBind from the game
// void remove(string keyName);
event.remove('key.saveToolbarActivator');
event.remove('key.loadToolbarActivator');
// Set the default KeyBind
// void setDefaultKey(string keyName, string key);
event.setDefaultKey('key.socialInteractions', 'KEY_UNKNOWN');
// Set the default KeyBind with a Modifier
// void setDefaultKeyWithModifier(string keyName, string key, string modifier);
event.setDefaultKeyWithModifier('key.advancements', 'KEY_L', 'CONTROL');
// Move the KeyBind to a new category
// You can combine custom category names with a Language File (e.g. en_us.json > "key.categories.debug": "Debug")
// void setCategory(string keyName, string category);
event.setCategory('key.spectatorOutlines', 'key.categories.debug');
});
KeyBindExtendedEvents.categories(event => {
// List current Category Order
// By Default the only categories to order are the Vanilla Minecraft Categories
var categories = event.getCategoriesInOrder();
for(var i = 0; i < categories.size(); i++) {
console.log('Index: ' + i + '; Category: ' + categories.get(i));
}
// Set our custom Debug category to appear right after the Miscellaneous category
// void setDisplayIndex(string category, int index);
event.setDisplayIndex('key.categories.debug', 7);
});
Copyright © 2026 [SpokenWig620933]
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 7, 2026 10:21 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 7, 2026 10:21 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works