KeybindsTweaker
No reviews yet
Crafttweaker addon for Keybinds
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
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
Resources
External Links
About
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;
});
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
Statistics
Resources