Playing Minecraft on PC with a Controller

Playing Minecraft on PC with a Controller
Photo by wu yi / Unsplash

As of 1.21.4, Minecraft for Windows and MacOS doesn't natively support controllers, so the best way I've found is to use a modded launcher, Fabric, and a mod called MidnightControls. Here's the process of setting that up:

Install the Fabric Launcher

  1. Download the launcher from fabricmc.net
  2. Click the big Download button to download Fabric Loader Installer (fabric-installer-x.x.x.exe)
  3. Copy the Launcher Location, we can use this to easily navigate to the folder.
  4. Run the installer, leave the options as default.
  5. Leave all the settings the same and click the Install button

If all goes well, it should say “Successfully Installed” afterward.

Install the Fabric API as a Mod

  1. Open a File Explorer window and paste in the Launcher Location in the url bar
  2. Open the mods folder
  3. Go back to fabricmc.net
  4. Click the Download Fabric API button.
  5. Select the first file listed, it should look like “[1.21.4] Fabric API …”
  6. Download the file (a .jar file) and put it in your mods folder

Install MidnightControls

  1. Go to modrinth.com/mod/midnightcontrols or google “MidnightControls minecraft” and select the first option
  2. Click the Download button, select the game version and Fabric for the platform and click on the Download button
  3. Move the .jar file for Midnight Controls to your mods folder

You should now have two files in your mods folder: Fabric and MidnightControls.

Verify Controller Support

Run the Minecraft Launcher and fabric-loader-1.21.4 should be selected as the launcher to the left of the PLAY button.

Try testing your controller by moving it around on the menu. If it moves, you should be good to go!