Community listing page, reviews may not be monitored by the author.
KeybindsTweaker
No reviews yet
Crafttweaker addon 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
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
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources