4

I've been playing Minecraft lately (mainly PvP), and I'd like to be able to bind my attack key to more than one key. For example, I'd like to make the attack key (that's currently the default left click on the mouse) to right click, also. Is there any way to do that, or any mod that will allow me to do so? Thanks in advance for answering!

4 Answers 4

2

Without getting into any mods, there is a creative way to do what I believe you're asking. Unfortunately Minecraft doesn't allow two key binds, but if you would like to attack twice as fast and with two different buttons, this is possible.

How?

Have two different mice. Like so: enter image description here Minecraft reads that you are hitting button 1 (attack button) twice even if it is from a different source. You will want to tape them together so that the movement is the same and your character isn't trying to turn two different ways!

This is easier if you have smaller mice, mine are rather large and are barely able to fit under my hand.

3
  • 1
    I may actually do that, that's amazing!
    – C. Perez
    Aug 4, 2016 at 2:42
  • You know there's an easier way than that. Just download X-Mouse Button Control. Just did and now both buttons are left click, just made my side buttons right click :D
    – C. Perez
    Aug 4, 2016 at 3:15
  • @Perez Well without downloads, it's pretty handy and you don't have to change controls
    – Jason_
    Aug 4, 2016 at 4:48
0

You could go to Options and change the control keys. For example, you could make the 1 and 2 keys both an attack key.

2
  • 1
    How would I do that? Each time I try it only allows one key.
    – C. Perez
    Aug 4, 2016 at 2:41
  • 1
    You can't do that with the options menu. The options let you assign a key to multiple functions, but you can't assign multiple keys to a single function.
    – user170887
    Dec 22, 2016 at 5:31
0

If you're playing on Linux, I added a key binding feature to hax11 (I also wanted this in Minecraft, but it will work with any game):

https://github.com/CyberShadow/hax11/commit/ba694c6619d90dbc54823368526dcc9e19d5ccbb

For example, I'd like to make the attack key (that's currently the default left click on the mouse) to right click, also.

To do this with hax11, install it, and in ~/.config/hax11/profiles/usr\lib\jvm\java-8-openjdk\jre\bin\java, add:

Enable=1
MapB3=B1
-1

download KeyBindingsOverhaul. It wil fix you problem.

2
  • 3
    Maybe provide a link to it and explain how it would fix the problem exactly?
    – Vemonus
    Dec 21, 2016 at 17:42
  • It doesn't look like this mod works with today's Minecraft versions any more. Apr 15, 2019 at 10:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .