Option to define the category of a key binding

Submitted by Yanis48 on Thu, 11/15/2018 - 18:48
Issue description

Currently, all the key bindings you define are in the Miscellaneous category on the Controls menu.

I think it would be nice to choose the category we want, and even add new ones.

public KeyHandler() {
	keys = new KeyBinding("key.mcreator.foobar", Keyboard.KEY_FOOBAR, "key.categories.misc");
	ClientRegistry.registerKeyBinding(keys);
}

The category is defined with the 3rd argument. You can change it to another Minecraft category, and if it doesn't exist in vanilla, it will count it as a new category.

Issue comments

Submitted by Klemen on Thu, 11/15/2018 - 19:26

We will consider adding the selection of a category in future updates. Nice suggestion!