.minecraft

For the Bedrock Edition folder, se com.mojang.
Skabelon:Exclusive

`**.minecraft**` (or simply `**minecraft**` in macOS) is the folder *Minecraft: Java Edition* creates to run from. This folder includes the `.jar` files, sound, music, resource packs, personal options, worlds, etc.

## Locating `.minecraft`

.minecraft/path

Locating the `.minecraft` folder can be vital for installing a resource pack or locating any made screenshots.

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:

1. Click Start → Run. If you don't see "Run", press Skabelon:Key.
2. Type `%APPDATA%\.minecraft` and click "OK".

If you're a Mac user, you can open the folder through Spotlight:

1. Open Finder and press Skabelon:Key or open the Spotlight popup through the magnifying glass icon on the right of the Menu Bar.
2. Type `~/Library/Application Support/minecraft` and hit Skabelon:Key.

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 Skabelon:Key toggles the hidden status of files.

If you want to change directory of the `.minecraft` folder, see Tutorials/Custom Minecraft directory.

## `.minecraft` file hierarchy

* .minecraft
	+ assets
		- indexes
			* *version*.json
		- log\_configs
			* client-*version*.xml
		- objects
		- skinpacks
		- virtual
	+ bin
		- jinput.jar
		- lwjgl.jar
		- lwjgl\_util.jar
		- minecraft.jar (it is the client.jar for 1.5.2. The game doesn't use it after the launcher update, though; it uses the "versions" folder instead.)
		- natives
			* (.dll files)
		- [Random ID]
			* (.dll files)
	+ debug
		- *year*-*month*-*day*\_*hour*.*minute*.*second*.zip
			* deviations
				+ <tick\_number>@*year*-*month*-*day*\_*hour*.*minute*.*second*.txt
			* metrics
				+ eventloops.csv
				+ frame\_times\_ms\_.csv
				+ jvm.csv
				+ mailboxes.csv
				+ rendering\_chunk\_dispatching.csv
				+ rendering\_chunk\_stats.csv
				+ task\_total\_duration\_ms.csv
			* profiling.txt
	+ libraries
		- [Various libraries packaged per Maven convention (without POM files)]
	+ logs
		- *year*-*month*-*day*-*sessionNumber*.log.gz
		- latest.log
	+ resourcepacks
	+ saves
		- *worldName*
			* advancements
				+ *uuid*.json
			* data
				+ idcounts.dat
				+ map\_*id*.dat
				+ scoreboard.dat
				+ raids.dat
			* datapacks
			* DIM1
				+ data
					- raids\_end.dat
				+ poi
					- r.*x*.*z*.mca
				+ region
					- r.*x*.*z*.mca
			* DIM-1
				+ data
					- raids\_nether.dat
				+ poi
					- r.*x*.*z*.mca
				+ region
					- r.*x*.*z*.mca
			* generated
				+ *(namespace)*
					- structures
						* *name*.nbt
			* playerdata
				+ *uuid*.dat
			* poi
				+ r.*x*.*z*.mca
			* region
				+ r.*x*.*z*.mca
			* stats
				+ *uuid*.json
			* icon.png
			* level.dat
			* level.dat\_mcr
			* level.dat\_old
			* resources.zip
			* session.lock
	+ screenshots
		- *year*-*month*-*day*\_*hour*.*minute*.*second*.png (or, ...*second*\_*instance*.png)
	+ stats
		- stats\_*player*\_unsent.dat
		- stats\_*player*\_unsent.old
	+ texturepacks
	+ texturepacks-mp-cache
	+ versions
		- *version*
			* *version*.jar
			* *version*.json
	+ webcache
		- Cache
			* data\_0
			* data\_1
			* data\_2
			* data\_3
			* f\_<hexa>
		- Cookies
		- Cookies-journal
		- GPUCache
			* data\_0
			* data\_1
			* data\_2
			* data\_3
			* index
		- Visited Links
	+ debug.stitched\_items.png
	+ debug.stitched\_terrain.png
	+ hotbar.nbt
	+ lastlogin
	+ nativelog.txt (macOS only)
	+ nativeUpdaterLog.txt (macOS only)
	+ launcher\_cef\_log.txt
	+ launcher\_entitlements.json
	+ launcher\_gamer\_pics.json
	+ launcher\_msa\_credentials.json
	+ launcher\_profiles.json
	+ launcher\_settings.json
	+ launcher\_skins.json
	+ launcher\_ui\_state.json
	+ options.txt
	+ output-client.log
	+ output-server.log
	+ realms\_persistence.json
	+ servers.dat
	+ textures\_0.png
	+ textures\_1.png
	+ textures\_2.png
	+ textures\_3.png
	+ textures\_4.png
	+ usercache.json

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 or force clients to use the server resource pack.

For Windows OS and Linux, the contents of `nativelog.txt` and `nativeUpdaterLog.txt` can be found within `launcher_log.txt` when applicable (i.e. the contents of`nativeUpdaterLog.txt` will only be present in `latest_log.txt` after the launcher is updated / launched for the first time).

## History

Skabelon:History
Skabelon:History
Skabelon:History
Skabelon:History
Skabelon:History
Skabelon:History
Skabelon:History
Skabelon:History
Skabelon:History

## References

1. ↑ Minecraft snapshot 14w07a – Dinnerbone on mojang.com; February 14, 2014
2. ↑ "[MC-73716] Resources.zip doesn't work for servers (and possibly LAN worlds) - Jira" – Mojira, October 27, 2014.

Skabelon:Java Edition

de:.minecraft
es:.minecraft
fr:.minecraft
ja:.minecraft
ko:.minecraft
nl:.minecraft
pl:.minecraft
pt:.minecraft
ru:.minecraft
th:.minecraft
tr:.minecraft
uk:.minecraft
zh:.minecraft