Minecraft:.minecraft
More actions
Template:For Template:Distinguish Template:Exclusive Template:Update
Template:File (or simply Template:File on macOS) is the game directory of Minecraft: Java Edition and the launcher directory of the Minecraft:Minecraft Launcher.
The game directory stores data managed by the game client, such as game configuration, Minecraft:worlds and Minecraft:resource packs. The launcher directory stores data managed by the launcher, such as its own configuration, the game client program, game libraries and assets. Those two directories, while technically distinct, are normally unified (in the default layout) into Template:File.
Location
Locating the Template:File directory may be necessary in order to load a Minecraft:resource pack for use in the game, or to locate any made Minecraft:screenshots.
The path in the table above is the default configuration. Launchers can place Template:File at any path.
On a Windows computer, the Template:File directory may be accessed by using the Run command (accessed with the Template:Key keyboard shortcut, or from the Start menu). It can also be accessed from Windows Explorer, by typing Template:Code into the address bar and pressing Template:Key.
On macOS, the game directory may be accessed by opening Finder, pressing Template:Key, typing Template:Code and pressing Template:Key. It can also be accessed via Spotlight.
On Linux or macOS, the Template:Code in the path refers to the home directory. Files starting with Template:Code are hidden by default. In most file managers, pressing Template:Key toggles viewing hidden files. In macOS specifically, since version 10.12 (Sierra), pressing Template:Key toggles viewing hidden files.
Changing location
Changing the game directory path can be done per installation in the Minecraft Launcher. Changing the launcher directory path can be done by using the Template:Code command-line parameter (see Minecraft:Tutorial:Custom Minecraft directory).
The default location of the game directory is the launcher directory, so changing the launcher directory is sufficient if it is desirable for both of them to be moved to another place.
Directory structure
The complete directory structure is a combination of the game directory and the launcher directory.
Game directory
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File (or, ...Template:Code)
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
Use of a resource pack can be forced by renaming its ZIP file to Template:Cd and placing it in the root directory of the world save.<ref>Minecraft snapshot 14w07a – Dinnerbone on mojang.com; February 14, 2014</ref> This feature is single-player only;<ref>Template:Cite bug</ref> however, there is another way for servers to ask or force clients to use the server resource pack.
Launcher directory
- Template:File
- Template:File: Contains game assets, provided to the game using the
--assetsDircommand line parameter.- Template:File
- Template:File: The asset index, provided to the game using the
--assetIndexcommand line parameter as the asset-id value only (it is not provided as a full path to the file, and the.jsonsuffix is left out).
- Template:File: The asset index, provided to the game using the
- Template:File
- Template:File
- Template:File .. Template:File: subdirectories containing the actual asset files: mainly sounds, music and language translations
- Template:File
- Template:File .. Template:File: subdirectories containing the actual asset files: skin images
- Template:File
- Template:File: legacy assets; used by pre-1.6 versions
- Template:File: additional legacy assets; used by pre-1.6 versions
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File: Minecraft:client.jar for launchers of 1.5.2 and older. The current launcher uses the Template:File directory instead.
- Template:File
- (native libraries)
- Template:File
- (native libraries)
- Template:File: Various Java libraries packaged per Maven convention (without POM files). Libraries appropriate for the launched version are picked by the launcher and provided to the game.
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File (macOS only)
- Template:File (macOS only)
- Template:File
- Template:File
- Template:File: Contains game assets, provided to the game using the
For Windows and Linux, the contents of Template:File and Template:File can be found within Template:File when applicable (i.e. the contents of Template:File is present only in Template:File after the launcher is updated or launched for the first time).
History
References
Template:Navbox Java Edition technical
Minecraft:de:.minecraft Minecraft:es:.minecraft Minecraft:fr:.minecraft Minecraft:it:.minecraft Minecraft:ja:.minecraft Minecraft:ko:.minecraft Minecraft:lzh:.minecraft Minecraft:nl:.minecraft Minecraft:pl:.minecraft Minecraft:pt:.minecraft Minecraft:ru:.minecraft Minecraft:th:.minecraft Minecraft:tr:.minecraft Minecraft:uk:.minecraft Minecraft:zh:.minecraft