Is there a way to alt-tab out of Minecraft (i.e. make Minecraft lose focus) without the game auto-pausing and without having to bring a menu (e.g. inventory) up first?
For single player, it seems that you've already figured out that bringing up the inventory screen prevents the game from auto-pausing when it loses focus. I don't believe there is any other way to prevent the auto pausing.
You may, however, consider hosting a SMP server and being the only person connected to it. In SMP, the game will not pause when you are alt-tabbed out. You can install mods on a SMP server that allow you to create user whitelists to define who you want to connect to your server. If you add only yourself to that list, you don't need to worry about anyone else connecting while you are playing.
Go into your minecraft folder and open up
options.txt. Find the line that reads
false. Now Minecraft won't pause to the menu screen when you tab away.
You can find your minecraft folder in a couple ways:
Using the file system: Navigate to...
~/Library/Application Support/minecraft/(on Mac OS X)
Using Minecraft's menus:
- Start Minecraft and click Options, Resource Packs, and then Open resource packs folder. In the file system window that opens, go up one folder and you'll be in your minecraft folder.
You can press F3+P to let the game not auto-pausing. Press F3+P again to re-enable it.
Since the update that merged the single- and multi-player code bases, you can press T to start typing in chat, which will let you tab out without pausing or hiding the game.
This answer is no longer relevant to current Minecraft versions, because F1 no longer hides menus; also, F1 is now a toggle and the tricks for holding it down are irrelevant.
Since you mention that your concern is that you can't see (as opposed to having the menu up at all), I have a fix for that: with the menu up, use F1 to hide it. Pressing F1 removes all HUD elements and leaves only the game view.
However, you have to hold down F1. There are several tricks for this to fool the game into thinking you have F1 down:
- Press F1 and switch out of Minecraft while holding it down. (Tested on Mac)
- Before releasing F1, press the Alt (Windows (and Linux?)) or ⌘ Command (Mac) keys.
- Mac-specific: If you have a system where you have to press fn-F1, just release F1 before fn.
Whilst all the other solutions look perfectly fine, I thought I'd add the method I use, when I want to not have the game pause, I hit esc, and "Open up to LAN". The game doesn;t pause then on focus loss.
here's how I did it, I was mining, in a map called Minevolution, I was in full screen mode and then, while holding down left click, I pressed F11 at the same time I let go of the left click button, and it continued to mine, then I just did the whole Alt+Tab thing to get out of it and it worked
If you just open a LAN connection the game no longer can be paused, even if you're in the game menu. A LAN connection only allows people to jump in if they are on the same internet connection, so it is pretty secure.
Changing the options is the best way to do it. In Multiplayer you can Alt-Tab and Automine while pressing T or Esc doesn't let you do anything while AFK.
protected by Frank♦ Mar 17 '15 at 14:38
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?