Is there a way to bind a Minecraft command to a hotkey?
For example, I’d like a way to toggle between modes (survivla/creative) by pressing the Tab so that if I’m in a nasty pinch (like getting poisoned by a spider and being unable to fight back because the game suddenly lags really badly) and want to avoid losing a full inventory of valuables that I worked hard to get over the past five hours, I can quickly switch to creative mode.
I searched for a mod to do this and (surprisingly) came up empty; all I could find was the macro/keybind mod which requires LiteLoader and doesn’t seem to be able to bind arbitrary commands to keys.
The closest thing to a solution that I could find were suggestions to automate it with AutoHotkey, but that is no good because some keystrokes to get lost (probably due to the game’s CPU load), so pressing the hotkey will result in amemode 1
or /amemo 0
and such.
Is there a way to bind a command to a key so that it always works correctly?
You seem to have answered your own question
@dlras2, wow, so you’re saying that my “google-fu” and research skills are perfect and flawless? Good to know.