I got a new mouse. It has some extra buttons on the side, so I was thinking, how can I make this left click? Much to my dismay, mouse (a RedDragon Nirvana) has no software. My first idea was to use a program to switch the side button to the left button. After some research (about 30 minutes), I found xbindkeys. I had a lot of trouble setting this up, and after 1 hour of trial and error and some help from my friend, I managed to switch it. All is well? Not quite. This doesn't work with Minecraft because (unfortunately) Minecraft doesn't use X. I downloaded an autoclicker (not to be used on multiplayer) and bound it to the extra button (button 9). This does only really fast clicking, not one click, and even then, it is toggling, not oneclick.


I would like a Minecraft mod that allows for making click macros... It should click whenever I press the desired button (button 9), and not be bannable on servers (hypixel, antiac, etc.). Any ideas would be much appreciated!


I think, if I could get Minecraft to register input from xbindkeys or a similar application, it would work like a charm. I'd simply make button 9 trigger xte mouseclick 1 or xdotool click 1.


I am using Unix with a 64 bit architecture. As you can tell from the tags, I have Minecraft Java edition installed.

  • While you can definitely find click mods out there, click macros are basically always banned on Hypixel and similar servers for competitive/cheating reasons, so keep that in mind.
    – Sciborg
    Commented Jan 13, 2021 at 21:58
  • Okay... How would they ban me if I'm clicking naturally, just with a different button that can be subsituted for leftclick Commented Jan 13, 2021 at 22:03
  • It's not about what the macro does, it's the presence of the macro at all that would trip the system. I could be wrong but I believe most major servers can detect and flag mouse macros no matter their purpose.
    – Sciborg
    Commented Jan 13, 2021 at 22:14
  • @stackoverflowuser you can just set your minecraft keybinds for that
    – Topcode
    Commented Jan 13, 2021 at 23:18
  • @Sciborg you are partially wrong, servers on minecraft, unlike other multiplayer games dont actually have any access to software on your computer, they only receive packets or information telling them what the player is doing. this is why "utility mods" are very easy to make on minecraft and very hard on games like fortnite. servers do have anticheats that do work however, they just work in a much different way. if you click really really fast, you get a ban because the server says "thats impossible for a human to do" if you killaura it detects headspin and does the same.
    – Topcode
    Commented Jan 13, 2021 at 23:22

3 Answers 3


you can just use an autoclick program and set it up to activate and stop when you press the 9 key... https://www.opautoclicker.com/ this is an easy to use autoclicker, which I use (not in pvp servers...). You can also set it up to click how many times you want, how fast you want, left click/right click, single or double click... Really useful

  • Sorry... I cannot seem to find a Linux download. I am currently looking for a UNIX/Linux port. Please link any Linux downloads/ports down below. Commented Jan 16, 2021 at 15:41

You can set the side mouse button to the attack/destroy button in minecraft

  • Yes, but then, I wouldn't be able to left-click to attack, unless I rebound left click as attack... Commented Jan 14, 2021 at 14:45
  • Sorry for being unclear in the title/post previously, I believe I have fixed it now. Commented Jan 14, 2021 at 14:49

ON Windows, you can get AutoHotKey and make a simple script like this:


If that doesn't work switch out XButton1 for XButton2. This should do what you want without disabling left click.

  • AutoHotKey is not available on Unix-based OSes. Commented Jan 14, 2021 at 17:15
  • @RayWu according to wikipedia windows makes up 88% of OSes used globally. If they don't specify its pretty safe to assume windows
    – Penguin
    Commented Jan 14, 2021 at 17:18
  • The question states that they are using a Unix-like OS (xbindkeys, X, xdotool, xte) Commented Jan 14, 2021 at 17:33
  • Sorry. editing now Commented Jan 14, 2021 at 18:51
  • @Penguin @RayWu I am having some trouble installing AutoHotKey on Linux... I tried to do the command xbuild AutoHotKey.sln, but despite the message "Build succeeded", I cannot seem to find the AutoHotKey installation (i.e. AutoHotKey fails, and I can't find any binary files...) Commented Jan 24, 2021 at 18:47

You must log in to answer this question.

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