Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:.minecraft: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
Line 37: Line 37:
* {{File|directory|.minecraft}}
* {{File|directory|.minecraft}}
** {{File|directory|[[Minecraft:Commands/debug|debug]]}}
** {{File|directory|[[Minecraft:Commands/debug|debug]]}}
*** {{File|archive|''year''-''month''-''day''_''hour''.''minute''.''second''.zip}}
*** {{File|archive|''<year>''-''<month>''-''<day>''_''<hour>''.''<minute>''.''<second>''.zip}}
**** {{File|directory|deviations}}
**** {{File|directory|deviations}}
***** {{File|file|<tick_number>@''year''-''month''-''day''_''hour''.''minute''.''second''.txt}}
***** {{File|file|''<tick number>''@''<year>''-''<month>''-''<day>''_''<hour>''.''<minute>''.''<second>''.txt}}
**** {{File|directory|metrics}}
**** {{File|directory|metrics}}
***** {{File|file|eventloops.csv}}
***** {{File|file|eventloops.csv}}
Line 50: Line 50:
**** {{File|file|profiling.txt}}
**** {{File|file|profiling.txt}}
** {{File|directory|logs}}
** {{File|directory|logs}}
*** {{File|file|''year''-''month''-''day''-''sessionNumber''.log.gz}}
*** {{File|file|''<year>''-''<month>''-''<day>''-''<session number>''.log.gz}}
*** {{File|file|latest.log}}
*** {{File|file|latest.log}}
** {{File|directory|[[Minecraft:Resource pack|resourcepacks]]}}
** {{File|directory|[[Minecraft:Resource pack|resourcepacks]]}}
** {{File|directory|saves}}
** {{File|directory|saves}}
*** {{File|directory|[[Minecraft:Java Edition level format|''worldName'']]}}
*** {{File|directory|[[Minecraft:Java Edition level format|''<world name>'']]}}
**** {{File|directory|data}}
**** {{File|directory|data}}
*****{{File|directory|minecraft}}
*****{{File|directory|minecraft}}
Line 67: Line 67:
****** {{File|file|custom_boss_events.dat}}
****** {{File|file|custom_boss_events.dat}}
****** {{File|file|weather.dat}}
****** {{File|file|weather.dat}}
****** {{File|directory|''namespace''}}
****** {{File|directory|''<namespace>''}}
******* {{File|file|[[Minecraft:Command storage format|command_storage.dat]]}}
******* {{File|file|[[Minecraft:Command storage format|command_storage.dat]]}}
**** {{File|directory|[[Minecraft:Data pack|datapacks]]}}
**** {{File|directory|[[Minecraft:Data pack|datapacks]]}}
Line 79: Line 79:
********* {{File|file|[[Minecraft:world_border.dat]]}}
********* {{File|file|[[Minecraft:world_border.dat]]}}
******* {{File|directory|entities}}
******* {{File|directory|entities}}
******** {{File|file|[[Minecraft:Chunk format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Chunk format|r.''<x>''.''<z>''.mca]]}}
******* {{File|directory|{{Tooltip|poi|Villager identified beds, job sites, and bells}}}}
******* {{File|directory|{{Tooltip|poi|Villager identified beds, job sites, and bells}}}}
******** {{File|file|[[Minecraft:Java Edition level format#poi format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Java Edition level format#poi format|r.''<x>''.''<z>''.mca]]}}
******* {{File|directory|region}}
******* {{File|directory|region}}
******** {{File|file|[[Minecraft:Chunk format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Chunk format|r.''<x>''.''<z>''.mca]]}}
****** {{File|directory|[[Minecraft:the_end]]}}
****** {{File|directory|[[Minecraft:the_end]]}}
******* {{File|directory|data}}
******* {{File|directory|data}}
Line 92: Line 92:
********* {{File|file|[[Minecraft:world_border.dat]]}}
********* {{File|file|[[Minecraft:world_border.dat]]}}
******* {{File|directory|entities}}
******* {{File|directory|entities}}
******** {{File|file|[[Minecraft:Chunk format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Chunk format|r.''<x>''.''<z>''.mca]]}}
******* {{File|directory|{{Tooltip|poi|Villager identified beds, job sites, and bells}}}}
******* {{File|directory|{{Tooltip|poi|Villager identified beds, job sites, and bells}}}}
******** {{File|file|[[Minecraft:Java Edition level format#poi format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Java Edition level format#poi format|r.''<x>''.''<z>''.mca]]}}
******* {{File|directory|region}}
******* {{File|directory|region}}
******** {{File|file|[[Minecraft:Chunk format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Chunk format|r.''<x>''.''<z>''.mca]]}}
****** {{File|directory|[[Minecraft:the_nether]]}}
****** {{File|directory|[[Minecraft:the_nether]]}}
******* {{File|directory|data}}
******* {{File|directory|data}}
Line 104: Line 104:
********* {{File|file|[[Minecraft:world_border.dat]]}}
********* {{File|file|[[Minecraft:world_border.dat]]}}
******* {{File|directory|entities}}
******* {{File|directory|entities}}
******** {{File|file|[[Minecraft:Chunk format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Chunk format|r.''<x>''.''<z>''.mca]]}}
******* {{File|directory|{{Tooltip|poi|Villager identified beds, job sites, and bells}}}}
******* {{File|directory|{{Tooltip|poi|Villager identified beds, job sites, and bells}}}}
******** {{File|file|[[Minecraft:Java Edition level format#poi format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Java Edition level format#poi format|r.''<x>''.''<z>''.mca]]}}
******* {{File|directory|region}}
******* {{File|directory|region}}
******** {{File|file|[[Minecraft:Chunk format|r.''x''.''z''.mca]]}}
******** {{File|file|[[Minecraft:Chunk format|r.''<x>''.''<z>''.mca]]}}
**** {{File|directory|generated}}
**** {{File|directory|generated}}
***** {{File|directory|''namespace''}}
***** {{File|directory|''<namespace<''}}
****** {{File|directory|structures}}
****** {{File|directory|structures}}
******* {{File|file|[[Minecraft:Structure file|''name''.nbt]]}}
******* {{File|file|[[Minecraft:Structure file|''<name>''.nbt]]}}
**** {{File|directory|players}}
**** {{File|directory|players}}
***** {{File|directory|[[Minecraft:advancements]]}}
***** {{File|directory|[[Minecraft:advancements]]}}
****** {{File|file|''uuid''.json}}
****** {{File|file|''<uuid>''.json}}
***** {{File|directory|data}}
***** {{File|directory|data}}
****** {{File|file|[[Minecraft:Player.dat format|''uuid''.dat]]}}
****** {{File|file|[[Minecraft:Player.dat format|''<uuid>''.dat]]}}
****** {{File|file|''uuid''.dat_old}}
****** {{File|file|''<uuid>''.dat_old}}
***** {{File|directory|stats}}
***** {{File|directory|stats}}
****** {{File|file|''uuid''.json}}
****** {{File|file|''<uuid>''.json}}
**** {{File|file|icon.png}}
**** {{File|file|icon.png}}
**** {{File|file|[[Minecraft:Java Edition level format#level.dat format|level.dat]]}}
**** {{File|file|[[Minecraft:Java Edition level format#level.dat format|level.dat]]}}
Line 131: Line 131:
**** {{File|file|[[Minecraft:session.lock]]}}
**** {{File|file|[[Minecraft:session.lock]]}}
** {{File|directory|[[Minecraft:screenshots]]}}
** {{File|directory|[[Minecraft:screenshots]]}}
*** {{File|file|''year''-''month''-''day''_''hour''.''minute''.''second''.png}} (or, ...{{code|''second''_''instance''.png}})
*** {{File|file|''<year>''-''<month>''-''<day>''_''<hour>''.''<minute>''.''<second>''.png}} (or ''<…><second>''_''<instance>''.png)
** {{File|directory|stats}}
** {{File|directory|stats}}
*** {{File|file|stats_''player''_unsent.dat}}
*** {{File|file|stats_''<player>''_unsent.dat}}
*** {{File|file|stats_''player''_unsent.old}}
*** {{File|file|stats_''<player>''_unsent.old}}
** {{File|directory|[[Minecraft:Texture pack|texturepacks]]}}
** {{File|directory|[[Minecraft:Texture pack|texturepacks]]}}
** {{File|directory|texturepacks-mp-cache}}
** {{File|directory|texturepacks-mp-cache}}
Line 152: Line 152:
</div>
</div>


Use of a resource pack can be forced by renaming its ZIP file to {{cd|resources.zip}} and placing it in the root directory of the world save.<ref>[https://web.archive.org/web/20140221073128/https://www.mojang.com/2014/02/minecraft-snapshot-14w07a/ Minecraft snapshot 14w07a] – Dinnerbone on mojang.com; February 14, 2014</ref> This feature is single-player only;<ref>{{Cite bug|MC|73716|Resources.zip doesn't work for servers (and possibly LAN worlds)|date=October 27, 2014}}</ref> however, there is another way for servers to ask or force clients to use the server resource pack.
Use of a resource pack can be forced by renaming its ZIP file to {{cd|resources.zip}} and placing it in the root directory of the world save.<ref>[https://web.archive.org/web/20140221073128/https://www.mojang.com/2014/02/minecraft-snapshot-14w07a Minecraft snapshot 14w07a] – Dinnerbone on mojang.com; February 14, 2014</ref> This feature is single-player only;<ref>{{Cite bug|MC|73716|Resources.zip doesn't work for servers (and possibly LAN worlds)|date=October 27, 2014}}</ref> however, there is another way for servers to ask or force clients to use the server resource pack.


=== Launcher directory ===
=== Launcher directory ===

Revision as of 11:04, 27 September 2026

Template:For Template:Distinguish Template:Exclusive

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

Below is a table showing the default path of Template:File.

Operating system Location
Windows Template:Code
macOS Template:Code
Linux Template:Code

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

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

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

Template:HistoryTable

References

Template:Reflist

Navigation

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