Minecraft Wiki
Advertisement
For the Bedrock Edition folder, see com.mojang.
Information icon
This feature is exclusive to Java Edition. 

.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[]

Below is a table showing the default directory for .minecraft.

OS Location
Windows %APPDATA%\.minecraft
macOS ~/Library/Application Support/minecraft
Linux ~/.minecraft

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 ⊞ Windows + R.
  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 ⇧ Shift + ⌘ Command + G 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 ↵ 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.


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

.minecraft file hierarchy[]

List
  • .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
    • 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
    • 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.[1] This feature is single-player only;[2] 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 ofnativeUpdaterLog.txt will only be present in latest_log.txt after the launcher is updated / launched for the first time).

History[]

Java Edition Infdev
June 29, 2010Added level.dat_old
Java Edition Alpha
v1.0.11Added session.lock
Java Edition
1.1317w43aRemoved structure data.
Added datapacks folder.
1.1418w47aAdded raids.dat
19w13aRemoved villages.dat and added poi region files.

References[]


Advertisement