Mineuniverse
Log in Register
Mods

KeybindsTweaker

Crafttweaker addon for Keybinds
by blue_beaker
Download Claim this project
5,030 downloads
0 likes
Updated Jul 6, 2026
0 hypes
CraftTweaker

KeybindTweaker

A crafttweaker addon provides support for keybinds.

Currently adds these methods:

//Don't forget to import!
import crafttweaker.text.ITextComponent;

//Text component for keybinds  
//ITextComponent.fromKeybind(String name);
ITextComponent.fromKeybind("key.attack");

//Text component for scoreboard and entity selector  
//ITextComponent.fromScore(String entityName,String objective);
ITextComponent.fromScore("Developer","test_objective");

//ITextComponent.fromSelector(String name);
ITextComponent.fromSelector("@p");

Example:

Adds attack key to crafting table's tooltip

import crafttweaker.text.ITextComponent;
import crafttweaker.item.ITooltipFunction;
var kb1 = ITextComponent.fromKeybind("key.attack");
//Use advanced tooltip so tooltip updates after player changed the keybind
<minecraft:crafting_table>.addAdvancedTooltip(function(item) {   
    //Call formattedText to get text for the tooltip
    return kb1.formattedText;
});
keybindtweaker-1.0.jar
MC Client, Forge, Server, 1.12.2
Release 2024-08-26 Get

More from blue_beaker

Difficulty Patch
958
MTE Patches
90,291
Yet Another Sleep Voting
893
Backpack Display
84,846
Quests Tweaker
7,232
SilkTouch Patcher
688

You Might Also Like

Ender Tweaker
EnderIO + CraftTweaker
9,574,671
PackMode
Simple Mod-pack Utility to allow switching between PackModes
9,024,946
Zen Summoning
Allows for custom mob summoning with CraftTweaker
7,912,007
FTB Tweaks
This is a very simple mod that introduces the concept of game modes. For want of a better description this allows you to set up multiple minetweaker profiles and switch between them on the fly (no server restart required) This gives you the ability to...
7,191,034
CraftTweaker GUI
Allows editing and managing edited recipes for CraftTweaker
98,064
Fluid Interaction Tweaker
This is a CraftTweaker/GroovyScript addon that enables you to add more fluid interactions.
92,986