Community listing page, reviews here may not be monitored by the author.
KubeJS KeyBinds
No reviews yet
KubeJS extension for KeyBinds
Community voices
Reviews
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.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers