|This feature is exclusive to Java Edition.|
.minecraft (or simply minecraft in macOS) is the folder Minecraft creates to run from. This folder includes the .jar files, sound, music, resource packs, personal options, worlds, etc.
Locating the .minecraft folder can be vital for installing a resource pack, or to locate any made screenshots.
Below is a table showing the default directory for .minecraft.
The Windows location in the table above is just the default case. Launchers can set the .minecraft at any path.
If you're a Windows user and are unfamiliar with how to find your appdata folder, follow these steps:
- Click Start → Run. If you don't see "Run", press ⊞ Windows+R.
%APPDATA%\.minecraftand click "OK".
If you're a Mac user, you can open the folder through Spotlight:
- Press ⌘ Command+Space or open the Spotlight popup through the magnifying glass icon in the right of the Menu Bar.
~/Library/Application Support/minecraftand hit ↵ Enter.
On Linux or macOS, the
~ in the path refers to the home directory. Folders starting with a
. are hidden by default. In most file managers, hitting Ctrl + H toggles their hidden status. In macOS specifically, since version 10.12 (Sierra), the shortcut ⌘ Command+⇧ Shift+. toggles the hidden status of files.
.minecraft file hierarchy
Use of a resource pack can be forced by naming its zip file to
resources.zip and placing it in the root folder of the world save. This feature is single-player only; however, there is another way for servers to ask clients if they want to use the server resource pack.
|Java Edition Infdev|
|June 29, 2010||Added |
|Java Edition Alpha|
|1.13||17w43a||Removed structure data.|
|Added datapacks folder.|