KeybindsTweaker
Modby blue_beaker
Crafttweaker addon for Keybinds
Type
Mod
CurseForge Downloads
5,198
CurseForge ID
1091295
Last Updated
Aug 15, 2026
Description
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; });Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Daily Boss x Bosses'Rise
Compatibility between Daily Boss and Bosses'Rise.
VO: Better Dogs
Enhances vanilla wolves with unique personalities (Aggressive, Pacifist, Normal), smarter AI, safety behaviors, and comb...
JEI Bookmark Sharing
Lets you share your JEI bookmarks to other players
Pepsi's Potted Farms
Build potted farms that harvest trees and other growables.
Ping to Map: Xaero's Minimap
Drop a temporary Xaero's Minimap waypoint the instant a teammate (or you) pings a spot with Ping Wheel. No prompt, no ed...
Unicorns & Legends: [1.20++,1.21++ Forge/neoforge]
Strange Unicorns & Pegasus in the world